fc5bc384c7691bc9aacf05bfa79a2a02c3d8d45d
If a swap partition is created on a disk using GPT then the unit generated by the gpt-generator can shadow the one generated by the fstab-generator. This can be an issue if the fstab entry for the swap has options since they are simply ignored if PID1 decides to use the unit created by the gpt-generator since this unit carries no information about the swap options. This patch simply disables the GPT auto logic for swaps if at least one entry for swap is defined in /etc/fstab. Fixes: #6192
systemd - System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements are provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the HACKING file for information how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Languages
C
88.5%
Shell
5.7%
Python
4.6%
Meson
1.1%