openntpd 3.6.1_p1 has a new option -s to sync the time at startup. when -s is added to conf.d/ntpd:NTPD_OPTS, the init script complains about a syntax error. Culprit is line 32 which is missing -- to separate the start-stop daemon args from the executable args. Adding -- before ${NTPD_OPTS} fixes the problem. Reproducible: Always Steps to Reproduce: 1. emerge openntpd-2.6.1_p1 2. add -s to NTPD_OPTS 3. start /etc/init.d/ntpd, watch it complain Actual Results: root>/etc/init.d/ntpd start * Starting ntpd... start-stop-daemon: option requires an argument -- s Try `start-stop-daemon --help' for more information. * Failed to start ntpd Expected Results: start ntpd correctly :)
thanks, fixed in cvs