#1912: Possible bad interaction of udev rules for duplicate devices
--------------------------------------------+-------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  Bryan Kadzban
     Type:  defect                          |       Status:  new          
 Priority:  normal                          |    Milestone:  6.3          
Component:  Book                            |      Version:  SVN          
 Severity:  normal                          |   Resolution:               
 Keywords:                                  |  
--------------------------------------------+-------------------------------
Comment (by Bryan Kadzban):

 I've temporarily worked around most of the issues, so people following the
 book shouldn't have problems.  But the book still isn't quite the way I'd
 like it.

 I'd like full support for both by-mac and by-path in the NIC script, and
 full support for both by-id and by-path in the CD script.  The choice
 would be made based on an argument given to the scripts.

 Upstream support for the latter exists since udev-104; support for the
 former does not exist upstream yet.  If we want to pull in my patch to add
 by-path to the NIC script, that's fine, but I'd like to float it on linux-
 hotplug-devel at least once more.  (Of course that means I need to
 actually *do* that...  hopefully tomorrow.  I'll commit it to the patches
 repo tomorrow too, just in case -- barring anything unforseen.)

 Then I'd like to rewrite some of the chapter07 files to explain the
 limitations of both types of approach a bit better, and let the user
 choose which to use, for both CDs and NICs.  (They'll have to modify the
 75-*.rules file, which can be done with a sed.)

 Last, I still have a flag set somewhere (maybe there's a ticket for it?)
 that we should call "write_udev_rules all_interfaces" to pre-generate the
 rules files for NICs, instead of having the user write them.  The CD rules
 don't need to run or generated until after booting the new system, because
 the symlinks should exist on the host, and the host's /dev is still bind-
 mounted.  But the NICs need to be given names before the network
 bootscript runs, because the user needs to create the right files in
 /etc/sysconfig/network-devices.  That should be done regardless of the
 state of the NIC by-path patch.

 I think that's it for the persistent-rule-generator changes that I'd like
 to see, at least.  (And yes, the scope there is wider than just this
 ticket; in a strict sense, this ticket should probably be closed, since
 there's no outright problem.  But we're not doing it right yet, either.)

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1912#comment:7>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to