summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xbin/net_applet2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 2d7d928..4da66bd 100644
--- a/NEWS
+++ b/NEWS
@@ -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 {