[GE issues] [Issue 3289] New - "load_sge_config.sh" usage output misses "directory"m and behaves wrong in case it's missing

reuti reuti at staff.uni-marburg.de
Sun Oct 24 14:15:42 BST 2010


http://gridengine.sunsource.net/issues/show_bug.cgi?id=3289
                 Issue #|3289
                 Summary|"load_sge_config.sh" usage output misses "directory"m 
                        |and behaves wrong in case it's missing
               Component|gridengine
                 Version|6.2u5
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|install
             Assigned to|dom
             Reported by|reuti






------- Additional comments from reuti at sunsource.net Sun Oct 24 06:15:41 -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\'

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=36&dsMessageId=289691

To unsubscribe from this discussion, e-mail: [issues-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list