Opened 11 years ago

Closed 11 years ago

#1273 closed defect (fixed)

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

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


[Imported from gridengine issuezilla]

        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
       * Summary:     "" usage output misses "directory"m and behaves wrong in case it's missing
   Status whiteboard:

     Issue 3289 blocks:
   Votes for issue 3289:

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

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

Usage: [-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/ -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 11 years ago by Dave Love <…>

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

In [3607/sge]:

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

Note: See TracTickets for help on using tickets.