Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:Update
dracut.12034
0314-nfs_do_not_pass_ifname_for_bonding_devices...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0314-nfs_do_not_pass_ifname_for_bonding_devices.patch of Package dracut.12034
Index: dracut-044/modules.d/95nfs/module-setup.sh =================================================================== --- dracut-044.orig/modules.d/95nfs/module-setup.sh 2016-12-07 11:46:32.799438777 +0100 +++ dracut-044/modules.d/95nfs/module-setup.sh 2016-12-07 11:46:33.519479687 +0100 @@ -57,7 +57,10 @@ cmdline() { nfs_address=${lookup##* } fi ifname=$(ip -o route get to $nfs_address | sed -n 's/.*dev \([^ ]*\).*/\1/p') - if [ -e /sys/class/net/$ifname/address ] ; then + if [ -d /sys/class/net/$ifname/bonding ]; then + dinfo "Found bonded interface '${ifname}'. Make sure to provide an appropriate 'bond=' cmdline." + return + elif [ -e /sys/class/net/$ifname/address ] ; then ifmac=$(cat /sys/class/net/$ifname/address) printf 'ifname=%s:%s ' ${ifname} ${ifmac} fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor