Bug 395911 - rsyslog ignores $AllowedSender if started before network
Summary: rsyslog ignores $AllowedSender if started before network
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: rsyslog
Version: 8
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-22 17:25 UTC by Mace Moneta
Modified: 2007-12-20 22:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-12-11 11:13:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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