Commit b6bf6be3 authored by Martin Pitt's avatar Martin Pitt
Browse files

net.agent: Properly close stdout/err FDs

This avoids long hangs during udev settle. Thanks to Ben Hutchings!

Closes: #754987
parent eb73fd35
......@@ -28,6 +28,8 @@ systemd (215-6) UNRELEASED; urgency=medium
installing that on upgrades. (Closes: #769747)
* Remove Tollef from Uploaders: as per his request. Thanks Tollef for all
you work!
* net.agent: Properly close stdout/err FDs, to avoid long hangs during udev
settle. Thanks to Ben Hutchings! (Closes: #754987)
[ Didier Roche ]
* debian/ifup@.service: add a ConditionPath on /run/network, to avoid
......
......@@ -103,7 +103,8 @@ esac
# When udev_log="debug" stdout and stderr are pipes connected to udevd.
# They need to be closed or udevd will wait for this process which will
# deadlock with udevsettle until the timeout.
do_everything > /dev/null 2> /dev/null &
exec > /dev/null 2> /dev/null
do_everything &
exit 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment