Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 301462 Details for
Bug 440568
anaconda omits 'KERNEL==' criterion from udev persistent-net rules.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch for write_net_rules
write_net_rules.diff (text/plain), 1.02 KB, created by
Kazunori Asayama
on 2008-04-07 04:59:56 UTC
(
hide
)
Description:
patch for write_net_rules
Filename:
MIME Type:
Creator:
Kazunori Asayama
Created:
2008-04-07 04:59:56 UTC
Size:
1.02 KB
patch
obsolete
>The current write_net_rules script add no 'KERNEL' key when the >variable 'INTERFACE_NAME' is defined. Because of this behavior of the >script, the udev can't name correctly the network devices which share >the same MAC address in some cases. > >This patch fix the problem by modifying the script to always add >'KERNEL' key. > >Signed-off-by: Kazunori Asayama <asayama@sm.sony.co.jp> > >--- write_net_rules.orig 2008-04-07 13:29:51.000000000 +0900 >+++ write_net_rules 2008-04-07 13:39:37.000000000 +0900 >@@ -99,16 +99,18 @@ if [ "$INTERFACE_NAME" ]; then > INTERFACE=$INTERFACE_NAME; > echo "INTERFACE_NEW=$INTERFACE" > fi >+ basename=${INTERFACE%%[0-9]*} > else > # if a rule using the current name already exists, find a new name > basename=${INTERFACE%%[0-9]*} >- match="$match, KERNEL==\"$basename*\"" > if interface_name_taken; then > INTERFACE="$basename$(find_next_available "$basename[0-9]*")" > echo "INTERFACE_NEW=$INTERFACE" > fi > fi > >+match="$match, KERNEL==\"$basename*\"" >+ > write_rule "$match" "$INTERFACE" "$COMMENT" > > unlock_rules_file
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 440568
:
301462
|
301485
|
301740
|
301741
|
301786
|
302303
|
302312
|
302432
|
302441
|
302478