You are not logged in.

#1 2013-03-13 09:29:44

suawek
Member
Registered: 2013-03-13
Posts: 1

rsyslogd refuses to start after pacman upgrade

Hello,

After last pacman upgrade rsyslog refused to start.
This also caused boot problems - systemd would go into infinite loop trying to start rsyslog and failing miserably.
I've disabled rsyslog.service from chroot environment and booted from disk - it helped.

I've also noticed that latest package version (  rsyslog-7.2.6-4-x86_64)  does not ship with /etc/rsyslog.conf, so
upgrading to it removes this file which is why rsyslog refused to start
Downgrading, copying file elsewhere and moving it back to /etc/rsyslog.conf is a simple workaround.
Previous package versions had this file inside ( I checked rsyslog-7.2.4-1 and rsyslog-7.2.6.1, both for x64)

Hope that helps someone.

Should I perform anny additional steps to resolve this issue ( e.g open a bug ? )

Thanks for any help!

Offline

#2 2013-03-13 11:19:33

x33a
Forum Moderator
Registered: 2009-08-15
Posts: 3,349
Website

Re: rsyslogd refuses to start after pacman upgrade

If you are sure that the latest version needs to ship with the rsyslog.conf, but it is not packaged, perhaps it is an error by the maintainer. You should open a bug report.

Offline

#3 2013-03-13 15:48:58

fvsc
Member
From: Antwerp, Belgiun
Registered: 2009-10-31
Posts: 11

Re: rsyslogd refuses to start after pacman upgrade

I had the same problem but I have a rsyslog.conf.pacnew and rsyslog.conf.pacsave in /etc

I cp /etc/rsyslog.conf.pacsave to /etc/rsyslog.conf and systemctl stop / start rsyslog.service was OK.

Kind regards

Offline

#4 2013-03-13 16:58:42

x33a
Forum Moderator
Registered: 2009-08-15
Posts: 3,349
Website

Re: rsyslogd refuses to start after pacman upgrade

@ fvsc, that's exactly why it seems like a packaging bug.

Offline

#5 2013-03-14 23:14:32

misc
Member
From: Bavaria, Germany
Registered: 2010-03-22
Posts: 112

Re: rsyslogd refuses to start after pacman upgrade

The package was changed with 7.2.6-4 to copy rsyslog-example.conf to /usr/share/doc/rsyslog/ rather than as configuration to /etc.

Probably because the rsyslog devs apparently changed it in a way that causes the program to instantly go into an infinite loop.

Since it won't start at all without /etc/rsyslog.conf present, I just copied the default Debian ships 7.2.6 with (available in here). Works properly so far.

Last edited by misc (2013-03-14 23:16:19)

Offline

Board footer

Powered by FluxBB