Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/init.d/busybox-ntpd bug?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Tue Oct 11, 2016 7:05 pm    Post subject: /etc/init.d/busybox-ntpd bug? Reply with quote

i found that the busybox-ntpd service failed keeps popping up at boot. i have added it to the default runlevel. it works fine, if i manually restart the service. but that is after i login, by when the network is up.

i think busybox-ntpd service needs a hard-dependency on net. busybox-ntpd will understandably fail without net.

/etc/init.d/busybox-ntpd:
#!/sbin/openrc-run
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

command="/bin/busybox ntpd"
command_args="${NTPD_OPTS}"
pidfile="/var/run/ntpd.pid"

depend() {
        use net dns logger
        after ntp-client
}


perhaps that depend() section should have need net, instead of a use net? so i suggested to the maintainers on github, but i don't understand the gentoo formats or gentoo ways of doing things yet.
_________________
"Growth for the sake of growth is the ideology of the cancer cell." Edward Abbey
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum