[Pkg-sysvinit-devel] Bug#542634: update-rc.d <service> defaults does not check *all* start/stop symlinks
Raoul Bhatia [IPAX]
r.bhatia at ipax.at
Thu Aug 20 14:45:19 UTC 2009
Package: sysv-rc
Version: 2.86.ds1-61
checking for the the runlevels where my service is started/stopped:
> root at c03n02 /etc # ls -ald rc*/*openai*
> lrwxrwxrwx 1 root root 24 2009-06-26 22:23 rc0.d/K20openais-legacy -> ../init.d/openais-legacy
> lrwxrwxrwx 1 root root 24 2009-06-26 22:23 rc1.d/K20openais-legacy -> ../init.d/openais-legacy
> lrwxrwxrwx 1 root root 24 2009-06-26 22:23 rc6.d/K20openais-legacy -> ../init.d/openais-legacy
ok, i now want to change back to the defaults
> root at c03n02 /etc # update-rc.d openais-legacy defaults
> System startup links for /etc/init.d/openais-legacy already exist.
removing the K* symlinks:
> root at c03n02 /etc # rm rc*.d/K20openais*
re-issue the command
> root at c03n02 /etc # update-rc.d openais-legacy defaults
> Adding system startup for /etc/init.d/openais-legacy ...
> /etc/rc0.d/K20openais-legacy -> ../init.d/openais-legacy
> /etc/rc1.d/K20openais-legacy -> ../init.d/openais-legacy
> /etc/rc6.d/K20openais-legacy -> ../init.d/openais-legacy
> /etc/rc2.d/S20openais-legacy -> ../init.d/openais-legacy
> /etc/rc3.d/S20openais-legacy -> ../init.d/openais-legacy
> /etc/rc4.d/S20openais-legacy -> ../init.d/openais-legacy
> /etc/rc5.d/S20openais-legacy -> ../init.d/openais-legacy
it is working now...
+++-====================-===================-=======================================
ii libc6 2.7-18 GNU C Library: Shared libraries
ii sysv-rc 2.86.ds1-61 System-V-like runlevel
change mechanism
ii sysvinit 2.86.ds1-61 System-V-like init utilities
cheers,
raoul
--
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc. email. r.bhatia at ipax.at
Technischer Leiter
IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at
Barawitzkagasse 10/2/2/11 email. office at ipax.at
1190 Wien tel. +43 1 3670030
FN 277995t HG Wien fax. +43 1 3670030 15
____________________________________________________________________
More information about the Pkg-sysvinit-devel
mailing list