A result of execution of startup script depends of the path it was called, i've posted a testcase below where ntpd ignores 'userid' option which is set in conf.d/ntpd. you can find some assumption about of this issue here: http://forums.gentoo.org/viewtopic-t-689744.html Reproducible: Always Steps to Reproduce: testcase: mad-cat etc # equery list openrc [ Searching for package 'openrc' in all categories among: ] * installed packages [I--] [ ~] sys-apps/openrc-0.2.2 (0) mad-cat etc # /etc/runlevels/default/ntpd start * Starting ntpd ... [ ok ] mad-cat etc # cat /etc/conf.d/ntpd # /etc/conf.d/ntpd # Options to pass to the ntpd process # Most people should leave this line alone ... # however, if you know what you're doing, feel free to tweak NTPD_OPTS="-u ntp:ntp" mad-cat etc # /etc/runlevels/default/ntpd stop * Stopping ntpd ... [ ok ] mad-cat etc # /etc/runlevels/default/ntpd start * Starting ntpd ... [ ok ] mad-cat etc # ps -p `pgrep ntpd` -o cmd CMD /usr/sbin/ntpd -p /var/run/ntpd.pid symlink /etc/runlevels/conf.d -> /etc/conf.d can be used as a workaround but i think result of execution should not depends of the path it was called. mad-cat etc # ln -sf /etc/conf.d /etc/runlevels/conf.d mad-cat etc # /etc/runlevels/default/ntpd stop * Stopping ntpd ... [ ok ] mad-cat etc # /etc/runlevels/default/ntpd start * Starting ntpd ... [ ok ] mad-cat etc # ps -p `pgrep ntpd` -o cmd CMD /usr/sbin/ntpd -p /var/run/ntpd.pid -u ntp:ntp
This should be fixed in git now. http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commitdiff;h=15f7e3b16f488dd841b6718c238d45caf09e345c
fixed in 0.2.3