[Gpe-list] Gpe-bugs Digest, Vol 7, Issue 1
gpe-bugs-request at linuxtogo.org
gpe-bugs-request at linuxtogo.org
Wed May 2 12:00:59 CEST 2007
Send Gpe-bugs mailing list submissions to
gpe-bugs at linuxtogo.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/gpe-bugs
or, via email, send a message with subject or body 'help' to
gpe-bugs-request at linuxtogo.org
You can reach the person managing the list at
gpe-bugs-owner at linuxtogo.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gpe-bugs digest..."
Today's Topics:
1. [Bug 44] New: pidfile created by gpe-dm is not correct
(bugzilla-daemon at linuxtogo.org)
----------------------------------------------------------------------
Message: 1
Date: Tue, 01 May 2007 12:07:06 +0200
From: bugzilla-daemon at linuxtogo.org
Subject: [Gpe-bugs] [Bug 44] New: pidfile created by gpe-dm is not
correct
To: gpe-bugs at linuxtogo.org
Message-ID: <bug-44-7 at http.bugs.linuxtogo.org/>
http://bugs.linuxtogo.org/show_bug.cgi?id=44
Summary: pidfile created by gpe-dm is not correct
Product: gpe-dm
Version: 0.48
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P4
Component: default
AssignedTo: gpe-bugs at linuxtogo.org
ReportedBy: manuel.teira at telefonica.net
Estimated Hours: 0.0
And this is preventing the init script to work correctly with the 'stop'
argument.
Looking at the code in gpe-dm.c, it seems that the pidfile generation is
performed before calling :
int daemon(int nochdir, int noclose);
As this funcion will eventually fork, the already stored pid is no longer
correct.
I've tested a little patch to put the pidfile stuff after daemon and it seems
to work fine.
I'm attaching it.
--
Configure bugmail: http://bugs.linuxtogo.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------
_______________________________________________
Gpe-bugs mailing list
Gpe-bugs at linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/gpe-bugs
End of Gpe-bugs Digest, Vol 7, Issue 1
**************************************
More information about the Gpe-list
mailing list