Description of problem: I have a deamon that rely on an environment variable, and I tried to set it in a '/etc/sysconfig/mydaemon' script, read in by my '/etc/init.d/mydaemon'. Using the 'daemon --user' function, I loose the environment I just set up, bacause of the 'su -c' command used. Do you think is possible to make daemon() to call 'su -m -c' instead? Is there any drawback? Thanks, Andrea Version-Release number of selected component (if applicable): All How reproducible: Always Steps to Reproduce: 1. export SOMEVAR='foobar' 2. daemon --user=you echo $SOMEVAR 3. Actual results: Expected results: Additional info:
Closing bugs on older, no longer supported, releases. Apologies for any lack of response. Please try to reproduce this on a current release, such as Fedora Core 4. If the issue persists, please open a new issue. Note that this moves to a new mechanism (runuser) to execute such commands.