[Bug 305057] Re: uuidd does not close sockets on launch

2009-07-15 Thread Scott James Remnant
We picked this one up in 1.41.5 afaict ** Changed in: e2fsprogs (Ubuntu) Status: Confirmed => Fix Released -- uuidd does not close sockets on launch https://bugs.launchpad.net/bugs/305057 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ub

[Bug 305057] Re: uuidd does not close sockets on launch

2009-04-15 Thread Theodore Ts'o
** Attachment added: "This time with configure.in changes and the #include of sys/resource.h" http://launchpadlibrarian.net/25501986/fix-for-305057 -- uuidd does not close sockets on launch https://bugs.launchpad.net/bugs/305057 You received this bug notification because you are a member

[Bug 305057] Re: uuidd does not close sockets on launch

2009-04-15 Thread Theodore Ts'o
** Attachment added: "Patch committed into mainline to address this bug" http://launchpadlibrarian.net/25501758/fix-for-305057 -- uuidd does not close sockets on launch https://bugs.launchpad.net/bugs/305057 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 305057] Re: uuidd does not close sockets on launch

2009-04-15 Thread Theodore Ts'o
Actually we can close all file descriptors before we exec uuidd, and it's a good thing to do. I have a patch committed into mainline that will do this, and it will be in the next 1.41.x release. ** Changed in: e2fsprogs (Ubuntu) Status: Invalid => Confirmed -- uuidd does not close socke

[Bug 305057] Re: uuidd does not close sockets on launch

2009-04-14 Thread Julien Plissonneau Duquene
You have a point somewhere. But unfortunately there is no good way for libuuid to get a list of opened FDs and close them all except its own sockets when launching uuidd. What you should do instead: create your own sockets with O_CLOEXEC (or use fcntl F_SETFD to set that flag on your open descript