Summary: | sys-fs/udev-104-r9 incorrect paths in udev rules | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | chad heuschober <chad_ryan1> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
/etc/udev/rules.d/50-udev-rules new 50-udev.rules new 50-udev.rules |
Description
chad heuschober
2007-02-12 00:30:26 UTC
Created attachment 109913 [details]
emerge --info
Created attachment 109915 [details]
/etc/udev/rules.d/50-udev-rules
You failed to run etc-update or dispatch-conf... # grep sbin /etc/udev/rules.d/50-udev.rules #KERNEL=="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", NAME="%k", SYMLINK+="%c" ENV{MODALIAS}=="?*", ACTION=="add", RUN+="/sbin/modprobe $env{MODALIAS}" SUBSYSTEM=="pnp", ENV{MODALIAS}!="?*", RUN+="/bin/sh -c 'while read id; do /sbin/modprobe pnp:d$$id; done < /sys$devpath/id'" ACTION=="add", SUBSYSTEM=="scsi_device", RUN+="/sbin/modprobe sg" RUN+="/sbin/modprobe sd_mod" RUN+="/sbin/modprobe sr_mod" ENV{ID_SCSI_TAPE_DRIVER}=="?*", RUN+="/sbin/modprobe $env{ID_SCSI_TAPE_DRIVER}" Created attachment 109932 [details]
new 50-udev.rules
This 50-udev.rules is /post/ dispatch-conf (like the last one) and /post/ upgrade to -r10.
Again, while the paths in 50-udev.rules are correct, the paths for /lib64/udev/*_id as found compiled into /lib64/udev/udev_run_* are still looking to /sbin.
You may think I haven't run dispatch-conf but I could post a revision history of dispatch-conf runs to prove it if necessary.
We don't install udev_run_* to /lib64; delete those files and re-emerge udev. <snip> exeinto /lib/udev doexe extras/run_directory/udev_run_devd || die "Required helper not installed properly" doexe extras/run_directory/udev_run_hotplugd || die "Required helper not installed properly" </snip> # grep sbin /lib/udev/udev_run_* # Created attachment 109933 [details]
new 50-udev.rules
Okay. Problem not solved but confusion is. My scp from the box in question to this one didn't overwrite as I expected. This is the correct rules.
You have stale crap there, delete it. Closing, we don't install such stuff. |