ROSA Linux Bugzilla – Bug 4900
systemd automatically mounts new swaps (other system's hibernates may become broken)
Last modified: 2015-10-12 18:12:33 MSD
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.
Fixed since R6