udevd: open sockets before forking
authorTom Gundersen <teg@jklm.no>
Sun, 31 May 2015 21:58:39 +0000 (23:58 +0200)
committerTom Gundersen <teg@jklm.no>
Sun, 31 May 2015 21:58:39 +0000 (23:58 +0200)
commit3d7dc8e4f9273ed0f14116ee7400718b7459df0d
tree9fecfa78a2239e339157f2a0c2e6f38d9d86d14f
parent49f997f3bcf3ff6a1d794dfb8fbd3907d653dc33
udevd: open sockets before forking

The communication channels must all be opened before forknig in daemon mode,
or we cannot guarantee that udevadm will work correctly as soon as udevd is
started.
src/udev/udevd.c