#588577 gridengine-master: separate out DAEMON_ARGS between different daemons

Package:
gridengine-master
Source:
gridengine
Description:
Distributed resource management - Master Server
Submitter:
Yaroslav Halchenko
Date:
2010-07-09 20:27:03 UTC
Severity:
normal
#588577#5
Date:
2010-07-09 20:04:04 UTC
From:
To:
Both exec and master use the same config file and both use the same
variable DAEMON_ARGS to provide additional arguments to the daemons:

root@head1:/etc/gridengine# grep -e DAEMON_ARGS -e etc/default /etc/init.d/gridengine-*
/etc/init.d/gridengine-exec:[ -r /etc/default/gridengine ] && . /etc/default/gridengine
/etc/init.d/gridengine-exec:        $DAEMON_ARGS \
/etc/init.d/gridengine-master:[ -r /etc/default/gridengine ] && . /etc/default/gridengine
/etc/init.d/gridengine-master:        $DAEMON_ARGS \

that makes it impossible to specify per daemon arguments.  I guess it would be
logical to use SGE_MASTERD_ARGS and SGE_EXECD_ARGS

I thought to enable
     -lj log_file
          Enables job logging. All actions taken  by  sge_qmaster
          from  submit  to  job  exit are logged to the log_file.
          This feature is also available  with  the  sge_execd(8)
          daemon.

and since it would require specification of the file name -- if I specify it in
common DAEMON_ARGS, there would be collission.

BTW -- altogether, why not to provide
/usr/local/gridengine
and corresponding logrotate configuration and hint in
/etc/default/gridengine about easy possibility to enable
to enable such log files?
P.S. sorry for mixing in additional wishlist ;-)

Cheers,

#588577#10
Date:
2010-07-09 20:24:13 UTC
From:
To:
disregard wishlist for -lj since apparently I've managed to run into it from
outdated manpage... BUT what is funny, code of execd still has support for it,
although seems not to be working correctly -- execd just loops for
eternity if -lj is provided. see sge_parse_cmdline_execd.

just FYI ;-)