hi
is there reason why rpm scripts (re)start services via full path?
there's /sbin/service, if's from rc-scripts what the packages should be
depending anyway
i'm writing this, because i've suffered not than once problem that apache is
started with inherited TMP or TMPDIR which is not writable to webserver user.
this is easy reproducable if you use sudo.
and /sbin/service does unset ALL enviroinment, except some neccessary ones:
# grep env /sbin/service
env -i LANG=$LANG PATH=$PATH TERM=$TERM "${SERVICEDIR}/${SERVICE}" start
other option would be to include this same thing into daemon() function in
rc-scripts.
--
glen
_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en