https://bugzilla.novell.com/show_bug.cgi?id=731601 https://bugzilla.novell.com/show_bug.cgi?id=731601#c18 --- Comment #18 from Tony Mechelynck <antoine.mechelynck@belgacom.net> 2012-03-27 14:52:03 CEST --- (In reply to comment #17)
try replacing "nofail" with "defaults" in /etc/fstab. It should fix your issue.
Hm, I'll try; but the idea was to make the file "optional" without the need to edit the fstab every time I create or remove the file (which I don't really need except when running some extremely memory-expensive job such as compiling and _linking_ the latest SeaMonkey changeset). If systemd tries to enable the swap (with "defaults" rather than "nofail") before remounting the / filesystem read-write, won't I get a fatal message from swapon when trying to enable /swapfile as a mandatory swap device? We'll see: if it doesn't work I now know how to reboot /sbin/sysvinit or even /bin/bash to undo the change in "emergency repairs" mode. (IIUC under sysvinit swapon is run twice: once very early to enable swap "partitions" as soon as possible, and a second time after fstab devices are mounted to enable swap "files" once they can be reached. Note also that unlike systemd, sysvinit mounts swap with negative priorities.) Well, stay tuned for further flash news on this channel ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.