Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146948 - sys-apps/pcmciautils - error in udev rules
Summary: sys-apps/pcmciautils - error in udev rules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 156242 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-09 07:31 UTC by Michael Biebl
Modified: 2006-12-22 11:40 UTC (History)
4 users (show)

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


Attachments
Fix MODALIAS issue on newest udev (pcmciautils-014-udev-rules.patch,1.37 KB, patch)
2006-09-09 10:45 UTC, Lukasz Pawelczyk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Biebl 2006-09-09 07:31:16 UTC
The package sys-apps/pcmciautils installs the udev rules file /etc/udev/rules.d/60-pcmcia.rules.
This file contains some invalid MODALIAS stanzas, so I get on bootup:
add_to_rules: unknown key 'MODALIAS' in ....

The fix is to use $env{MODALIAS} instead of MODALIAS in /etc/udev/rules.d/60-pcmcia.rules.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-09 07:34:46 UTC
Please, remove brix from metadata.xml
Comment 2 Michael Biebl 2006-09-09 07:39:11 UTC
It's actually ENV{MODALIAS} and *not* $env{MODALIAS}. Sorry for the typo.
Comment 3 Lukasz Pawelczyk 2006-09-09 10:45:36 UTC
Created attachment 96494 [details, diff]
Fix MODALIAS issue on newest udev
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-11-25 12:40:40 UTC
*** Bug 156242 has been marked as a duplicate of this bug. ***
Comment 5 Benjamin 2006-12-05 05:38:39 UTC
The fix in this patch worked
Comment 6 Anton Bolshakov 2006-12-07 06:26:17 UTC
The same problem here:

Dec  7 22:18:40 ant udevd[1022]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:4
Dec  7 22:18:40 ant udevd[1022]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:10
Dec  7 22:18:40 ant udevd[1022]: add_to_rules: unknown key 'MODALIAS' in /etc/udev/rules.d/60-pcmcia.rules:14

both udev and pcmciautils are stable:
ant # equery l pcmcia
[ Searching for package 'pcmcia' in all categories among: ]
 * installed packages
[I--] [  ] sys-apps/pcmciautils-013 (0)
ant # equery l udev
[ Searching for package 'udev' in all categories among: ]
 * installed packages
[I--] [  ] sys-fs/udev-103 (0)

Please fix it.
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2006-12-22 11:40:37 UTC
(In reply to comment #3)
> Created an attachment (id=96494) [edit]
> Fix MODALIAS issue on newest udev
> 

Patch added. Thanks.