Summary: | sys-fs/udev-init-scripts: udevd does not close stdin/stdout/stderr | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Deutschmann (RETIRED) <whissi> |
Component: | [OLD] Core system | Assignee: | udev maintainers <udev-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chutzpah |
Priority: | Normal | Keywords: | UPSTREAM |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=548166 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | background.patch |
Description
Thomas Deutschmann (RETIRED)
2015-04-27 17:45:00 UTC
CC'ing udev and chutzpah (salt maintainer) to let them know about this issue. Updating the summary to reflect the problem being addressed. Created attachment 402236 [details, diff]
background.patch
We do not need to create a pid file in this case, because we do not use
start-stop-daemon to stop udev.
Please upgrade to openrc-0.14, apply this patch to udev-init-scripts
and let me know whether this solves the issue.
Thanks,
William
(In reply to William Hubbs from comment #3) > Please upgrade to openrc-0.14, apply this patch to udev-init-scripts > and let me know whether this solves the issue. Your patch solves my problem: # salt-call service.restart udev [INFO ] Executing command '/etc/init.d/udev restart' in directory '/root' local: True # for i in /proc/$(pgrep udevd)/fd/*; do echo $i $(readlink $i); done /proc/56709/fd/0 /dev/null /proc/56709/fd/1 /dev/null /proc/56709/fd/10 socket:[123615] /proc/56709/fd/11 anon_inode:[eventpoll] /proc/56709/fd/2 /dev/null /proc/56709/fd/3 /dev/kmsg /proc/56709/fd/4 socket:[203206] /proc/56709/fd/5 socket:[203207] /proc/56709/fd/6 /etc/udev/hwdb.bin /proc/56709/fd/7 anon_inode:inotify /proc/56709/fd/8 anon_inode:[signalfd] /proc/56709/fd/9 socket:[123614] Thank you! This is fixed in commit da8cd39 and will be included in udev-init-scripts 28. Changes from this bug report seems to be root cause for bug 551928 and bug 551724. After talking with Mike (floppym) I reported the initial problem to upstream: https://github.com/systemd/systemd/issues/190 Upstream accepted and fixed the bug. =sys-fs/udev-220-r3 contains the fix. The workaround added in sys-fs/udev-init-scripts-30 is scheduled for removal, already removed in git: https://gitweb.gentoo.org/proj/udev-gentoo-scripts.git/commit/?id=03c02c050df2ae3d91ec6428f024d7d4042ef077 |