[Bug 252686] Re: Reload action on init script kills daemon
** Changed in: exim4 (Ubuntu Hardy) Assignee: (unassigned) => Paul Elliott (omahns-home) ** Changed in: exim4 (Ubuntu Hardy) Status: Triaged => In Progress -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
SRU: Minimal patch to fix 'reload' action in exim4 init script I would like to nominate this for SRU in Hardy. Newer releases do not have this issue as the underlying problem in init-functions is fixed: https://bugs.launchpad.net/ubuntu/hardy/+source/exim4/+bug/252686/comments/2 Currently it's not possible to reload exim4 using the init script on Hardy. It currently kills the running daemon without warning. This patch fixes the behaviour of the init script by directly calling start-stop- daemon rather that using the faulty killproc function in init-scripts. Regression potential is low as the same fix has already previously been applied to both freeradius and nagios2 without issue. TEST CASE: 1. Install and configure updated exim4. 2. Issue a '/etc/init.d/exim4 reload' - the exim4 daemon should remain running if the patch is successful. ** Attachment added: "Debdiff to fix reload action in init script" http://launchpadlibrarian.net/42663922/exim4_4.69-2ubuntu1.debdiff -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Hi Paul, (1) Please target hardy-proposed, not hardy (2) Version number should be 4.69-2ubuntu0.1 Other than that, the patch looks good. Once this is fixed, consider the patch ACKed by the SRU team. -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Hi John, Thanks for your pointers, I've updated the target to hardy-proposed and corrected the version number. Please find the updated debdiff attached. Please can somebody provide sponsorship and upload to hardy-proposed for further testing? Thanks, Paul. ** Attachment added: "Corrected debdiff for exim4 init script fix" http://launchpadlibrarian.net/42721503/exim4_4.69-2ubuntu0.1.debdiff ** Patch removed: "Debdiff to fix reload action in init script" http://launchpadlibrarian.net/42663922/exim4_4.69-2ubuntu1.debdiff -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
@Paul: The patch looks incorrect to me. You use $PROGRAM while the original script uses $DAEMON ? -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
@Thierry: Well spotted, strange that it still worked without the command at the end of the parameters to start-stop-daemon. Anyway, please find attached a corrected debdiff. ** Attachment added: "exim4_4.69-2ubuntu0.1.debdiff" http://launchpadlibrarian.net/42785694/exim4_4.69-2ubuntu0.1.debdiff ** Patch removed: "Corrected debdiff for exim4 init script fix" http://launchpadlibrarian.net/42721503/exim4_4.69-2ubuntu0.1.debdiff -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Uploaded, pending acceptation in hardy-proposed. ** Changed in: exim4 (Ubuntu Hardy) Status: In Progress => Confirmed ** Changed in: exim4 (Ubuntu Hardy) Assignee: Paul Elliott (omahns-home) => (unassigned) -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Accepted exim4 into hardy-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: exim4 (Ubuntu Hardy) Status: Confirmed => Fix Committed ** Tags removed: verification-done ** Tags added: verification-needed -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
** Branch linked: lp:ubuntu/hardy-proposed/exim4 -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
The 4.69-2ubuntu0.1 package from hardy-proposed fixes the issue on my test machines. Can anyone else also provide verification? -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
** Tags added: verification-done ** Tags removed: verification-needed -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
This bug was fixed in the package exim4 - 4.69-2ubuntu0.1 --- exim4 (4.69-2ubuntu0.1) hardy-proposed; urgency=low * debian/exim4-base.exim4.init: Fix 'reload' action so that it doesn't just stop the daemon (LP: #252686) -- Paul ElliottWed, 31 Mar 2010 22:03:05 +0100 ** Changed in: exim4 (Ubuntu Hardy) Status: Fix Committed => Fix Released -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Whoops. nagios2 not nagios ** Changed in: nagios2 (Ubuntu) Sourcepackagename: nagios => nagios2 -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Confirmed in hardy. This is in fact a bug in /lib/lsb/init-functions where killproc does handle all signals as SIGTERM : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478871 The fix is already merged in intrepid. ** Changed in: nagios2 (Ubuntu) Importance: Undecided => Medium Status: New => Confirmed -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
This can be worked-around in nagios2, or fixed in lsb. The LSB change might have too much regression potential for a SRU, though. If we want to fix it in nagios2 we can use the attached initscript patch. ** Attachment added: "killproc.patch" http://launchpadlibrarian.net/16377987/killproc.patch -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
This would be the patch if we choose to fix it in lsb directly. This will change behavior of all scripts calling killproc with a signal number. This is theorically a good change, but it might generate unexpected behavior changes. I can make a debdiff for the chosen solution. ** Also affects: lsb (Ubuntu) Importance: Undecided Status: New ** Attachment added: "killproc_signal.patch" http://launchpadlibrarian.net/16378139/killproc_signal.patch ** Attachment removed: "killproc.patch" http://launchpadlibrarian.net/16377987/killproc.patch -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
nagios2 initscript patch if we prefer to fix it in nagios2 ** Attachment added: "initscript.patch" http://launchpadlibrarian.net/16378233/initscript.patch -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
MOTU SRU team: could you please tell me what would make the best SRU candidate in your opinion : fixing the bug in lsb or working around it in nagios2 ? I'll then prepare the appropriate debdiffs and SRU reports. -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
** Also affects: lsb (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478871 Importance: Unknown Status: Unknown -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
** Changed in: lsb (Debian) Status: Unknown => Fix Released -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Given that the LSB patch is already upstream and available in Intrepid, and looking at the code, it is clearly the correct "technical" solution. However, applying this change to Hardy would affect basically every init script in Ubuntu. This is not an SRU that would be accepted lightly. Heavy scrutiny would be required in order to prove that there are no regressions. If this patch to LSB solved a goodly selection of known bugs, then it might be worth pursuing that route. But Thierry says that he looked, and could not find another bug affected by this. The patch to nagios2 itself is simple, self-contained, and appears correct as well. This would be a far easier SRU to obtain, as the chances for regression are minimal. Furthermore, Thierry has another SRU in progress (Bug #231004). I recommend rolling this patch into that SRU, with the appropriate changelog entry mentioning the current bug (Bug #252686). Cheers, :-Dustin -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
lsb in Intrepid fixed this problem. Following Dustin's advice, it is preferable to address this in nagios2 to reduce regression potential. Intrepid is not affected: nagios2 has been superseded by nagios3. ** Changed in: lsb (Ubuntu) Status: New => Fix Released ** Changed in: lsb (Ubuntu Hardy) Status: New => Won't Fix ** Changed in: nagios2 (Ubuntu) Status: Confirmed => Invalid ** Changed in: nagios2 (Ubuntu Hardy) Importance: Undecided => Medium Status: New => Confirmed -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Debdiff for bug 231004 + bug 252686 SRU Bug Impact: calling the "reload" init script action for nagios2 results in killing the daemon. Affected supported releases: hardy. The bug in LSB has been introduced between gutsy and hardy. Development branch fix: nagios3 is shipped with Intrepid. LSB has been fixed in intrepid so that killproc correctly transmits signals. TEST CASE: $ sudo apt-get install nagios2 [...] $ pidof nagios2 5124 $ sudo /etc/init.d/nagios2 reload * Reloading nagios2 monitoring daemon configuration files nagios2 [ OK ] $ pidof nagios2 $ Nagios should be running after the reload. Regression potential discussion: This update only impacts the reload action of the nagios2 init script, which is currently completely broken. ** Attachment added: "nagios2_2.11-1ubuntu2.debdiff" http://launchpadlibrarian.net/17239753/nagios2_2.11-1ubuntu2.debdiff -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Uploaded to hardy-proposed as 2.11-1ubuntu1.3. -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Verification done (x86): - nagios2 2.11-1ubuntu1.2 (hardy): reload does not work; - nagios2 2.11-1ubuntu1.3 (hardy-proposed): reload works fine. -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
I can confirm version 2.11-1ubuntu1.3 works as described in test case. ** Changed in: nagios2 (Ubuntu Hardy) Status: Confirmed => Fix Committed ** Tags added: verification-done -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Copied to hardy-updates. ** Changed in: nagios2 (Ubuntu Hardy) Status: Fix Committed => Fix Released -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
This bug also affects Exim4: After a /etc/init.d/exim4 reload exim is sent a TERM signal, and disappears without warning. Relevant bash trace: + reload_exim + case ${QUEUERUNNER} in + killproc -p /var/run/exim4/exim.pid /usr/sbin/exim4 -HUP + local pidfile sig status base i name_param is_term_sig + pidfile= + name_param= + is_term_sig=no + OPTIND=1 + getopts p: opt + case "$opt" in + pidfile=/var/run/exim4/exim.pid + getopts p: opt + shift 2 + base=exim4 + '[' '!' /var/run/exim4/exim.pid ']' ++ echo -HUP ++ sed -e 's/^-\(.*\)/\1/' + sig=HUP ++ echo HUP ++ sed -e 's/^SIG\(.*\)/\1/' + sig=HUP + '[' -n HUP -o HUP = 15 -o HUP = TERM ']' + is_term_sig=yes + status=0 + '[' '!' yes = yes ']' + /sbin/start-stop-daemon --stop --pidfile /var/run/exim4/exim.pid --retry 5 --quiet --oknodo -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Confirming on hardy. Fixed in intrepid by the LSB bugfix. ** Also affects: exim4 (Ubuntu) Importance: Undecided Status: New ** Changed in: exim4 (Ubuntu) Status: New => Invalid ** Changed in: exim4 (Ubuntu Hardy) Status: New => Confirmed -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Here is a possible patch. --- /etc/init.d/exim4.old 2009-01-30 14:16:55.0 +0100 +++ /etc/init.d/exim4 2009-01-30 14:19:37.0 +0100 @@ -139,7 +139,8 @@ { case ${QUEUERUNNER} in combined|no|ppp) - killproc -p "$PIDFILE" "$DAEMON" -HUP + /sbin/start-stop-daemon --stop --signal HUP --pidfile "$PIDFILE" \ +--quiet "$DAEMON" log_progress_msg "exim4" ;; separate) ** Changed in: exim4 (Ubuntu Hardy) Importance: Undecided => Low Status: Confirmed => Triaged -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
** Changed in: exim4 (Ubuntu Hardy) Status: Triaged => In Progress ** Changed in: exim4 (Ubuntu Hardy) Assignee: (unassigned) => Thierry Carrez (ttx) -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
** Changed in: exim4 (Ubuntu Hardy) Status: In Progress => Triaged ** Changed in: exim4 (Ubuntu Hardy) Assignee: Thierry Carrez (ttx) => (unassigned) -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Is the fix discussed in #228460 going to make it into hardy? Specifically this change to /lib/lsb/init-functions: -if [ -n "$sig" -o "$sig" = 15 -o "$sig" = TERM ]; then +if [ -z "$sig" -o "$sig" = 15 -o "$sig" = TERM ]; then I'm encountering this bug when "/etc/init.d/freeradius reload" ends up sending SIGTERM rather than SIGHUP. I can see that it is marked as WONTFIX for hardy. I suppose it is not a severe bug, but it is confusing when first encountered and annoying thereafter. -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Tim: it's not a severe bug, but it's a risky move in an LTS, since you can't really determine all what may be affected by this change. The choice made was to selectively fix the affected packages, which is safer but more work and less comprehensive. Adding a task for freeradius/hardy. ** Also affects: freeradius (Ubuntu) Importance: Undecided Status: New ** Changed in: freeradius (Ubuntu) Status: New => Fix Released -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
** Changed in: freeradius (Ubuntu Hardy) Importance: Undecided => Medium ** Changed in: freeradius (Ubuntu Hardy) Status: New => In Progress ** Changed in: freeradius (Ubuntu Hardy) Assignee: (unassigned) => Thierry Carrez (ttx) -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
SRU Report for freeradius Bug Impact: calling the "reload" init script action for freeradius results in killing the daemon. Affected supported releases: hardy. The bug in LSB has been introduced between gutsy and hardy. Development branch fix: LSB has been fixed in intrepid so that killproc correctly transmits signals. Minimal patch: see attached TEST CASE: $ sudo apt-get install freeradius [...] $ pidof freeradius 5124 $ sudo /etc/init.d/freeradius reload * Reloading configuration files for FreeRADIUS daemon... $ pidof freeradius $ Freeradius should be running after the reload. Regression potential discussion: This update only impacts the reload action of the freeradius init script, which is currently completely broken. ** Attachment added: "freeradius_1.1.7-1ubuntu0.1.debdiff" http://launchpadlibrarian.net/27952020/freeradius_1.1.7-1ubuntu0.1.debdiff ** Changed in: freeradius (Ubuntu Hardy) Status: In Progress => Confirmed ** Changed in: freeradius (Ubuntu Hardy) Assignee: Thierry Carrez (ttx) => (unassigned) -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Subscribing ubuntu-sru for decision on hardy SRU for freeradius -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Thierry, the freeradius patch looks fine (equivalent to the nagios one), please upload. -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
(In the future, please just upload simple patches like that; it's easy to reject them in the few cases where there aren't appropriate, and in general having it in the queue already speeds things up) -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
** Changed in: freeradius (Ubuntu Hardy) Status: Confirmed => In Progress ** Changed in: freeradius (Ubuntu Hardy) Assignee: (unassigned) => Thierry Carrez (ttx) -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Uploaded. ** Changed in: freeradius (Ubuntu Hardy) Status: In Progress => Fix Committed -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
please leave SRU bugs at 'in progress' until the uploads are accepted into -proposed. ** Changed in: freeradius (Ubuntu Hardy) Status: Fix Committed => In Progress -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
Accepted freeradius into hardy-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: freeradius (Ubuntu Hardy) Status: In Progress => Fix Committed ** Tags added: verification-needed -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
** Branch linked: lp:ubuntu/hardy-proposed/freeradius -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
I confirm that the version in hardy-proposed fixes the reload issue. ** Tags removed: verification-needed -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
This bug affects nagios3 as well, the patch from comment #4 fixes the issue. -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
@Mrten: nagios3 wasn't in hardy and this bug was fixed in intrepid... what version are you reproducing the bug on ? -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
This is 8.04.3 LTS, looking at apt-cache policy I see I've pulled nagios3 as backport from rogerw's ppa (mentioned in bug 240764). -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 252686] Re: Reload action on init script kills daemon
This bug was fixed in the package freeradius - 1.1.7-1ubuntu0.1 --- freeradius (1.1.7-1ubuntu0.1) hardy-proposed; urgency=low * debian/freeradius.init: Fix 'reload' action so that it doesn't just stop the daemon (LP: #252686) -- Thierry CarrezMon, 15 Jun 2009 12:54:39 + ** Changed in: freeradius (Ubuntu Hardy) Status: Fix Committed => Fix Released -- Reload action on init script kills daemon https://bugs.launchpad.net/bugs/252686 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs