tags 541806 + patch
thanks

I had a look at this issue, and made a patch proposal to fix it.  To
make sure the package is installable also when no syslog server is
installed, I recommend to use a soft dependency on $syslog.  Also,
there is no init.d script in Debian that relates to the existing
time-daemon provide, so I recommend it is simply renamed to chrony to
avoid name conflicts and ensure a predictable provide from this
script.

The script need /usr/ mounted, so it should depend on $remote_fs, and
I assume the earlier proposals about starting after the network is up
and after the DNS server is operational is a good idea, and kept these
as optional dependencies.

Please apply this patch to the package to ensure a better start
position in the boot sequence. :)

diff -ur chrony-1.23/debian/init.d chrony-1.23-pere/debian/init.d
--- chrony-1.23/debian/init.d   2010-06-12 19:30:07.000000000 +0200
+++ chrony-1.23-pere/debian/init.d      2010-06-12 19:32:02.000000000 +0200
@@ -6,12 +6,14 @@
 # Modified for chrony by John Hasler <jhas...@debian.org> 1998-2008

 ### BEGIN INIT INFO
-# Provides:          time-daemon
-# Required-Start:    $local_fs
-# Required-Stop:     $local_fs
+# Provides:          chrony
+# Required-Start:    $remote_fs
+# Required-Stop:     $remote_fs
+# Should-Start:      $syslog $network $named
+# Should-Stop:       $syslog $network $named
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
-# Short-Description:  Controls chronyd NTP time daemon
+# Short-Description: Controls chronyd NTP time daemon
 # Description:       Chronyd is the NTP time daemon in the Chrony package
 #
 ### END INIT INFO

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to