[systemd-bugs] [Bug 87230] New: No way to configure systemd-gpt-auto-generator, or mask unwanted vendor's generators by user
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Dec 11 02:24:13 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=87230
Bug ID: 87230
Summary: No way to configure systemd-gpt-auto-generator, or
mask unwanted vendor's generators by user
Product: systemd
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: systemd-bugs at lists.freedesktop.org
Reporter: natrio at list.ru
QA Contact: systemd-bugs at lists.freedesktop.org
1) systemd-generators are typically used to convert configuration files in
units.
But, systemd-gpt-auto-generator has NO config.
2) As it says in a description of generators, "User configuration should
override vendor configuration. This (mostly) means that stuff from /etc should
override stuff from /usr."
http://www.freedesktop.org/wiki/Software/systemd/Generators/
However, the systemd-gpt-auto-generator is provided by the vendor and can not
be overridden or disabled by user.
In addition, the generated units names contain non-permanent device names, like
dev-sda1.swap, and therefore can't be reliably masked by user.
In other words, the systemd-gpt-auto-generator makes GPT, in some
circumstances, a higher priority than the explicitly given configuration in
fstab:
If GPT contain two swap partitions, with DEFAULT, non-changed "swap" ID, it
will automatically connect both swaps, even if the fstab (or directly in the
native units) explicitly stated to use ONLY ONE of them.
Possible solutions:
1) Make systemd-gpt-auto-generator configurable by user, to filter selected
types of partitions, or ability to swich off GPT reading in main systemd
config.
2) Make way to mask unwanted system-generators, like units or udev-rules.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20141211/72d480d6/attachment.html>
More information about the systemd-bugs
mailing list