Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 273429 Details for
Bug 366653
sys-apps/openrc - "/lib/rc/net/bonding.sh: line 106: echo: write error: Device or resource busy"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
refreshed patch for checking before adding an interface as a slave
dont-readd-slaves-bonding.patch (text/plain), 831 bytes, created by
Anthony Basile
on 2011-05-16 13:26:44 UTC
(
hide
)
Description:
refreshed patch for checking before adding an interface as a slave
Filename:
MIME Type:
Creator:
Anthony Basile
Created:
2011-05-16 13:26:44 UTC
Size:
831 bytes
patch
obsolete
>diff --git a/net/bonding.sh b/net/bonding.sh >index 6d15f0d..15f41e2 100644 >--- a/net/bonding.sh >+++ b/net/bonding.sh >@@ -97,13 +97,15 @@ bonding_pre_start() > # finally add in slaves > eoutdent > if [ -d /sys/class/net ]; then >+ sys_bonding_path=/sys/class/net/"${IFACE}"/bonding > if [ -n "${primary}" ]; then >- echo "+${primary}" >/sys/class/net/"${IFACE}"/bonding/slaves >- echo "${primary}" >/sys/class/net/"${IFACE}"/bonding/primary >+ echo "+${primary}" >$sys_bonding_path/slaves >+ echo "${primary}" >$sys_bonding_path/primary > fi > for s in ${slaves}; do > [ "${s}" = "${primary}" ] && continue >- echo "+${s}" >/sys/class/net/"${IFACE}"/bonding/slaves >+ grep -q ${s} $sys_bonding_path/slaves \ >+ || echo "+${s}" >$sys_bonding_path/slaves > done > else > /sbin/ifenslave "${IFACE}" ${slaves} >/dev/null
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 366653
:
272679
| 273429