Il 03/12/18 12:53, Alessandro Selli ha scritto: > On 03/12/18 at 11:30, Edward Bartolo wrote: >> Running "update-rc.d rsyslog disable 2" resulted in error messages >> like the following: >> >> ERROR MESSAGE: >> insserv: warning: current start runlevel(s) A of script 'rsyslog' >> overrides LSB defaults B >> >> There were four lines with similar text but with A and B as follows: >> a) A = (3 4 5); B = (2 3 4 5) >> b) A = (0 1 2 6); B= (0 1 6) >> c) A = (3 4 5); B = (2 3 4 5) >> d) A = (0 1 2 6); B = (0 1 6) >> >> Is this Ok? > > Yes, they're just warnings (I take the line "ERROR MESSAGE:" line is > not from the output of update-rc.d). > > > On my system, for instance: > > > [root@wkstn02 ~]# ls /etc/rc?.d/???atd > /etc/rc0.d/K01atd /etc/rc2.d/S03atd /etc/rc4.d/S03atd /etc/rc6.d/K01atd > /etc/rc1.d/K01atd /etc/rc3.d/S03atd /etc/rc5.d/S03atd > [root@wkstn02 ~]# update-rc.d atd disable 2 3 > * service atd removed from runlevel default > insserv: warning: current start runlevel(s) (4 5) of script `atd' overrides > LSB defaults (2 3 4 5). > insserv: warning: current stop runlevel(s) (0 1 2 3 6) of script `atd' > overrides LSB defaults (0 1 6). > insserv: warning: script 'savecache' missing LSB tags and overrides > [root@wkstn02 ~]# ls /etc/rc?.d/???wdm > /etc/rc0.d/K01wdm /etc/rc2.d/S04wdm /etc/rc4.d/S04wdm /etc/rc6.d/K01wdm > /etc/rc1.d/K01wdm /etc/rc3.d/S04wdm /etc/rc5.d/S04wdm > [root@wkstn02 ~]# > > > Please note that the service atd was disabled on runlevels 2 and 3 only.
Sorry, I issued the wrong command: [root@wkstn02 ~]# ls /etc/rc?.d/???atd [root@wkstn02 ~]# /etc/rc0.d/K01atd /etc/rc2.d/K01atd /etc/rc4.d/S03atd /etc/rc6.d/K01atd /etc/rc1.d/K01atd /etc/rc3.d/K01atd /etc/rc5.d/S03atd [root@wkstn02 ~]# To put everything like before: [root@wkstn02 ~]# update-rc.d atd enable 2 3 * service atd added to runlevel default insserv: warning: script 'savecache' missing LSB tags and overrides [root@wkstn02 ~]# ls /etc/rc?.d/???atd /etc/rc0.d/K01atd /etc/rc2.d/S03atd /etc/rc4.d/S03atd /etc/rc6.d/K01atd /etc/rc1.d/K01atd /etc/rc3.d/S03atd /etc/rc5.d/S03atd [root@wkstn02 ~]# Bye, -- Alessandro Selli <[email protected]> VOIP SIP: [email protected] Chiave firma e cifratura PGP/GPG signing and encoding key: BA651E4050DDFC31E17384BABCE7BD1A1B0DF2AE
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Dng mailing list [email protected] https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
