Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156505 - udev 103 paths wrong
Summary: udev 103 paths wrong
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 156507 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-28 05:35 UTC by Charles C. Van Tilburg
Modified: 2006-11-28 08:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charles C. Van Tilburg 2006-11-28 05:35:21 UTC
after upgrade to v103, the following scripts in /etc/udev/rules.d needed
manual modification due to the location change of supporting programs 
such as cdrom_id, from /sbin to /lib/udev:

udev.rules
50-udev.rules
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-28 05:42:17 UTC
/etc/udev/rules.d/udev.rules is not installed by udev (or anything else for that matter, delete the orphaned file).

# grep cdrom_id /etc/udev/rules.d/50-udev.rules 
BUS=="ide",	KERNEL=="hd[a-z]", ACTION=="add", IMPORT="cdrom_id --export $tempnode"
BUS=="scsi",	KERNEL=="sr[0-9]*", ACTION=="add", IMPORT="cdrom_id --export $tempnode"
BUS=="scsi",	KERNEL=="scd[a-z]", ACTION=="add", IMPORT="cdrom_id --export $tempnode"

You didn't run etc-update, seems like...
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-28 06:20:21 UTC
*** Bug 156507 has been marked as a duplicate of this bug. ***
Comment 3 Charles C. Van Tilburg 2006-11-28 06:22:05 UTC
I have run etc-update, and your knee-jerk reaction to closing this bug
should result in your bug-wrangling license revocation.
Comment 4 Charles C. Van Tilburg 2006-11-28 06:24:17 UTC
and if I delete the files in question, what will re-create them???
Comment 5 Charles C. Van Tilburg 2006-11-28 06:26:22 UTC
and, if there are orphan files, that is still a bug
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-11-28 06:34:12 UTC
(In reply to comment #3)
> I have run etc-update, and your knee-jerk reaction to closing this bug
> should result in your bug-wrangling license revocation.

I don't like your attitude, folk. Already explained above, wipe the orphaned files, re-emerge udev, run etc-update.

You can use 'qfile /etc/udev/rules.d/*' to find the orphaned files and owners of the rest of the files there.
Comment 7 Charles C. Van Tilburg 2006-11-28 06:35:27 UTC
and I don't like your attitude either... your tone is hostile and dismissive

And what tool scans the whole system for orphan files, and why are orphan
package files not a bug?
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-11-28 06:37:33 UTC
emerge portage-utils if you don't have qfile
Comment 9 Charles C. Van Tilburg 2006-11-28 06:38:45 UTC
This is a bug.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-11-28 06:39:21 UTC
Your orphaned files issue belongs to Bug 8423.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-11-28 06:39:35 UTC
NOT a udev bug, closing.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-11-28 06:39:48 UTC
And enough noise here.
Comment 13 Charles C. Van Tilburg 2006-11-28 06:46:56 UTC
Another hostile, dismissive, and this time inflammatory comment.  Congrats,
a new low for you.  You must be proud.

The package update resulted in a system that did not run udev correctly.
Furthermore, it did not fix the paths in 50-udev.rules until I manually 
corrected them and rebooted.

This is a package update bug that should be addressed in a -r1 of udev.

Perhaps you can finally answer the question as to what tool scans the 
entire system for orphan package files?  If its is unused, why wasn't 
it removed at package update?  And why is the failure to remove it not 
a bug?

And your workaround of manual file removal and re-emerge is not a solution.
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2006-11-28 06:48:32 UTC
Stop reopening this bug, there's no /sbin cdrom_id reference, as shown in comment #1. If you screwed up w/ etc-update, it's not a bug.

Comment 15 Jakub Moc (RETIRED) gentoo-dev 2006-11-28 06:49:21 UTC
Closed, and don't reopen this bug unless you want to have your bugzilla account suspended. You've already produced 20 pointless bugspams in my mailboxes, not appreciated.
Comment 16 Marijn Schouten (RETIRED) gentoo-dev 2006-11-28 06:51:08 UTC
Charles, perhaps you should say what you changed to fix.
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2006-11-28 06:56:33 UTC
(In reply to comment #16)
> Charles, perhaps you should say what you changed to fix.

There's no need to change _anything_ if you update your udev rules properly via etc-update or dispatch-conf or whatever other tool

$ grep sbin /usr/portage/sys-fs/udev/files/udev.rules-098
#KERNEL=="dm-[0-9]*",	PROGRAM="/sbin/devmap_name %M %m", NAME="%k", SYMLINK+="%c"
SYSFS{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'"

The above all _all_ references to /sbin in 50-udev.rules installed w/ udev-103. Now, can we please finally stop the pointless noise here?
Comment 18 Charles C. Van Tilburg 2006-11-28 07:23:10 UTC
if your assertion were true, I would not have had the trouble, since I did,
in fact, run etc-update.
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2006-11-28 07:34:52 UTC
Then try to select the correct option in etc-update next time.

# rm -f /etc/udev/rules.d/50-udev.rules; emerge -1 udev; grep /sbin /etc/udev/rules.d/50-udev.rules

<snip>
>>> sys-fs/udev-103 merged.

>>> No packages selected for removal by clean.

>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.

#KERNEL=="dm-[0-9]*",	PROGRAM="/sbin/devmap_name %M %m", NAME="%k", SYMLINK+="%c"
SYSFS{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'"
</snip>

Now, absolutely no need for further comments here. If you need support, move to forums.gentoo.org or #gentoo on freenode. This is not a support forum and there's no such issue in udev-103 as you claim.
Comment 20 Charles C. Van Tilburg 2006-11-28 08:20:59 UTC
This was part of an emerge -bNDu world.  

I wonder what you would counsel to update thousands of machines?  Should 
every individual update require individual attention?  Really?  And was 
there even a warning for this package, to do this special procedure as part 
of the 23 updates applied in this batch?

If you want to have the last word, little man, go ahead, but please stop 
CC'ing me on this.  I have had quite enough of you, and will do everything 
I can do avoid you in the future.

I left the bug closed as you requested, but it is still a bug.

And you are way out of line in your treatment of me, and owe me an apology.
When you grow up, please email me one.

Apparently, I am not alone in my opinion of you.
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2006-11-28 08:27:13 UTC
(In reply to comment #20)
> If you want to have the last word, little man, go ahead, but please stop 
> CC'ing me on this. 

WTF? Where did I CC you? 

http://bugs.gentoo.org/show_activity.cgi?id=156505

Here's a suggestion: could you move your rants to /dev/null finally? Or somewhere else, but definitely out of bugzilla and out of my mailbox. TIA.