[Bug 644481] [NEW] 95-kpartx.rules uses invalid -Q argument to modprobe(8)

John Morrissey jwm at horde.net
Tue Sep 21 17:04:24 BST 2010


Public bug reported:

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"
--

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

** Affects: multipath-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
95-kpartx.rules uses invalid -Q argument to modprobe(8)
https://bugs.launchpad.net/bugs/644481
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in ubuntu.



More information about the Ubuntu-server-bugs mailing list