FS#17129 - [openntpd] doesn't start when /var/run/openntpd is deleted (PATCH)
Attached to Project:
Community Packages
Opened by Johannes Dewender (JonnyJD) - Friday, 13 November 2009, 22:34 GMT
Last edited by Dan Griffiths (Ghost1227) - Saturday, 14 November 2009, 00:09 GMT
Opened by Johannes Dewender (JonnyJD) - Friday, 13 November 2009, 22:34 GMT
Last edited by Dan Griffiths (Ghost1227) - Saturday, 14 November 2009, 00:09 GMT
|
Details
Description:
http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/var.html /var/run [...] is valid until the system is next booted. So deleting /var/run/* on every boot or having this as tmpfs (like I do) is okay. However openntpd fails when /var/run/openntpd is missing with: fatal: stat: No such file or directory dispatch_imsg in main: pipe closed Lost child: child exited Terminating This can easily be fixed with testing and creating /var/run/openntpd in /etc/rc.d/openntpd I will attach a patch. Additional info: * package version(s) openntp 3.9p * config and/or log files etc. didn't change the default configuration of openntpd Steps to reproduce: (/etc/rc.d/openntpd stop) rm -r /var/run/openntpd /etc/rc.d/openntpd start I want to note, that a manual /usr/sbin/ntpd works, but "/usr/sbin/ntpd -s" not. See default /etc/config.d/openntdp. |
This task depends upon
Closed by Dan Griffiths (Ghost1227)
Saturday, 14 November 2009, 00:09 GMT
Reason for closing: Implemented
Saturday, 14 November 2009, 00:09 GMT
Reason for closing: Implemented