Bug 436616

Summary: ez-ipupdate would be started a second time on runlevel changes
Product: [Fedora] Fedora Reporter: Peter Bieringer <pb>
Component: ez-ipupdateAssignee: Jeff Layton <jlayton>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: steved
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: 2008-05-21 17:24:47 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:
Attachments:
Description Flags
Check for existing pidfile and process before starting a daemon
none
Check for existing pidfile and process before starting a daemon none

Description Peter Bieringer 2008-03-08 12:14:59 UTC
Description of problem:
Changing from runlevel 5 to 3 would start a second ez-ipupdate instance, on
start it should be checked whether instance is already running.

Version-Release number of selected component (if applicable):
ez-ipupdate-3.0.11-0.14.b8.fc7

Comment 1 Peter Bieringer 2008-03-08 12:14:59 UTC
Created attachment 297298 [details]
Check for existing pidfile and process before starting a daemon

Comment 2 Jeff Layton 2008-03-10 23:48:25 UTC
Created attachment 297536 [details]
Check for existing pidfile and process before starting a daemon

Thanks. The patch wasn't in unified diff format and seemed to put the
conditional in an odd spot. This patch is in unified diff format. Does this
look like what you had intended?

Comment 3 Peter Bieringer 2008-03-11 06:30:18 UTC
Yes, this looks good. Sorry for the not-unified diff.

Comment 4 Jeff Layton 2008-03-11 12:00:47 UTC
Thanks for the patch and the bug report. I don't have a great way to test this
at the moment, but the patch looks fairly straightforward. So...

Committed in ez-ipupdate-3.0.11-0.17.b8

...packages are building now for devel and F8. I'll let this sit in
updates-testing for a bit. Please test if you're able once they're done.

Comment 5 Fedora Update System 2008-03-11 12:29:16 UTC
ez-ipupdate-3.0.11-0.17.b8.fc8 has been submitted as an update for Fedora 8

Comment 6 Fedora Update System 2008-03-13 07:46:47 UTC
ez-ipupdate-3.0.11-0.17.b8.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 ez-ipupdate'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-2457

Comment 7 Fedora Update System 2008-04-22 22:37:49 UTC
ez-ipupdate-3.0.11-0.17.b8.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.