Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479714 - net-misc/openntpd - use /run instead of /var/run
Summary: net-misc/openntpd - use /run instead of /var/run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christoph Junghans (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: keepdir-var-run_lock 477714
  Show dependency tree
 
Reported: 2013-08-04 12:08 UTC by Piotr Karbowski (RETIRED)
Modified: 2013-08-20 15:36 UTC (History)
0 users

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 Piotr Karbowski (RETIRED) gentoo-dev 2013-08-04 12:08:03 UTC
When system stats, openntpd starts (according to rc.log) but after start it's crashed. running 'rc' or /etc/init.d/ntpd start also start it, no crash. It crash regardless its in boot or default runlevel.

In log I can only see:

Aug 04 13:58:01 [/etc/init.d/ntpd] start-stop-daemon: no matching processes found

But thats like it can't find process to kill on 'restart', not start.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-06 12:29:37 UTC
What I see is it's still using /var/run to store .pid files, and it even wants to put the log file there, so there is plenty of room for improvement here.
Comment 2 Christoph Junghans (RETIRED) gentoo-dev 2013-08-06 13:59:15 UTC
(In reply to Piotr Karbowski from comment #0)
> When system stats, openntpd starts (according to rc.log) but after start
> it's crashed. running 'rc' or /etc/init.d/ntpd start also start it, no
> crash. It crash regardless its in boot or default runlevel.
> 
> In log I can only see:
> 
> Aug 04 13:58:01 [/etc/init.d/ntpd] start-stop-daemon: no matching processes
> found
> 
> But thats like it can't find process to kill on 'restart', not start.
> 
> Reproducible: Always
Which version? Any error message?

(In reply to Jeroen Roovers from comment #1)
> What I see is it's still using /var/run to store .pid files, and it even
> wants to put the log file there, so there is plenty of room for improvement
> here.
emerge openntpd.init.d-20080406-r1 and have a try if changing pidfile and logfile in /etc/init.d/ntpd to /run helps something.
Comment 3 Piotr Karbowski (RETIRED) gentoo-dev 2013-08-20 15:20:05 UTC
Looks like it was something on my side.

fatal: client_query connect: Permission denied

After fixing my network-level issue openntpd no longer crash.

fwiw sorry that I did not included version, I did not got the bugzilla update mail too (gmail spam) so I forgot about this issue.
Comment 4 Christoph Junghans (RETIRED) gentoo-dev 2013-08-20 15:36:59 UTC
+*openntpd-20080406-r2 (20 Aug 2013)
+
+  20 Aug 2013; Christoph Junghans <ottxor@gentoo.org>
+  +files/openntpd.init.d-20080406-r2, +openntpd-20080406-r2.ebuild,
+  -openntpd-20080406-r1.ebuild:
+  use /run instead of /var/run (bug #479714#c1)
+