mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-11-19 22:42:24 -05:00
add swap device timeout as a fallback
The previous commit works around a long term systemd bug which recently began impacting us again. If the workaround stops working, the behavior should not be stalling boot forever. Swap isn't needed for our servers to function so it shouldn't break them if it can't be set up.
This commit is contained in:
parent
8340cf2813
commit
e6db6a15e6
2 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/dev/md/root / xfs defaults 0 0
|
||||
/dev/md/boot /boot vfat rw,nosuid,nodev,noexec,fmask=0177,dmask=0077 0 2
|
||||
|
||||
/dev/mapper/swap none swap defaults 0 0
|
||||
/dev/mapper/swap none swap x-systemd.device-timeout=30 0 0
|
||||
tmpfs /etc/session-ticket-keys tmpfs size=1M,mode=750,gid=tls,noswap,x-systemd.before=create-session-ticket-keys.service,x-systemd.required-by=create-session-ticket-keys.service 0 0
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
/dev/mapper/swap none swap defaults 0 0
|
||||
/dev/mapper/swap none swap x-systemd.device-timeout=30 0 0
|
||||
tmpfs /etc/session-ticket-keys tmpfs size=1M,mode=750,gid=tls,noswap,x-systemd.before=create-session-ticket-keys.service,x-systemd.required-by=create-session-ticket-keys.service 0 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue