Opened 9 years ago

Closed 8 years ago

#1273 closed defect (fixed)

IZ3289: "load_sge_config.sh" usage output misses "directory"m and behaves wrong in case it's missing

Reported by: reuti Owned by: Dave Love <d.love@…>
Priority: normal Milestone:
Component: sge Version: 6.2u5
Severity: Keywords: install
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=3289]

        Issue #:      3289             Platform:     All      Reporter: reuti (reuti)
       Component:     gridengine          OS:        All
     Subcomponent:    install          Version:      6.2u5       CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    dom (dom)
      QA Contact:     dom
          URL:
       * Summary:     "load_sge_config.sh" usage output misses "directory"m and behaves wrong in case it's missing
   Status whiteboard:
      Attachments:

     Issue 3289 blocks:
   Votes for issue 3289:


   Opened: Sun Oct 24 06:15:00 -0700 2010 
------------------------


The first mandatory argument to the script "load_sge_config.sh" is the name of the directory with the old configuration. This option is not
listed in the output:

Usage: load_sge_config.sh [-log I|W|C] [-mode upgrade|copy] [-newijs true|false] [-execd_spool_dir <value>] [-admin_mail <value>]
[-gid_range <integer_range_value>] [-help]

When this first argument it not a directory, the execution should stop. Instead due to the executed "shift" in the script, follow up options
will be interpreted in the wrong way as they are forwarded to other commands:

$ /usr/sge/util/upgrade_modules/load_sge_config.sh -log I
cp: invalid option -- o
Try `cp --help' for more information.
chmod: cannot access `/tmp/sge_backup_2010-10-24_15:13:13/*': No such file or directory
Invalid argument \'I\'

Change History (1)

comment:1 Changed 8 years ago by Dave Love <d.love@…>

  • Owner set to Dave Love <d.love@…>
  • Resolution set to fixed
  • Status changed from new to closed

In [3607/sge]:

Fix #1273 (IZ3289): bad load_sge_config.sh usage message and check

Note: See TracTickets for help on using tickets.