Bug 1740666 - Invalid value for OPTIONS key in udev rules
Summary: Invalid value for OPTIONS key in udev rules
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Rajnoha
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-13 12:46 UTC by Lukas Slebodnik
Modified: 2019-09-18 14:17 UTC (History)
14 users (show)

Fixed In Version: lvm2-2.03.05-4.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-18 14:17:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lukas Slebodnik 2019-08-13 12:46:05 UTC
Description of problem:
I noticed errors from udev when debugging unrelated issue 

Version-Release number of selected component (if applicable):
sh# rpm -qf /usr/lib/systemd/systemd-udevd /usr/lib/udev/rules.d/11-dm-lvm.rules
systemd-udev-243~rc1-2.fc31.x86_64
lvm2-2.03.05-1.fc31.x86_64

How reproducible:
Deterministic

Steps to Reproduce:
1. boot your machine with lvm2 installed
2. check journald for errors from systemd-udev

Actual results:
[root@host ~]# journalctl --boot | grep udev | grep 11-dm-lvm.rules
Aug 13 10:03:44 host.example.com systemd-udevd[479]: /usr/lib/udev/rules.d/11-dm-lvm.rules:40 Invalid value for OPTIONS key, ignoring: 'event_timeout=180'
Aug 13 10:03:44 host.example.com systemd-udevd[479]: /usr/lib/udev/rules.d/11-dm-lvm.rules:40 The line takes no effect, ignoring.
Aug 13 10:04:09 host.example.com systemd-udevd[944]: /usr/lib/udev/rules.d/11-dm-lvm.rules:40 Invalid value for OPTIONS key, ignoring: 'event_timeout=180'
Aug 13 10:04:09 host.example.com systemd-udevd[944]: /usr/lib/udev/rules.d/11-dm-lvm.rules:40 The line takes no effect, ignoring.

Expected results:
No errors in journald

Additional info:

Comment 1 Peter Rajnoha 2019-08-13 13:29:06 UTC
OK, we forgot to remove this line, the support for OPTIONS+="event_timeout" was removed 5 years ago in systemd v216 (but it was silently ignored): https://github.com/systemd/systemd/commit/dd5eddd28a74a49607a8fffcaf960040dba98479

The message "Invalid value for OPTIONS key" appears in the newest systemd version 243.

Fixed upstream with https://sourceware.org/git/?p=lvm2.git;a=commit;h=125f27ac37bc9b93cc96f64052b9681b3d479ee1


Note You need to log in before you can comment on or make changes to this bug.