"ifup" should deal with non-zero exit codes from modprobe
Bug #337570 reported by
Cyberax
This bug report is a duplicate of:
Bug #107432: modprobe -Q is not 'silent enough' / ifup is too picky about return status..
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ifupdown (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: ifupdown
Ifup should deal with non-zero exit codes from modprobe. My ipv6 setup stopped working since ipv6 module is compiled into the kernel in Jaunty so "modprobe -Q" fails to load it.
Replacing modprobe with this script restored ipv6 functionality:
===============
#!/bin/bash
/sbin/modprobe.orig "$@"
ret=$?
if [[ "$1" == "-Q" ]] ; then
exit 0
fi
exit $ret
===============
To post a comment you must log in.
Note that modprobe 3.7 doesn't _have_ a -Q option, so this patch would be invalid