summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-06-05 12:47:00 +1000
committerNeil Brown <neilb@suse.de>2006-06-05 12:47:00 +1000
commit20dbc272005b69903bb3c1c2a6623cf69084c111 (patch)
treee18fa7f040ced917f9f4da4cb02a9d86c0115ffc
parent1769ac4444005c027dc1baa33946eb16cd48444b (diff)
downloadnfs-utils-20dbc272005b69903bb3c1c2a6623cf69084c111.tar.gz
nfs-utils-20dbc272005b69903bb3c1c2a6623cf69084c111.tar.xz
nfs-utils-20dbc272005b69903bb3c1c2a6623cf69084c111.zip
fix nhfsrun signal
nhfsrun is supposed to be able to be signalled with SIGUSR1, but the signal trapped is number 30, which is something else entirely (SIGPWR). This patch simply changes it to say "USR1", which gets it right no matter what the value is. "Steinar H. Gunderson" <sesse@debian.org>
-rw-r--r--ChangeLog8
-rwxr-xr-xutils/nhfsstone/nhfsrun2
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c540115..3e7a27f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,5 @@
2006-06-05 NeilBrown <neilb@suse.de>
- Remove debian/ at request of Debian maintainer "Steinar H. Gunderson" <sesse@debian.org>
+ - Remove debian/ at request of Debian maintainer "Steinar H. Gunderson" <sesse@debian.org>
- fix_exportfs_with_multiple_matches.diff: Fixes a problem with exportfs -o
and multiple entries of the same type for the same patch that matches
a given client. The entire rationale and problem description can be found
@@ -20,6 +20,12 @@
Let the user select (via a new parameter) the path to the NFS
state directory for mountd, to match the statd functionality.
"Steinar H. Gunderson" <sesse@debian.org>
+ - fix nhfsrun signal:
+ nhfsrun is supposed to be able to be signalled with SIGUSR1, but
+ the signal trapped is number 30, which is something else
+ entirely (SIGPWR). This patch simply changes it to say "USR1",
+ which gets it right no matter what the value is.
+ "Steinar H. Gunderson" <sesse@debian.org>
2006-04-12 NeilBrown <neilb@suse.de>
Remove **/Makefile.in, aclocal.m4, configure, and
diff --git a/utils/nhfsstone/nhfsrun b/utils/nhfsstone/nhfsrun
index a0ac0f8..ce77ace 100755
--- a/utils/nhfsstone/nhfsrun
+++ b/utils/nhfsstone/nhfsrun
@@ -46,7 +46,7 @@ INCR=10
# SIGUSR1 is used by nhfsstone to synchronize child processes.
#
nothing() { echo -n ""; }
-trap nothing 30
+trap nothing USR1
rm -f $OUTFILE