[lfs-book] [LFS Trac] #3098: udev/systemd 183 is out

LFS Trac trac at linuxfromscratch.org
Sun May 27 10:34:50 PDT 2012


#3098: udev/systemd 183 is out
--------------------+-------------------------------------------------------
 Reporter:  Krejzi  |       Owner:  lfs-book@…                   
     Type:  task    |      Status:  new                          
 Priority:  normal  |   Milestone:  7.2                          
Component:  Book    |     Version:  SVN                          
 Severity:  normal  |    Keywords:                               
--------------------+-------------------------------------------------------

Comment(by bryan@…):

 Replying to [comment:1 bdubbs@…]:
 > We probably need to add --with-usb-ids-path=no  and --with-pci-ids-
 path=no.

 Note that current udev (well... v180, the last one I tried) tries to read
 in the file "no" with that switch, contrary to autoconf convention where
 the special value "no" disables the feature.  The flag is not (or, it was
 not) not actually disabling anything.

 I don't *believe* this has changed, but I don't know for sure.

 You can see for sure with e.g. "udevadm test /sys/class/net/eth0", and
 look for a "udev_rules_apply_to_event" line looking for the 'pci-db'
 builtin.  Or look for an error message about failing to open the database
 file, either way.

 Anyway, not extremely relevant, but if this is still broken, it might be a
 reasonable time to remove the flags if we don't want to fix the configury.

 Commentary on the file list below...

 > ./lib/pkgconfig/libudev.pc

 Shouldn't this be /usr/lib?  Same for the .la file?

 > ./libexec/udev/rules.d/50-udev-default.rules

 I thought the udev ABI (which the developers made a huge deal about back
 during the 32-bit to 64-bit migration days, when people were trying to
 create /lib64/udev) required that this be /lib/udev/rules.d?

 > ./include/libudev.h

 This should be /usr as well I believe.

 > ./share/pkgconfig/udev.pc
 > ./share/man/man7/udev.7
 > ./share/man/man8/systemd-udevd.8
 > ./share/man/man8/udevadm.8

 All four of these belong in /usr/share, since /share doesn't exist.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3098#comment:2>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.



More information about the lfs-book mailing list