[Bug 644481] Re: 95-kpartx.rules uses invalid -Q argument to modprobe(8)
Serge Hallyn
644481 at bugs.launchpad.net
Fri Jun 3 21:14:12 UTC 2011
** Description changed:
Binary package hint: multipath-tools
95-kpartx.rules calls modprobe(8) with the invalid -Q argument. I'm
guessing it wants -q, for quiet?
--
# Always attempt to load dm-multipath. This way we can get rid of the
# init script.
ACTION=="add|change", SUBSYSTEM=="block", \
- RUN+="/sbin/modprobe -Qba dm-multipath"
+ RUN+="/sbin/modprobe -Qba dm-multipath"
--
udevd debug output:
1285084979.983300 [15293] udev_rules_apply_to_event: RUN '/sbin/modprobe -Qba dm-multipath' /lib/udev/rules.d/95-kpartx.rul
es:10
1285084979.984021 [15293] util_run_program: '/sbin/modprobe -Qba dm-multipath' started
1285084979.984499 [15293] util_run_program: '/sbin/modprobe' (stderr) '/sbin/modprobe: invalid option -- 'Q''
1285084979.984516 [15293] util_run_program: '/sbin/modprobe' (stderr) 'Usage: /sbin/modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...]'
1285084979.984522 [15293] util_run_program: '/sbin/modprobe' (stderr) '/sbin/modprobe -r [-n] [-i] [-v] <modulename> ...'
1285084979.984524 [15293] util_run_program: '/sbin/modprobe' (stderr) '/sbin/modprobe -l -t <dirname> [ -a <modulename> ...]'
1285084979.984578 [15293] util_run_program: '/sbin/modprobe -Qba dm-multipath' returned with exitcode 1
+
+ SRU Justification:
+ 1. Impact: multipath fails because modprobe doesn't load the needed modules
+ 2. How bug addressed: the udev rule calling multipath is fixed to not use a wrong argument
+ 3. Patch: see comment #3
+ 4. Test case: dont' have dm-multipath in /etc/modules. 95-kpartx.rules won't load it.
+ 5. Regression potential: none.
** Changed in: multipath-tools (Ubuntu Lucid)
Status: New => Confirmed
** Changed in: multipath-tools (Ubuntu Maverick)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/644481
Title:
95-kpartx.rules uses invalid -Q argument to modprobe(8)
More information about the Ubuntu-server-bugs
mailing list