[Bug 528555] New: boot scripts shouldn't presume module usage(check /sys/modules); specific: nfsserver code update
http://bugzilla.novell.com/show_bug.cgi?id=528555 Summary: boot scripts shouldn't presume module usage(check /sys/modules); specific: nfsserver code update Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: suse@tlinx.org QAContact: qa@suse.de Found By: Community User Here is a diff for 'nfsserver' that doesn't zap out an error if module nfsd is already built into one's kernel... Since you include the sources for the SuSE kernel, some users might want to configure their kernels to include modules they know will always be needed at run-time (speeding up boot time as the kernel, as one big file-load will load faster than many small modules) loaded separately during the rc-script processing...:-)... Here's a diff from the suse11.1 source for nfsserver as an example. Hopefully it (or something similar) can be applied to the next available factory build? -------------------- --- nfsserver.orig 2009-04-27 16:36:07.000000000 -0700 +++ nfsserver 2009-08-05 11:51:30.128557264 -0700 @@ -158,8 +158,10 @@ PARAMS=3 test "$USE_KERNEL_NFSD_NUMBER" -gt 0 && PARAMS="$USE_KERNEL_NFSD_NUMBER" - echo -n "Starting kernel based NFS server:" - modprobe nfsd + if [[ ! -e /sys/module/nfs ]] ; then + echo -n "Starting kernel based NFS server:" + modprobe nfsd + fi # this can be removed when modprobe allows the sysctl to be # moved to modprobe.d without breaking --show-depends -------------------------------- -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=528555
shuang qiu
participants (1)
-
bugzilla_noreply@novell.com