Package: mini-dinstall
Severity: important

Hi,

currently, mini-dinstall just does:

    os.close(0)
    os.close(1)
    os.close(2)

to close the file descriptors.  However, they are not reopened to
/dev/null, which they should.

This causes any output from post-install scripts to be inserted into
the Sources file (and also seems to break mini-dinstall; hanging on
some futex when trying to write to the Sources file)

The right way to daemonize can be found in
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/278731 for instance.

-- 
Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 
                                                                        `-  


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to