]> git.decadent.org.uk Git - nfs-utils.git/commit
Prevent sm-notify from being run multiple times per reboot.
authorNeil Brown <neilb@suse.de>
Mon, 19 Mar 2007 22:50:33 +0000 (09:50 +1100)
committerNeil Brown <neilb@suse.de>
Mon, 19 Mar 2007 22:50:33 +0000 (09:50 +1100)
commit08ed16cab8a460ea56df19b7e27fd663cc96316d
treee496f3d3c7f4473c5fe05abd045c92b382a6fdf8
parenta6970289026e18fcb51f1305df96d868d94dae78
Prevent sm-notify from being run multiple times per reboot.

As "mount.nfs" can start statd, and as statd can start sm-notify,
the risk of sm-notify being run multiple times increases.
As this is not normally appropriate, sm-notify now creates a
file in /var/run which will stop future instances from being
run (though ofcourse this behaviour can be controlled by a
new command line option).
utils/statd/sm-notify.8
utils/statd/sm-notify.c