commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 01/07: Avoid mtab crashing when mounted from /etc/init.d/rc.


From: Samuel Thibault
Subject: [hurd] 01/07: Avoid mtab crashing when mounted from /etc/init.d/rc.
Date: Mon, 15 Feb 2016 09:10:01 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository hurd.

commit 37102c06dfd451d9eb52590d754a9148b4ce8f9c
Author: Samuel Thibault <address@hidden>
Date:   Sun Feb 14 21:23:05 2016 +0000

    Avoid mtab crashing when mounted from /etc/init.d/rc.
---
 debian/changelog                  |  7 +++++++
 debian/patches/mtab-siglost.patch | 14 ++++++++++++++
 debian/patches/series             |  1 +
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1ef118c..5221169 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+hurd (1:0.7.git20160114-2) UNRELEASED; urgency=medium
+
+  * patches/mtab-siglost.patch: New patch to avoid mtab crashing when mounted
+    from /etc/init.d/rc.
+
+ -- Samuel Thibault <address@hidden>  Sun, 14 Feb 2016 21:22:23 +0000
+
 hurd (1:0.7.git20160114-1) unstable; urgency=medium
 
   * New upstream snapshot
diff --git a/debian/patches/mtab-siglost.patch 
b/debian/patches/mtab-siglost.patch
new file mode 100644
index 0000000..b1b7c31
--- /dev/null
+++ b/debian/patches/mtab-siglost.patch
@@ -0,0 +1,14 @@
+diff --git a/trans/mtab.c b/trans/mtab.c
+index e855080..4221bce 100644
+--- a/trans/mtab.c
++++ b/trans/mtab.c
+@@ -211,6 +211,9 @@ main (int argc, char *argv[])
+ {
+   error_t err;
+ 
++  signal(SIGLOST, SIG_IGN);
++  signal(SIGPIPE, SIG_IGN);
++
+   err = argp_parse (&argp, argc, argv, ARGP_IN_ORDER, 0, 0);
+   if (err)
+     error (1, err, "argument parsing");
diff --git a/debian/patches/series b/debian/patches/series
index 152e79b..7ed5922 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -23,3 +23,4 @@ disable_new_task_notification.diff
 newRPC.patch
 dl_origin.patch
 cross-link.patch
+mtab-siglost.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]