| Summary: | Journal displays error about systemd-udevd from 50-udev-mageia.rules Invalid value for OPTIONS key, ignoring: 'all_partitions' | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | papoteur <yvesbrungard> |
| Component: | RPM Packages | Assignee: | Thomas Backlund <tmb> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | bittwister2, olav, ouaurelien, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | systemd | CVE: | |
| Status comment: | |||
|
Description
papoteur
2020-06-02 22:32:30 CEST
It seems this option is removed from a long time ago: https://github.com/systemd/systemd/commit/1f084fe5811ce251d516a8022f8c7c27d0ef1f53 "The option "all_partitons" was removed from udev. This should not be needed for usual hardware. Udev can not safely make assumptions about non-exixting partition major/minor numbers, and therefore no longer provide such an unreliable and unsafe option." Thank you for the report and the follow-up. For systemd, assigning to Thomas; CC'ing Thierry who also maintains it. Assignee:
bugsquad =>
tmb Copy of comment by Olav Vitters 2020-07-23 13:57:52 CEST on duplicate bug. commit 1f084fe5811ce251d516a8022f8c7c27d0ef1f53 Author: Kay Sievers <kay@vrfy.org> Date: Tue Apr 13 08:52:48 2010 +0200 remove "all_partitions" option We can not predict the major/minor of non-existing devices: $ grep . /sys/class/block/sd*/dev /sys/class/block/sda1/dev:259:524288 /sys/class/block/sda2/dev:259:262144 /sys/class/block/sda3/dev:259:786432 /sys/class/block/sda4/dev:259:131072 /sys/class/block/sda/dev:259:0 /sys/class/block/sdb/dev:259:655360 /sys/class/block/sdc/dev:259:393216 If this functionality is still needed for some broken hardware, it needs to be solved with a tool not part of the udev package. Because such option is unreliable and unsafe to use. diff --git a/NEWS b/NEWS index c5fbbe165d..c422eaa8e3 100644 --- a/NEWS +++ b/NEWS @@ -2,9 +2,14 @@ udev 152 ======== Bugfixes. -"udevadm trigger" default to "change" events now, instead of "add" +"udevadm trigger" defaults to "change" events now, instead of "add" events. +The option "all_partitons" was removed from udev. This should not be +needed for usual hardware. Udev can not safely make assumptions +about non-exixting partition major/minor numbers, and therefore no +longer provide such an unreliable and unsafe option. + CC:
(none) =>
ouaurelien fixed in svn and pushed out in systemd-246.9-5.mga8 Resolution:
(none) =>
FIXED |