Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577118 - sys-fs/udev-229-r2 - invalid ACTION operation / invalid rule '/lib64/udev/rules.d/40-gentoo.rules:[2,3]
Summary: sys-fs/udev-229-r2 - invalid ACTION operation / invalid rule '/lib64/udev/rul...
Status: RESOLVED INVALID
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: 2016-03-12 02:18 UTC by Thomas Deutschmann (RETIRED)
Modified: 2016-03-12 14:58 UTC (History)
0 users

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 Thomas Deutschmann (RETIRED) gentoo-dev 2016-03-12 02:18:00 UTC
With sys-fs/udev-229-r2 I am getting

> [   11.734608] udevd[3283]: starting version 229
> [   11.741842] udevd[3284]: invalid ACTION operation
> [   11.741845] udevd[3284]: invalid rule '/lib64/udev/rules.d/40-gentoo.rules:2'
> [   11.741847] udevd[3284]: invalid ACTION operation
> [   11.741848] udevd[3284]: invalid rule '/lib64/udev/rules.d/40-gentoo.rules:3'
> [   11.756847] udevd[3284]: invalid ACTION operation
> [   11.756850] udevd[3284]: invalid rule '/lib64/udev/rules.d/40-gentoo.rules:2'
> [   11.756852] udevd[3284]: invalid ACTION operation
> [   11.756853] udevd[3284]: invalid rule '/lib64/udev/rules.d/40-gentoo.rules:3'

on boot.

# cat /lib64/udev/rules.d/40-gentoo.rules
# Gentoo specific floppy and usb groups
ACTION="add", SUBSYSTEM=="block", KERNEL=="fd[0-9]", GROUP="floppy"
ACTION="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb"

The file was changed in -r2, udev-229 worked: https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-fs/udev/udev-229.ebuild?id=f22dc35ae6f299a264552e440c3f38f50df7ab55#n118

Looks like this was changed because of bug 571986?
Comment 1 Mike Gilbert gentoo-dev 2016-03-12 03:33:32 UTC
The ebuild has this:

    cat <<-EOF > "${T}"/40-gentoo.rules
    # Gentoo specific floppy and usb groups
    ACTION=="add", SUBSYSTEM=="block", KERNEL=="fd[0-9]", GROUP="floppy"
    ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb"
    EOF

The rules on your machine seem to be missing an equal sign after ACTION.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-03-12 08:52:25 UTC
I suppose that's an error I added to the udev ebuild in my personal overlay (poly-c overlay).
I have fixed that meanwhile.
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2016-03-12 14:58:23 UTC
Closing this as invalid, sys-fs/udev::gentoo was never affected: Yes, I was using an outdated sys-fs/udev ebuild from Lars' overlay.

I knew that I was using the version from the overlay, however I didn't spot '=' vs '==' and only remembered this change...

Sorry for wasting your time.