<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - No way to configure systemd-gpt-auto-generator, or mask unwanted vendor's generators by user"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87230">87230</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>No way to configure systemd-gpt-auto-generator, or mask unwanted vendor's generators by user
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>natrio@list.ru
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>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."
<a href="http://www.freedesktop.org/wiki/Software/systemd/Generators/">http://www.freedesktop.org/wiki/Software/systemd/Generators/</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>