[Pkg-gridengine-devel] Bug#560735: gridengine-exec: PID file is not created by sge_execd due to lack of permission

Yaroslav Halchenko debian at onerussian.com
Fri Dec 11 20:20:32 UTC 2009


Package: gridengine-exec
Version: 6.2u4-1~lenny.nd1
Severity: important


Thanks for wrapping up a new version!

While testdriving it I've mentioned a problem that I could not stop sge_execd
using init.d script.

Reason is:

I guess, different from previous version, sge_execd creates PID
whenever it is already running as sgeadmin, hence

/tmp/111.9960:creat("/var/run/gridengine-execd.pid", 0644) = -1 EACCES (Permission denied)
/tmp/111.9960:open("/var/run/gridengine-execd.pid", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied)

Possible workaround which should have worked (and which I think is the
way to go in general for all gridengine's daemons):

export SGE_EXECD_PIDFILE=/var/run/gridengine/execd.pid

where /var/run/gridengine is owned by gridadmin

BUT patch debian/patches/040-pidfile-handling.diff does not take care about
SGE_EXECD_PIDFILE variable while creating pidfile. It just takes it into
account while removing it.


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gridengine-exec depends on:
ii  debconf [debconf-2.0]  1.5.24            Debian configuration management sy
ii  gridengine-common      6.2u4-1~lenny.nd1 Distributed resource management - 
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libssl0.9.8            0.9.8g-15+lenny5  SSL shared libraries
ii  tcsh [c-shell]         6.14.00-7         TENEX C Shell, an enhanced version

Versions of packages gridengine-exec recommends:
ii  openssh-server                1:5.1p1-5  secure shell server, an rshd repla

gridengine-exec suggests no packages.

-- debconf information:
* shared/gridenginemaster: sgemaster
* shared/gridenginecell: default
* shared/gridengineconfig: true





More information about the Pkg-gridengine-devel mailing list