Bug 4900 - systemd automatically mounts new swaps (other system's hibernates may become broken)
: systemd automatically mounts new swaps (other system's hibernates may become ...
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: Fresh
: All Linux
: Normal normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
Depends on:
  Show dependency treegraph
Reported: 2015-01-16 17:15 MSK by Konstantin Vlasov
Modified: 2015-10-12 18:12 MSD (History)
2 users (show)

See Also:
RPM Package:
Bad POT generating:


Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Vlasov 2015-01-16 17:15:58 MSK
Machine: Lenovo IdeaPad U310

There are 5 swap partitions on this machine, each one for separate OS. ROSA R5 installed on /dev/sdb9 is configured to use swap /dev/sdb8, as specified in /etc/fstab. However, when booting, systemd also automatically attaches swap partitions sdb14 and sdb18.

Investigation showed that they are mounted via systemd-gpt-generator which claims to find and mount new swap partitions, but in this case it is unclear why other 2 swap partitions are ignored...

Anyway, we need to disable this automounting. Those swaps belong to other OS which can use them for their own hibernating, so the RAM contents which will be broken if the swap is reused by another OS.
Comment 1 Vladimir Potapov 2015-10-12 18:12:33 MSD
Fixed since R6