Bug 583842

Summary: Starting S->A->Services generates 13 identical blocks of message re rsyncd in syslog
Product: [Fedora] Fedora Reporter: Al Dunsmuir <al.dunsmuir>
Component: system-config-servicesAssignee: Nils Philippsen <nphilipp>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: al.dunsmuir, jzeleny, nphilipp
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: system-config-services-0.99.46-1.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 609439 609471 (view as bug list) Environment:
Last Closed: 2010-07-06 17:30:19 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:
Bug Depends On:    
Bug Blocks: 609439, 609471    

Description Al Dunsmuir 2010-04-19 21:43:33 UTC
Description of problem: When displaying services, get 13 identical blocks of messages in the syslog when the rsync daemon is installed.

I don't know if even one block of messages should be emitted.  13 sure as heck is excessive.  Very annoying when trying to debug a named issue.


Version-Release number of selected component (if applicable):
F13 beta i686, all updates

How reproducible: 100%


Steps to Reproduce:
1. install rsync deamon
2. view syslog
3. Start System->Administration->Services
  
Actual results:
System->Administration->Services generates following in syslog for a single invocation:


Apr 19 17:19:47 wallace xinetd[1245]: Starting reconfiguration
Apr 19 17:19:47 wallace xinetd[1245]: Swapping defaults
Apr 19 17:19:47 wallace xinetd[1245]: readjusting service rsync
Apr 19 17:19:47 wallace xinetd[1245]: Reconfigured: new=0 old=1 dropped=0 (services)
Apr 19 17:19:48 wallace xinetd[1245]: Starting reconfiguration
Apr 19 17:19:48 wallace xinetd[1245]: Swapping defaults
Apr 19 17:19:48 wallace xinetd[1245]: readjusting service rsync
Apr 19 17:19:48 wallace xinetd[1245]: Reconfigured: new=0 old=1 dropped=0 (services)
Apr 19 17:19:48 wallace xinetd[1245]: Starting reconfiguration
Apr 19 17:19:48 wallace xinetd[1245]: Swapping defaults
Apr 19 17:19:48 wallace xinetd[1245]: readjusting service rsync
Apr 19 17:19:48 wallace xinetd[1245]: Reconfigured: new=0 old=1 dropped=0 (services)
Apr 19 17:19:48 wallace xinetd[1245]: Starting reconfiguration
Apr 19 17:19:48 wallace xinetd[1245]: Swapping defaults
Apr 19 17:19:48 wallace xinetd[1245]: readjusting service rsync
Apr 19 17:19:48 wallace xinetd[1245]: Reconfigured: new=0 old=1 dropped=0 (services)
Apr 19 17:19:48 wallace xinetd[1245]: Starting reconfiguration
Apr 19 17:19:48 wallace xinetd[1245]: Swapping defaults
Apr 19 17:19:48 wallace xinetd[1245]: readjusting service rsync
Apr 19 17:19:48 wallace xinetd[1245]: Reconfigured: new=0 old=1 dropped=0 (services)
Apr 19 17:19:48 wallace xinetd[1245]: Starting reconfiguration
Apr 19 17:19:48 wallace xinetd[1245]: Swapping defaults
Apr 19 17:19:48 wallace xinetd[1245]: readjusting service rsync
Apr 19 17:19:48 wallace xinetd[1245]: Reconfigured: new=0 old=1 dropped=0 (services)
Apr 19 17:19:48 wallace xinetd[1245]: Starting reconfiguration
Apr 19 17:19:48 wallace xinetd[1245]: Swapping defaults
Apr 19 17:19:48 wallace xinetd[1245]: readjusting service rsync
Apr 19 17:19:48 wallace xinetd[1245]: Reconfigured: new=0 old=1 dropped=0 (services)
Apr 19 17:19:48 wallace xinetd[1245]: Starting reconfiguration
Apr 19 17:19:49 wallace xinetd[1245]: Swapping defaults
Apr 19 17:19:49 wallace xinetd[1245]: readjusting service rsync
Apr 19 17:19:49 wallace xinetd[1245]: Reconfigured: new=0 old=1 dropped=0 (services)
Apr 19 17:19:49 wallace xinetd[1245]: Starting reconfiguration
Apr 19 17:19:49 wallace xinetd[1245]: Swapping defaults
Apr 19 17:19:49 wallace xinetd[1245]: readjusting service rsync
Apr 19 17:19:49 wallace xinetd[1245]: Reconfigured: new=0 old=1 dropped=0 (services)
Apr 19 17:19:49 wallace xinetd[1245]: Starting reconfiguration
Apr 19 17:19:49 wallace xinetd[1245]: Swapping defaults
Apr 19 17:19:49 wallace xinetd[1245]: readjusting service rsync
Apr 19 17:19:49 wallace xinetd[1245]: Reconfigured: new=0 old=1 dropped=0 (services)
Apr 19 17:19:49 wallace xinetd[1245]: Starting reconfiguration
Apr 19 17:19:49 wallace xinetd[1245]: Swapping defaults
Apr 19 17:19:49 wallace xinetd[1245]: readjusting service rsync
Apr 19 17:19:49 wallace xinetd[1245]: Reconfigured: new=0 old=1 dropped=0 (services)
Apr 19 17:19:49 wallace xinetd[1245]: Starting reconfiguration
Apr 19 17:19:49 wallace xinetd[1245]: Swapping defaults
Apr 19 17:19:49 wallace xinetd[1245]: readjusting service rsync
Apr 19 17:19:49 wallace xinetd[1245]: Reconfigured: new=0 old=1 dropped=0 (services)
Apr 19 17:19:49 wallace xinetd[1245]: Starting reconfiguration
Apr 19 17:19:49 wallace xinetd[1245]: Swapping defaults
Apr 19 17:19:49 wallace xinetd[1245]: readjusting service rsync
Apr 19 17:19:49 wallace xinetd[1245]: Reconfigured: new=0 old=1 dropped=0 (services)

Expected results:
1 copy, at most!

Additional info:

Comment 1 Jan Zeleny 2010-06-01 13:28:32 UTC
Each of these blocks means xinetd received a signal for reconfiguration (I believe it is SIGHUP). I suggest to look at the application that sends these signals. I'm adding maintainer of system-config-services to CC. Maybe he knows what's going on.

Nils, can you take a look and give me a hint if this is caused by system-config-services? Thanks.

Comment 2 Nils Philippsen 2010-06-25 10:06:42 UTC
It is caused by s-c-services. When discovering an xinetd service, s-c-services set the "enabled" property (instead of the "_enabled" variable) of the service object, which triggered running "chkconfig --type xinetd ... {off,on}" and "service xinetd reload". I've fixed this in the source repository:

http://git.fedorahosted.org/git/?p=system-config-services.git;a=commitdiff;h=12da4db92d79b083f4b1ea77a3a49ebd396f7111

Comment 3 Fedora Update System 2010-06-30 11:32:44 UTC
system-config-services-0.99.46-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/system-config-services-0.99.46-1.fc13

Comment 4 Fedora Update System 2010-07-01 18:45:00 UTC
system-config-services-0.99.46-1.fc13 has been pushed to the Fedora 13 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 system-config-services'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/system-config-services-0.99.46-1.fc13

Comment 5 Al Dunsmuir 2010-07-02 22:11:13 UTC
Verified new F13 update works great.  Added +1 Karma/comment.  Thank you!

Comment 6 Fedora Update System 2010-07-06 17:30:11 UTC
system-config-services-0.99.46-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.