On Tue, Apr 27, 2010 at 11:13:41PM -0000, Marien Zwart wrote:
> As far as I can tell a reasonable way of fixing this is for aiccu to
> close all its fds when it daemonizes. Some googling indicates you're
> "supposed" to do that (see for example
> http://www.python.org/dev/peps/pep-3143/#correct-daemon-behaviour which
> refers to a book and a couple of implementations). Unfortunately
> upstream disagrees with me, and I'm not sure where else this could be
> fixed. Can the postinst script (which does not explicitly use this fd
> anywhere) reasonably close it somehow? Should invoke-rc.d close all fds?
> Should /etc/init.d/aiccu?
> 
> I will attach the patch doing this in aiccu (the one rejected upstream)
> here. My ppa ( https://launchpad.net/~marienz/+archive/ppa ) has a build
> with this patch applied (and a lot of other stuff, so please do not
> blindly add the entire ppa to get past this bug!)

What about calling Debconf's db_stop?  (This is implemented by sending
STOP to fd3.)

Kind regards,
Philipp Kern
-- 
 .''`.  Philipp Kern                        Debian Developer
: :' :  http://philkern.de                         Stable Release Manager
`. `'   xmpp:[email protected]                         Wanna-Build Admin
  `-    finger pkern/[email protected]

-- 
Upgrade to 10.04 beta1 blocked by aiccu
https://bugs.launchpad.net/bugs/544910
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to