Bug 1116864 - Please adopt /etc/rsyslog.d/listen.conf or remove it
Summary: Please adopt /etc/rsyslog.d/listen.conf or remove it
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rsyslog
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Heinrich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-07 13:40 UTC by Lennart Poettering
Modified: 2016-09-20 04:52 UTC (History)
5 users (show)

Fixed In Version: liblognorm-1.1.1-1.fc22
Clone Of:
Environment:
Last Closed: 2015-03-26 21:58:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lennart Poettering 2014-07-07 13:40:52 UTC
Since a long long time systemd has been shipping an rsyslog config snippet /etc/rsyslog.d/listen.conf, to ensure that rsyslog would get its data from the journal, so that it can benefit from log messages from stderr/stdout of daemons, from native journal messages and everything else.

To my knowledge rsyslog is nowadays capable of reading this information directly from the journal, hence the snippet is obsolete?

Either way, it should probably not be included in systemd anymore, but if it needs to stay it should move to rsyslog, so that only systems which have rsyslog installed get the file. 

With the next rawhide upload I will drop that file from the systemd package. If this file is still needed, please update rsyslog until then to include the file (or just the config line in it).

Current state:

# cat /etc/rsyslog.d/listen.conf 
$SystemLogSocketName /run/systemd/journal/syslog
# rpm -qf /etc/rsyslog.d/listen.conf 
systemd-208-19.fc20.x86_6

Thanks!

Comment 1 Tomas Heinrich 2014-07-07 14:15:26 UTC
Thanks for the heads up.

(In reply to Lennart Poettering from comment #0)
> To my knowledge rsyslog is nowadays capable of reading this information
> directly from the journal, hence the snippet is obsolete?

Yeah, it does so by default so listen.conf is not actively used.
Getting rid of the file would actually simplify couple of things (e.g. syntax changes).

> Either way, it should probably not be included in systemd anymore, but if it
> needs to stay it should move to rsyslog, so that only systems which have
> rsyslog installed get the file. 
> 
> With the next rawhide upload I will drop that file from the systemd package.
> If this file is still needed, please update rsyslog until then to include
> the file (or just the config line in it).

The nice thing about having a conf file provided by systemd is that if the location of the socket changes, configuration will be updated and things won't break. But I guess it's not worth the hassle.

After the update hits rawhide, I'll adjust rsyslog's configuration to provide some guidance for people wanting to use the socket anyway.

Comment 2 Jaroslav Reznik 2015-03-03 16:06:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 3 Fedora Update System 2015-03-20 21:04:38 UTC
liblognorm-1.1.1-1.fc22,rsyslog-8.8.0-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/liblognorm-1.1.1-1.fc22,rsyslog-8.8.0-2.fc22

Comment 4 Fedora Update System 2015-03-22 04:38:56 UTC
Package liblognorm-1.1.1-1.fc22, rsyslog-8.8.0-2.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing liblognorm-1.1.1-1.fc22 rsyslog-8.8.0-2.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-4405/liblognorm-1.1.1-1.fc22,rsyslog-8.8.0-2.fc22
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2015-03-26 21:58:48 UTC
liblognorm-1.1.1-1.fc22, rsyslog-8.8.0-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.