Bug#731742: [Pkg-systemd-maintainers] Bug#731742: systemd will not start syslog.socket. This causes rsyslogd to not start

georg at riseup.net georg at riseup.net
Mon Jan 11 13:27:59 GMT 2016


On Fri, 11 Dec 2015 16:26:12 +0100 Michael Biebl <biebl at debian.org> wrote:
> On Thu, 6 Mar 2014 10:08:27 -0500 Eric Cooper <ecc at cmu.edu> wrote:
> > On Thu, Mar 06, 2014 at 06:20:54AM +0100, Michael Biebl wrote:
> > > Ah good, we are finally getting somewhere. Could you try to
> > > compare the date of the /etc/systemd/system/syslog.service symlink
> > > with you dpkg.log. If you find a match, please also check, which
> > > version of i-s-h was installed then.
> > 
> > Unfortunately, I already did a "systemctl disable rsyslog" and then
> > "systemctl enable rsyslog" to recreate the symlink in
> > multi-user.target.wants/.
> > 
> > The good news is that fixed my problem, but I no longer have the
> > metadata you're asking for.
> 
> Given this, I'm going to close this old bug report.
> 
> Feel free to reopen, if you run into this issue again.

Sorry to do this, but I've just run into the same problem while doing a
dist-upgrade from wheezy to jessie.

After doing a reboot:

# systemctl daemon-reload
# systemctl restart syslog.service 
Failed to restart syslog.service: Unit syslog.service failed to load: No
such file or directory.

# systemctl disable rsyslog
Synchronizing state for rsyslog.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d rsyslog defaults
Executing /usr/sbin/update-rc.d rsyslog disable
insserv: warning: current start runlevel(s) (empty) of script `rsyslog' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `rsyslog' overrides LSB defaults (0 1 6).
# systemctl enable rsyslog.service 
Synchronizing state for rsyslog.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d rsyslog defaults
insserv: warning: current start runlevel(s) (empty) of script `rsyslog' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `rsyslog' overrides LSB defaults (0 1 6).
Executing /usr/sbin/update-rc.d rsyslog enable
Created symlink from /etc/systemd/system/syslog.service to /lib/systemd/system/rsyslog.service.
[Please note: This symlink was missing before.]

# systemctl status rsyslog.service 
● rsyslog.service - System Logging Service
   Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled)
   Active: inactive (dead)
     Docs: man:rsyslogd(8)
           http://www.rsyslog.com/doc/
# systemctl restart syslog.service
# systemctl status syslog.socket 
● syslog.socket - Syslog Socket
   Loaded: loaded (/lib/systemd/system/syslog.socket; static)
   Active: active (running) since Mon 2016-01-11 02:42:50 CET; 6s ago
     Docs: man:systemd.special(7)
           http://www.freedesktop.org/wiki/Software/systemd/syslog
   Listen: /run/systemd/journal/syslog (Datagram)

I didn't had the time to debug this further yet, but I suspect, that
during dist-upgrade, the symlink isn't created correctly / at all.

Thats all for the moment,
Georg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20160111/3764a6a5/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list