[Bug 644481] Re: 95-kpartx.rules uses invalid -Q argument to modprobe(8)
Rolf Leggewie
644481 at bugs.launchpad.net
Wed Jun 17 11:20:42 UTC 2015
lucid has seen the end of its life and is no longer receiving any
updates. Marking the lucid task for this ticket as "Won't Fix".
** Changed in: multipath-tools (Ubuntu Lucid)
Status: Triaged => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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)
Status in multipath-tools package in Ubuntu:
Fix Released
Status in multipath-tools source package in Lucid:
Won't Fix
Status in multipath-tools source package in Maverick:
Won't Fix
Bug description:
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
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/644481/+subscriptions
More information about the foundations-bugs
mailing list