[Bug 379806] New: Add sm-notify options in /etc/init.d/nfs
https://bugzilla.novell.com/show_bug.cgi?id=379806 Summary: Add sm-notify options in /etc/init.d/nfs Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: darinper@cognigencorp.com QAContact: qa@suse.de Found By: --- There are no facilities to set sm-notify in the /etc/init.d/nfs init script. Being able to set sm-notify options would be very useful when an nfs server reboots and comes back online, i.e. the clients will release the nfs locks. I propose creating an option for sm-notify called SM_NOTIFY_OPTIONS which can be set in /etc/sysconfig/nfs. Then when /etc/init.d/nfs is called these options are sent out. diff -c /etc/init.d/nfs.orig /etc/init.d/nfs *** /etc/init.d/nfs.orig Mon Apr 14 15:23:48 2008 --- /etc/init.d/nfs Mon Apr 14 15:38:18 2008 *************** *** 132,138 **** mount_usr # sm-notify echo -n " sm-notify" ! /usr/sbin/sm-notify # gssd if [ "$NEED_GSSD" = yes ]; then echo -n " gssd" --- 132,138 ---- mount_usr # sm-notify echo -n " sm-notify" ! /usr/sbin/sm-notify $SM_NOTIFY_OPTIONS # gssd if [ "$NEED_GSSD" = yes ]; then echo -n " gssd" Addition to /etc/sysconfig/nfs ## Path: Network/File systems/NFS server ## Description: Network Status Monitor options ## Type: string ## Default: "" ## ServiceRestart: nfs # # SM_NOTIFY_OPTIONS="" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=379806 Robert Vojcik <rvojcik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |nfbrown@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=379806 User nfbrown@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=379806#c1 Neil Brown <nfbrown@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |darinper@cognigencorp.com --- Comment #1 from Neil Brown <nfbrown@novell.com> 2008-05-01 00:25:47 MST --- That sounds sensible. Could you please let me know what options you want to set to make sure I have the full picture? Thanks, -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=379806 User darinper@cognigencorp.com added comment https://bugzilla.novell.com/show_bug.cgi?id=379806#c2 Darin Perusich <darinper@cognigencorp.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|darinper@cognigencorp.com | --- Comment #2 from Darin Perusich <darinper@cognigencorp.com> 2008-05-01 07:25:02 MST --- Being able to set the '-v ipaddr-or-hostname' options to tell sm-notify which address or hostname to bind to. This is useful in an HA-NFS environment when the secondary server takes over services, nfs-kernel-server, and the shared IPaddr, so the client systems do not get stale nfs locks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=379806 User nfbrown@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=379806#c3 Neil Brown <nfbrown@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Neil Brown <nfbrown@novell.com> 2008-05-01 20:53:49 MST --- OK, seems fair. I have removed the "ServiceRestart" line from the sysconfig entry as there is no value in restarting sm-notify, it has already been run by this time. The options cannot meaningfully take effect until the next reboot. I also added the args to the place in init.d/nfsserver where sm-notify is run. I don't think this justifies an update for 10.3 but these changes will be in the next release (11.0?). Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=379806 User darinper@cognigencorp.com added comment https://bugzilla.novell.com/show_bug.cgi?id=379806#c4 --- Comment #4 from Darin Perusich <darinper@cognigencorp.com> 2008-05-02 06:31:54 MST --- I concur that these changes don't need to be updated in the 10.3 release and can implemented in 11.0. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com