Bug 1740666

Summary: Invalid value for OPTIONS key in udev rules
Product: [Fedora] Fedora Reporter: Lukas Slebodnik <lslebodn>
Component: lvm2Assignee: Peter Rajnoha <prajnoha>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: agk, anprice, bmarzins, bmr, cfeist, heinzm, jonathan, kzak, lvm-team, mcsontos, msnitzer, prajnoha, prockai, zkabelac
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lvm2-2.03.05-4.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-18 14:17:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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