diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-01-08 04:47:58 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-01-08 04:48:13 +0100 |
commit | 571aeab77c9d52375d061f53a729b3910f40e876 (patch) | |
tree | c122c9c43f27c95aecaf30cc2d8c63d8376eeaf5 | |
parent | 58d6d233f61a1ba056c71aee344a7b0a93124418 (diff) | |
download | drakx-net-571aeab77c9d52375d061f53a729b3910f40e876.tar drakx-net-571aeab77c9d52375d061f53a729b3910f40e876.tar.gz drakx-net-571aeab77c9d52375d061f53a729b3910f40e876.tar.bz2 drakx-net-571aeab77c9d52375d061f53a729b3910f40e876.tar.xz drakx-net-571aeab77c9d52375d061f53a729b3910f40e876.zip |
delay setting SIG_CHLD handler
thus preventing potential segfault on startup (mga#10289)
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | bin/net_applet | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ +- delay setting SIG_CHLD handler + (thus preventing potential segfault on startup (mga#10289)) + 2.8 - nuke the use of /etc/iftab (it's no longer useful) mga#11592 - nuke the use of udev rules for network device names (persistent device names diff --git a/bin/net_applet b/bin/net_applet index 737d0d3..b8201f5 100755 --- a/bin/net_applet +++ b/bin/net_applet @@ -275,7 +275,7 @@ $SIG{USR1} = sub { }; # do not create zombies (#20552) -$SIG{CHLD} = \&harvester; +Glib::Timeout->add_seconds(1, sub { $SIG{CHLD} = \&harvester; 0; }); sub harvester { my $pid; do { |