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 descriptors). Available
since linux 2.6.23; see open(2) man page for details. Your sockets will
then be closed automatically in the child process when it will execute
uuidd.

Marking invalid "wontfix".


** Changed in: e2fsprogs (Ubuntu)
       Status: New => Invalid

-- 
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 Ubuntu.

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

Reply via email to