Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1053669

Summary: imuxsock - disabling the system log socket in configuration also disables all other sockets
Product: Red Hat Enterprise Linux 7 Reporter: Tomas Heinrich <theinric>
Component: rsyslogAssignee: Tomas Heinrich <theinric>
Status: CLOSED CURRENTRELEASE QA Contact: Aleš Mareček <amarecek>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: amarecek, dapospis, ksrot, pvrabec
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rsyslog-7.4.7-3.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 11:40:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch for the issue none

Description Tomas Heinrich 2014-01-15 15:36:12 UTC
Description of problem:
For some reason, disabling the system log socket also disables any other imuxsock socket.

Version-Release number of selected component (if applicable):
rsyslog-7.4.7-1.el7

How reproducible:
Always.


Steps to Reproduce:

$ cp /etc/rsyslog.conf{,.bck}
$ cat > /etc/rsyslog.conf <<EOF
$ModLoad imuxsock
$SystemLogSocketName /tmp/rssys.sock
$AddUnixListenSocket /tmp/rs1.sock
$OmitLocalLogging off
EOF
$ setenforce 0
$ systemctl restart rsyslog
$ ls /tmp/rs*.sock


Actual results:

With '$OmitLocalLogging off':
/tmp/rs1.sock  /tmp/rssys.sock
With '$OmitLocalLogging on':
ls: cannot access /tmp/rs*.sock: No such file or directory

Expected results:

With '$OmitLocalLogging on':
/tmp/rs1.sock

Comment 1 Tomas Heinrich 2014-01-16 12:27:07 UTC
The '$OmitLocalLogging on' is needed by default for the daemon not to interfere with systemd.
To work around this issue, the directive can be turned off if the location of the system socket is also changed using "$SystemLogSocketName <path>".

Comment 2 Tomas Heinrich 2014-01-20 16:10:32 UTC
Created attachment 852796 [details]
Patch for the issue

A patch for the issue has been sent upstream.

Comment 7 Ludek Smid 2014-06-13 11:40:44 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.