[BLFS Trac] #2444: /usr/sbin/ntpd is not running though it's running

BLFS Trac trac at linuxfromscratch.org
Wed Jan 16 10:38:53 PST 2008

#2444: /usr/sbin/ntpd is not running though it's running
 Reporter:  kratz00  |        Owner:  dnicholson at linuxfromscratch.org
     Type:  defect   |       Status:  assigned                       
 Priority:  normal   |    Milestone:  6.3                            
Component:  BOOK     |      Version:  SVN                            
 Severity:  normal   |   Resolution:                                 
 Keywords:           |  
Comment (by dnicholson at linuxfromscratch.org):

 The only problem with the second option is that if you don't use the
 pidfile directive or you change the location, we don't know about it in
 the initscript. We could try to scrape the location from ntp.conf in the
 initscript, but it could be pretty ugly. Something like:

 pidfile=$(awk '/pidfile/{if ($1 !~ /^#/) print $2}' /etc/ntp.conf)

Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2444#comment:4>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch

More information about the blfs-book mailing list