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 302432 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
anaconda-fix-net-rules.patch (text/plain), 1.14 KB, created by
David Woodhouse
on 2008-04-15 10:30:59 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
David Woodhouse
Created:
2008-04-15 10:30:59 UTC
Size:
1.14 KB
patch
obsolete
>diff --git a/network.py b/network.py >index 1b26173..aadc027 100644 >--- a/network.py >+++ b/network.py >@@ -554,12 +554,20 @@ class Network: > addr = dev.get("hwaddr") > if not addr: > continue >+ devname = dev.get("device") >+ basename = devname >+ while basename is not "" and basename[-1] in string.digits: >+ basename = basename[:-1] >+ > # rules are case senstive for address. Lame. > addr = addr.lower() >+ > s = "" > if len(dev.get("DESC")) > 0: >- s = "# %s\n" % (dev.get("DESC"),) >- s = s + 'SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS=="?*", ATTR{address}=="%s", ATTR{type}=="1", NAME="%s"\n' % (addr, dev.get("device")) >+ s = "# %s (rule written by anaconda)\n" % (dev.get("DESC"),) >+ else: >+ s = "# %s (rule written by anaconda)\n" % devname,) >+ s = s + 'SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS=="?*", ATTR{address}=="%s", ATTR{type}=="1", KERNEL=="%s*", NAME="%s"\n' % (addr, basename, devname)) > f.write(s) > > f.close()
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