Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427620 - sys-fs/udev-186 - udevd: unknown key 'RUN{builtin}' in /lib/udev/rules.d/80-drivers.rules:10
Summary: sys-fs/udev-186 - udevd: unknown key 'RUN{builtin}' in /lib/udev/rules.d/80-d...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-22 11:06 UTC by Leho Kraav (:macmaN @lkraav)
Modified: 2012-08-01 23:00 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 Leho Kraav (:macmaN @lkraav) 2012-07-22 11:06:21 UTC
Seeing these in my logcheck output after upgrading to udev-186:

Jul 22 13:05:55 server udevd[17840]: unknown key 'RUN{builtin}' in /lib/udev/rules.d/80-drivers.rules:10
Jul 22 13:05:55 server udevd[17840]: invalid rule '/lib/udev/rules.d/80-drivers.rules:10'

Reproducible: Always
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2012-07-23 20:13:10 UTC
Please attach or place in a comment the file with the invalid rule.
Also please confirm using equery from gentoolkit which pkg the file belongs to:

# equery belongs 80-drivers.rules
Comment 2 Leho Kraav (:macmaN @lkraav) 2012-07-23 20:14:51 UTC
 $ qfile -v /lib/udev/rules.d/80-drivers.rules
sys-fs/udev-186 (/lib/udev/rules.d/80-drivers.rules)

$ cat /lib/udev/rules.d/80-drivers.rules
# do not edit this file, it will be overwritten on update

ACTION=="remove", GOTO="drivers_end"

DRIVER!="?*", ENV{MODALIAS}=="?*", IMPORT{builtin}="kmod load $env{MODALIAS}"
SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="SD", IMPORT{builtin}="kmod load tifm_sd"
SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="MS", IMPORT{builtin}="kmod load tifm_ms"
SUBSYSTEM=="memstick", IMPORT{builtin}="kmod load ms_block mspro_block"
SUBSYSTEM=="i2o", IMPORT{builtin}="kmod load i2o_block"
SUBSYSTEM=="module", KERNEL=="parport_pc", RUN{builtin}="kmod load ppdev"

LABEL="drivers_end"
Comment 3 William Hubbs gentoo-dev 2012-08-01 23:00:08 UTC
This is the information I got from upstream on this issue:

First, upgrade to udev-187. Then, once udev-187 is running, use the
following command.

udevadm test .

That will complain if there are issues with the rules files.

I ran this on udev-187 and it seems to work fine here.

Please re-open if you still have an issue.