Bug 395911

Summary: rsyslog ignores $AllowedSender if started before network
Product: [Fedora] Fedora Reporter: Mace Moneta <moneta.mace>
Component: rsyslogAssignee: Peter Vrabec <pvrabec>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: dkopecek, theinric
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-12-11 11:13:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mace Moneta 2007-11-22 17:25:54 UTC
Description of problem:

If rsyslog is started before the network comes up (for example, in a
NetworkManager environment), it will ignore $AllowedSender.  The rsyslog daemon
must be restarted after the network is active in order for $AllowedSender to be
honored.

Version-Release number of selected component (if applicable):

rsyslog-1.19.10-1.fc8

How reproducible:

Every time

Steps to Reproduce:
1. Switch from the network service to NetworkManager
2. Reboot.  Rsyslog starts before the network is active.
3. Try to send a message to rsyslog.  You will get:

rsyslogd:TCP message from disallowed sender <host> discarded
  
Actual results:

Message discarded

Expected results:

Message accepted and logged, once the network comes up.

Additional info: I've only tried this with TCP messages

Comment 1 Daniel Kopeček 2007-12-11 11:13:30 UTC
Patch applied upstream.

Comment 2 Peter Vrabec 2007-12-17 13:41:12 UTC
https://admin.fedoraproject.org/updates/F8/pending/rsyslog-1.19.11-2.fc8

patch was backported and there will be new rsyslog release available in 
testing soon. see "-q"/"-Q" option in man page.

Comment 3 Fedora Update System 2007-12-20 20:16:04 UTC
rsyslog-1.19.11-2.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update rsyslog'

Comment 4 Mace Moneta 2007-12-20 22:07:04 UTC
Confirming that the problem is resolved in this version.