#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:                                  |  
--------------------------------------------+-------------------------------
Changes (by Bryan Kadzban):

  * owner:  [email protected] => Bryan Kadzban
  * status:  reopened => new

Comment:

 > ENV{GENERATED}="1" is added by the scripts, correct?

 Only for CD symlinks (not NIC rules), but yes.

 > telling users to add this to their rules seems like a dirty thing to do.

 True, but this variable is the only thing that tells 75-cd-aliases-
 generator.rules to skip running write_cd_rules for a device.  So if the
 user doesn't add that, then their rule will be overridden by
 write_cd_rules.  It's probably a poor choice of name for the environment
 variable (GENERATED_CD_RULE_EXISTS sounds better to me), but it's what
 upstream is using.

 I'll see if I can get something together for discussion on -dev for some
 of this.  In the meantime, I've committed r7854 to use 70-* and add
 ENV{GENERATED}, to get at least most of it correct, for the time being.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1912>
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