Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363051 - net-misc/openntpd-3.9_p1-r3 doesn't seem to create NTPD_HOME path
Summary: net-misc/openntpd-3.9_p1-r3 doesn't seem to create NTPD_HOME path
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords:
: 432598 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-11 08:25 UTC by Dirkjan Ochtman (RETIRED)
Modified: 2012-12-16 14:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirkjan Ochtman (RETIRED) gentoo-dev 2011-04-11 08:25:49 UTC
After upgrading from -r1:

djc@turing ~ $ sudo /etc/init.d/ntpd restart
 * Caching service dependencies ...                                       [ ok ]
 * Stopping ntpd ...                                                      [ ok ]
mkdir: cannot create directory `/var/lib/openntpd/chroot': No such file or directory
 * Starting ntpd ...
^C^C^C^CLost child: child exited
Terminating
 * Failed to start ntpd                                                   [ !! ]
 * ERROR:  ntpd caught an interrupt
Comment 1 Peter Gantner (a.k.a. nephros) 2011-04-18 12:51:45 UTC
Also, this path is settable via NTPD_HOME in /etc/conf.d/ntpd, but hardcoded in the init script.

doing this:

-        checkpath -d -o 0:0 /var/lib/openntpd/chroot
+        checkpath -d -o 0:0 ${NTPD_HOME}

should hopefully fix both.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-04-26 16:37:37 UTC
(In reply to comment #0)

> mkdir: cannot create directory `/var/lib/openntpd/chroot': No such file or
> directory

I've seen that too but it seems to work anyway in the end.
Comment 3 hal 2011-06-12 14:35:58 UTC
I can confirm the solution in comment1 solves the problem on my system.
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-06-13 07:20:57 UTC
Yeah, the solution in comment 1 seems sane.
Comment 5 Krzysztof Pawlik (RETIRED) gentoo-dev 2011-08-13 15:39:26 UTC
Fixed in openntpd-3.9_p1-r4.
Comment 6 Pacho Ramos gentoo-dev 2012-12-16 14:32:35 UTC
*** Bug 432598 has been marked as a duplicate of this bug. ***