Bug#459442: netatalk: Please add LSB formatted dependency info in init.d script

2008-03-30 Thread Petter Reinholdtsen
[Jonas Smedegaard]
 I need to go through all my 50+ packages anyway, due to a FTPBS problem 
 with the copyright-check routine I use in most of them. But thanks for 
 reminding me anyway :-)

Any progress with getting netatalk to include the dependency
information in init.d scripts?

I can NMU if you do not have time to fix it soon.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#459442: netatalk: Please add LSB formatted dependency info in init.d script

2008-03-24 Thread Petter Reinholdtsen
[Jonas Smedegaard]
 I need to go through all my 50+ packages anyway, due to a FTPBS
 problem with the copyright-check routine I use in most of them. But
 thanks for reminding me anyway :-)

No problem.  :)

We are down to about 150 packages (around 17%) with init.d scripts
without the dependency header at the moment, and you maintain four of
them (netatalk, icecast2, pop-before-smtp and rpld), and netatalk is
the most used of the remaining packages.  I hope this information can
make you increase the priority of the task.  Are you fine with me
NMUing the packages to solve the missing dependency issue?

 (and as you've probably noticed I didn't make it yesterday - I
 prioritized getting sugar initially packaged).

Yes.  And it is very good to see the core OLPC packages in Debian.  :)

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#459442: netatalk: Please add LSB formatted dependency info in init.d script

2008-03-09 Thread Petter Reinholdtsen
[Jonas Smedegaard 2008-03-08]
 Later today, hopefully.
 
 Thanks alot for pinging me!

Very good.  It is very good if you find time to fix it for the other
packages you maintain too (icecast2, pop-before-smtp and rpld)

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#459442: netatalk: Please add LSB formatted dependency info in init.d script

2008-03-09 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, Mar 09, 2008 at 11:11:43AM +0100, Petter Reinholdtsen wrote:
[Jonas Smedegaard 2008-03-08]
 Later today, hopefully.
 
 Thanks alot for pinging me!

Very good.  It is very good if you find time to fix it for the other
packages you maintain too (icecast2, pop-before-smtp and rpld)

I need to go through all my 50+ packages anyway, due to a FTPBS problem 
with the copyright-check routine I use in most of them. But thanks for 
reminding me anyway :-)

(and as you've probably noticed I didn't make it yesterday - I 
prioritized getting sugar initially packaged).


  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  - Enden er nær: http://www.shibumi.org/eoti.htm
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH08Pqn7DbMsAkQLgRAmm5AJ0ZMwGaMvpAxzWVcm7cTDK1HvXiKgCeN8DH
Fu5lkzITnICy7okdBCrq5O4=
=wSEF
-END PGP SIGNATURE-




Bug#459442: netatalk: Please add LSB formatted dependency info in init.d script

2008-03-08 Thread Petter Reinholdtsen

Hi.  Do you have any idea when this bug will be fixed?  netatalk is
one of the most used packages missing the LSB header.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#459442: netatalk: Please add LSB formatted dependency info in init.d script

2008-03-08 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, Mar 08, 2008 at 09:01:15AM +0100, Petter Reinholdtsen wrote:

Hi.  Do you have any idea when this bug will be fixed?  netatalk is one 
of the most used packages missing the LSB header.

Later today, hopefully.

Thanks alot for pinging me!


  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  - Enden er nær: http://www.shibumi.org/eoti.htm
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH0lf5n7DbMsAkQLgRAjBpAJ9mUkZ3W5qyHrbWKZgrISZLRIFImACfcD+n
J0bn89U+kP96bm2++8aVfp4=
=jQ7J
-END PGP SIGNATURE-




Bug#459442: netatalk: Please add LSB formatted dependency info in init.d script

2008-01-09 Thread Petter Reinholdtsen
[Jonas Smedegaard]
 You mean insserv, right?

insserv is the currently available implementation, yes.  But anything
can use the dependency information, when it is present and correct.

 I have used indsserv for quite some time now without problems on a
 lessdisks-based thin client system (but not on servers or fat
 workstations yet).

Great to hear. :)

 As the stop script do not seem to do anything except killing the
 daemons, that task might be better left to the sendsigs script in
 runlevel 0 and 6.  If this is indeed the case, I recommend removing 0
 and 6 from the Default-Stop list.
 
 Would you then suggest to also change the standard non-parallel 
 installation to only sysv stop routine at level 1?

Yes, if all the stop script is doing is to send a signal to the
daemon, and do not wait for the daemon to save any important state to
disk before dying.  The sendsigs script can do that faster and for
serveral daemons at once.  I posted about this to debian-devel in
URL: http://lists.debian.org/debian-devel/2008/01/msg7.html .

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#459442: netatalk: Please add LSB formatted dependency info in init.d script

2008-01-08 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Petter,

On Sun, Jan 06, 2008 at 04:00:12PM +0100, Petter Reinholdtsen wrote:
To be able to check boot script order, and also to be able to start
boot scripts in parallel, it is important to know the dependencies of
the various boot scripts.
[snip]
I am working on a system to update the boot sequence based on these
dependencies, and would like see this as the default in Lenny.


You mean insserv, right?

I have used indsserv for quite some time now without problems on a 
lessdisks-based thin client system (but not on servers or fat 
workstations yet).

Here is a patch to document the dependencies.  I hope this is correct.

Thanks. They are a good start at least.


+### BEGIN INIT INFO
+# Provides:  netatalk
+# Required-Start:$remote_fs $syslog
+# Required-Stop: $remote_fs $syslog
+# Default-Start: 2 3 4 5
+# Default-Stop:  0 1 6
+### END INIT INFO
 #
 # atalk Netatalk 2.x initscript
 #

As the stop script do not seem to do anything except killing the
daemons, that task might be better left to the sendsigs script in
runlevel 0 and 6.  If this is indeed the case, I recommend removing 0
and 6 from the Default-Stop list.

Would you then suggest to also change the standard non-parallel 
installation to only sysv stop routine at level 1?


  - Jonas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHgRr2n7DbMsAkQLgRAmtPAJ9GghcyencgrIUxs52eEZso1hiGkQCeN/xY
jjFA0U9r5z2Lt4xsrTYKJgY=
=b91p
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#459442: netatalk: Please add LSB formatted dependency info in init.d script

2008-01-06 Thread Petter Reinholdtsen

Package:  netatalk
Version:  2.0.3-7
Tags: patch
User: [EMAIL PROTECTED]
Usertags: missing-dependency

To be able to check boot script order, and also to be able to start
boot scripts in parallel, it is important to know the dependencies of
the various boot scripts.  The Linux Software Base specifies a init.d
header file format useful for this purpose, and adding such header to
the anacron init.d script would make it possible for me to use this
information to check the current sequence and to speed up the debian
boot.

I am working on a system to update the boot sequence based on these
dependencies, and would like see this as the default in Lenny.
Because of this, it is nice if the dependencies was updated quickly.

URL:http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html
documents the LSB header format.  Some debian notes are available from
URL:http://wiki.debian.org/?LSBInitScripts.

Here is a patch to document the dependencies.  I hope this is correct.

diff -ur netatalk-2.0.3.orig/distrib/initscripts/rc.atalk.debian.tmpl 
netatalk-2.0.3/distrib/initscripts/rc.atalk.debian.tmpl
--- netatalk-2.0.3.orig/distrib/initscripts/rc.atalk.debian.tmpl
2004-10-27 15:31:04.0 +0200
+++ netatalk-2.0.3/distrib/initscripts/rc.atalk.debian.tmpl 2008-01-06 
15:44:03.0 +0100
@@ -1,4 +1,11 @@
 #!/bin/sh
+### BEGIN INIT INFO
+# Provides:  netatalk
+# Required-Start:$remote_fs $syslog
+# Required-Stop: $remote_fs $syslog
+# Default-Start: 2 3 4 5
+# Default-Stop:  0 1 6
+### END INIT INFO
 #
 # atalk Netatalk 2.x initscript
 #

As the stop script do not seem to do anything except killing the
daemons, that task might be better left to the sendsigs script in
runlevel 0 and 6.  If this is indeed the case, I recommend removing 0
and 6 from the Default-Stop list.

Happy hacking,
--
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]