Hide Forgot
Description of problem: rsyslog and virtio is used to transfer installation logs from guest to host, please refer http://fedoraproject.org/wiki/Anaconda/Logging a rsyslog daemon is started to listen on port 6080, but after rsyslog is restarted, it still listens on port 6080 Version-Release number of selected component (if applicable): rsyslog-5.8.2-1.fc15.x86_64 How reproducible: 100% Steps to Reproduce: 1. start rsyslog 2. rsyslog listens on port 6080 3. restart rsyslog 4. check ps -aux |grep rsyslog Actual results: rsyslog still listens on port 6080 Expected results: rsyslog stops listening on port 6080 Additional info:
(In reply to comment #0) > Steps to Reproduce: > 1. start rsyslog > 2. rsyslog listens on port 6080 > 3. restart rsyslog > 4. check ps -aux |grep rsyslog Could you please describe these steps in more detail?
Created attachment 516615 [details] analog
the details are described as http://fedoraproject.org/wiki/Anaconda/Logging 1. start rsyslog service 2. run rsyslog template, this can be found at the attachment eval `./analog -p 6080 -s -o .rsyslogd.conf /tmp/autoqa/log` 3. restart or stop rsyslog 4. check ps -aux |grep rsyslog root 27924 0.0 0.0 177576 3736 ? Sl 13:54 0:00 /sbin/rsyslogd -c 4 -f /autoqa/tests/upgrade/.rsyslogd.conf -i /tmp/root/rsyslogd_6080.pid root 30580 0.0 0.0 109100 832 pts/0 S+ 14:13 0:00 grep --color=auto rsyslog we can find rsyslog still listens on port 6080, This is stopped on Fedora 14
(In reply to comment #3) > the details are described as http://fedoraproject.org/wiki/Anaconda/Logging <...> > we can find rsyslog still listens on port 6080, This is stopped on Fedora 14 I'd say that it is a better behavior for the service not to interfere with rsyslogd processes not spawned by it, though this might differ from f14. It might be useful if the analog script run the daemon in the foreground or printed its PID to make stopping of the daemon simpler. This doesn't really seem to be a bug in the rsyslog package.
(In reply to comment #4) > (In reply to comment #3) > > the details are described as http://fedoraproject.org/wiki/Anaconda/Logging > <...> > > we can find rsyslog still listens on port 6080, This is stopped on Fedora 14 > > I'd say that it is a better behavior for the service not to interfere with > rsyslogd processes not spawned by it, though this might differ from f14. It > might be useful if the analog script run the daemon in the foreground or > printed its PID to make stopping of the daemon simpler. > > This doesn't really seem to be a bug in the rsyslog package. OK, I will take that as workaround. Thanks