[GE issues] [Issue 2957] New - A qmaster not running a root exits with return code 1 if a JSV script to start as user is configured

ernst Ernst.Bablick at sun.com
Wed Mar 18 10:00:48 GMT 2009


http://gridengine.sunsource.net/issues/show_bug.cgi?id=2957
                 Issue #|2957
                 Summary|A qmaster not running a root exits with return code 1 
                        |if a JSV script to start as user is configured
               Component|gridengine
                 Version|6.2u2
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P5
            Subcomponent|kernel
             Assigned to|ernst
             Reported by|ernst






------- Additional comments from ernst at sunsource.net Wed Mar 18 03:00:44 -0700 2009 -------
The qmaster exits with return code 1 when started as a user id other then root and a JSV script is configured with the prefix
<username>@/path_to_jsv_script. The qmaster messages file contains the following error line:
   you have to be root to become another user

While the error message is correct the qmaster deamon process should never exit unintentionally. The reason why it exits is, the function
sge_peopen_r() used by qmaster for JSV start contains a lot of "SGE_EXIT(NULL, 1);" calls

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

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



More information about the gridengine-users mailing list