[Bug 849476] New: /etc/init.d/nfsserver fails to start because -nfs-version needs 2 hyphens
https://bugzilla.novell.com/show_bug.cgi?id=849476 https://bugzilla.novell.com/show_bug.cgi?id=849476#c0 Summary: /etc/init.d/nfsserver fails to start because -nfs-version needs 2 hyphens Classification: openSUSE Product: openSUSE 13.1 Version: RC 1 Platform: x86-64 OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jimc@math.ucla.edu QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Package: nfs-kernel-server-1.2.8-4.2.1.x86_64 When you do /etc/init.d/nfsserver start, rpc.mountd exits printing its usage message. The reason is that VERSION_PARAMS is set to -nfs-version 4 where it should be --nfs-version 4 (2 hyphens). Patch coming. Also, if NFS4_SERVER_MINOR_VERSION != '0', i.e. if it is unset (as it was in my case due to copying /etc/sysconfig/nfs from v12.3), the option -nfs-version 4. (four dot) will be appended. rpc.mountd does not care, but rpc.nfsd chokes on it, "unsupported minor version". May I suggest a case statement such as: case "$NFS4_SERVER_MINOR_VERSION" in [1-9]* ) (append the minor version option) esac -- 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=849476 https://bugzilla.novell.com/show_bug.cgi?id=849476#c1 --- Comment #1 from James Carter <jimc@math.ucla.edu> 2013-11-07 21:52:17 UTC --- Created an attachment (id=566578) --> (http://bugzilla.novell.com/attachment.cgi?id=566578) Patch adding the missing hyphens -- 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=849476 https://bugzilla.novell.com/show_bug.cgi?id=849476#c Xiyuan Liu <xyliu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyliu@suse.com AssignedTo|bnc-team-screening@forge.pr |nfbrown@suse.com |ovo.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=849476 https://bugzilla.novell.com/show_bug.cgi?id=849476#c2 Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Neil Brown <nfbrown@suse.com> 2013-11-18 03:43:18 UTC --- Thanks for the report and the patch. I've submitted an update containing the patch and a fix for the possibility of NFS4_SERVER_MINOR_VERSION having an incorrect value. -- 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=849476 https://bugzilla.novell.com/show_bug.cgi?id=849476#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-11-18 05:00:24 CET --- This is an autogenerated message for OBS integration: This bug (849476) was mentioned in https://build.opensuse.org/request/show/207415 Factory / nfs-utils https://build.opensuse.org/request/show/207416 13.1 / nfs-utils -- 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=849476 https://bugzilla.novell.com/show_bug.cgi?id=849476#c4 Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ar16@imapmail.org --- Comment #4 from Neil Brown <nfbrown@suse.com> 2013-11-20 21:55:56 UTC --- *** Bug 851422 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=851422 -- 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=849476 https://bugzilla.novell.com/show_bug.cgi?id=849476#c5 --- Comment #5 from A R <ar16@imapmail.org> 2013-11-22 20:34:24 UTC --- Can you enable builds for 13.1 repos? @ https://build.opensuse.org/request/show/207416 shows disabled; enabled only for Factory -- 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=849476 https://bugzilla.novell.com/show_bug.cgi?id=849476#c6 --- Comment #6 from Swamp Workflow Management <swamp@suse.de> 2013-11-25 11:07:17 UTC --- openSUSE-RU-2013:1769-1: An update that has 5 recommended fixes can now be installed. Category: recommended (low) Bug References: 833543,845269,845475,846064,849476 CVE References: Sources used: openSUSE 13.1 (src): nfs-utils-1.2.8-4.5.1 -- 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=849476 https://bugzilla.novell.com/show_bug.cgi?id=849476#c7 A R <ar16@imapmail.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #7 from A R <ar16@imapmail.org> 2013-11-27 08:31:36 UTC --- @ https://build.opensuse.org/package/view_file/Base:System/nfs-utils/nfsserver... still incorrectly has: if [ "$NFS4_SERVER_MINOR_VERSION" != "0" ]; then VERSION_PARAMS="$VERSION_PARAMS --nfs-version 4 -nfs-version 4.$NFS4_SERVER_MINOR_VERSION" fi BOTH instances require "--nfs-version" -- 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=849476 https://bugzilla.novell.com/show_bug.cgi?id=849476#c8 --- Comment #8 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-11-27 11:00:31 CET --- This is an autogenerated message for OBS integration: This bug (849476) was mentioned in https://build.opensuse.org/request/show/208643 Factory / nfs-utils -- 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=849476 https://bugzilla.novell.com/show_bug.cgi?id=849476#c9 --- Comment #9 from Swamp Workflow Management <swamp@suse.de> 2014-02-12 11:05:28 UTC --- openSUSE-RU-2014:0227-1: An update that has three recommended fixes can now be installed. Category: recommended (moderate) Bug References: 849387,849476,859221 CVE References: Sources used: openSUSE 13.1 (src): nfs-utils-1.2.8-4.9.1 -- 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=849476 https://bugzilla.novell.com/show_bug.cgi?id=849476#c10 Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #10 from Neil Brown <nfbrown@suse.com> 2014-02-18 02:37:04 UTC --- This has been properly fixed now, so closing. -- 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