Public bug reported:

Binary package hint: sysvinit

For some reason, /etc/rc2.d/S30gdm was missing on my system. However,
when running update-rc.d, this is what I got:

[EMAIL PROTECTED]:/etc/rc2.d# update-rc.d gdm defaults
 System startup links for /etc/init.d/gdm already exist.

This is not quite true, because one of the links were missing. I forced
update-rc.d to remove the links:

[EMAIL PROTECTED]:/etc/rc2.d# update-rc.d -f gdm remove
 Removing any system startup links for /etc/init.d/gdm ...
   /etc/rc0.d/K01gdm
   /etc/rc1.d/K01gdm
   /etc/rc3.d/S30gdm
   /etc/rc4.d/S30gdm
   /etc/rc5.d/S30gdm
   /etc/rc6.d/K01gdm

... and then I could regenerate the defaults:

[EMAIL PROTECTED]:/etc/rc2.d# update-rc.d gdm defaults
 Adding system startup for /etc/init.d/gdm ...
   /etc/rc0.d/K20gdm -> ../init.d/gdm
   /etc/rc1.d/K20gdm -> ../init.d/gdm
   /etc/rc6.d/K20gdm -> ../init.d/gdm
   /etc/rc2.d/S20gdm -> ../init.d/gdm
   /etc/rc3.d/S20gdm -> ../init.d/gdm
   /etc/rc4.d/S20gdm -> ../init.d/gdm
   /etc/rc5.d/S20gdm -> ../init.d/gdm

... this time creating the links in /etc/rc2,d.

I think this behaviour is non-sensical. If update-rc.d finds the links
are already there, it should check that all the links are indeed
correct.

The system runs a current pre-release hardy. The version of sysv-rc is
2.86.ds1-14.1ubuntu43  .

** Affects: sysvinit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[hardy] update-rc.d does not discover missing links
https://bugs.launchpad.net/bugs/217497
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to