#2444: /usr/sbin/ntpd is not running though it's running
---------------------+------------------------------------------------------
 Reporter:  kratz00  |        Owner:  [EMAIL PROTECTED]
     Type:  defect   |       Status:  assigned                       
 Priority:  normal   |    Milestone:  6.3                            
Component:  BOOK     |      Version:  SVN                            
 Severity:  normal   |   Resolution:                                 
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by [EMAIL PROTECTED]):

 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
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to