Re: removed start links are back after upgrade

2005-01-12 Thread Erik Schanze
Will Lowe [EMAIL PROTECTED]:
 Given that this comes up so often, is there a reason not to add an
 option to update-rc.d that does this?  The problem here is that
 remove sounds like disable this.

 I'm thinking have update-rc.d -f foo disable do the same thing as
 update-rc.d -f foo remove  update-rc.d foo stop stop 0, and
 clearly document this in the manual page, so that sysadmins can do
 what they think they're doing when they use remove.

A very good idea, but Bug #67095 is unfortunately tagged wontfix.
He suggested using sysv-rc-conf, but then I have to install additional 
packages libcurses-perl, libcurses-ui-perl and libterm-readkey-perl which I 
didn't used before.
That's not my understanding of one task, one tool. 


Kindly regards,
Erik


-- 
 www.ErikSchanze.de *
 Bitte keine HTML-E-Mails! No HTML mails, please! Limit: 100 kB *
  * Linux-Info-Tag in Dresden, am 29. Oktober 2005  *
 Info: http://www.linux-info-tag.de *


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



Re: removed start links are back after upgrade

2005-01-12 Thread Olaf Conradi
On Wed, 12 Jan 2005 23:55:03 +0100, Erik Schanze [EMAIL PROTECTED] wrote:
 Will Lowe [EMAIL PROTECTED]:
  I'm thinking have update-rc.d -f foo disable do the same thing as
  update-rc.d -f foo remove  update-rc.d foo stop stop 0, and
  clearly document this in the manual page, so that sysadmins can do
  what they think they're doing when they use remove.
 
 A very good idea, but Bug #67095 is unfortunately tagged wontfix.
 He suggested using sysv-rc-conf, but then I have to install additional
 packages libcurses-perl, libcurses-ui-perl and libterm-readkey-perl which I
 didn't used before.
 That's not my understanding of one task, one tool.

Then use rcconf which has less dependencies (perl and whiptail).

It does exactly as suggested above:
* remove existing symlinks
* add stop with priority 0
* remember original priorities when enabling them later on

And the last point is actually very convenient. So I don't really see
the added value in a disable function for update-rc.d, because
update-rc.d doesn't remember the priorities.

http://packages.debian.org/unstable/admin/rcconf

 -Olaf


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