Problem with Centos 6.1

Peter Schober peter.schober at univie.ac.at
Tue Dec 20 16:58:49 GMT 2011


* Martins Purins <mpurins at gmail.com> [2011-12-20 13:10]:
> It seams I found something. May be its help for others.
> 
> 
> Pass -m to runuser, so the environment is not cleared. (#203010, #564093)
> 
> --- a/rc.d/init.d/functions
> +++ b/rc.d/init.d/functions
> @@ -260,7 +260,7 @@ daemon() {

I assume you're running shibd as non-root user? With the current
packages that's unsuported, IIRC (but of course can be made to work).

Also the change you made is invasive and will (1) change the behaviour
of completely unrelated software and (2) be overwritten by the next
update of the initscripts package, thereby breaking your shibd script.
At the very least make sure you have some other infrastructure in
place to re-apply those changes automatically, such as cfengine.
I'd rather change shibd's init-script specifically than change
/etc/rc.d/init.d/functions, e.g. by supplying your own version of
daemon() or calling your own definition of functions.

Other than that, glad you got it working.
-peter


More information about the users mailing list