Re: update-rc.d multiuser is deprecated

2008-07-02 Thread Martin Pitt
Scott James Remnant [2008-06-05 15:10 +0100]:
 Doesn't defaults use the LSB script headers?  So if you change the LSB
 script headers, you can revert the update-rc.d call to defaults ?

Ah, a second look uncovered it. LSB header parsing is enabled by
creating a flag file /etc/update-rc.d-lsbparse (or changing the
respective code in update-rc.d). We could actually do that for
intrepid, unless we will throw all of rc?.d/ away anyway in favor of
some upstart scripts.

In any case, the LSB headers should be changed accordingly in Ubuntu
and Debian (i. e. Default-Stop: 1 instead of 0 1 6) and patches
sent to Debian should include this change.

Thanks,

Martin
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


signature.asc
Description: Digital signature
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: update-rc.d multiuser is deprecated

2008-06-10 Thread Martin Pitt
Hi Scott,

Scott James Remnant [2008-06-05 15:10 +0100]:
 Doesn't defaults use the LSB script headers?  So if you change the LSB
 script headers, you can revert the update-rc.d call to defaults ?

Indeed it would be nice if it did, but I just tested it in Debian
unstable, and even with Default-Stop: 1 I get 0 and 6 symlinks.

However, the code means to do exactly that, so it sounds like a bug.
I'll have a closer look at this.

Thanks,

Martin
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


signature.asc
Description: Digital signature
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: update-rc.d multiuser is deprecated

2008-06-05 Thread Scott James Remnant
On Thu, 2008-06-05 at 09:49 +0200, Martin Pitt wrote:

 We do not want to carry this delta forever, so I would like to ask all
 of you to drop the usage of multiuser and call update-rc.d with
 manual arguments from now on. Some examples:
 
   Old: multiuser 
   New: start 20 2 3 4 5 . stop 20 1 .
   
   Old: multiuser 10
   New: start 10 2 3 4 5 . stop 10 1 .  # [2]
   
   Old: multiuser 20 80
   New: start 20 2 3 4 5 . stop 80 1 .
 
 
 While you are at it, please do the corresponding change in the LSB
 init script header as well: Default-Stop: 0 1 6 - Default-Stop: 1.
 
Doesn't defaults use the LSB script headers?  So if you change the LSB
script headers, you can revert the update-rc.d call to defaults ?

Scott
-- 
Scott James Remnant
[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss