Skip to content

Commit eb83bb7

Browse files
committed
Sync other systemd /tmp mount options with Fedora
The Qubes config for systemd /tmp mount options overrides the size of /tmp due to memory ballooning. However, it only copies some of the other options. This patch syncs with Fedora by also adding the options nosuid,nodev,nr_inodes=1m. Setting nosuid and nodev should have minor security benefits. Increasing nr_inodes is important because otherwise the default is nr_inodes=44492, which is too few inodes for software like "opam" which uses /tmp as a staging directory.
1 parent ee003d4 commit eb83bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm-systemd/tmp.mount.d/30_qubes.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[Mount]
22
# Default initial size is '50%' (of physical RAM at system startup)
33
# Because of memory ballooning this happen to be very low number
4-
Options=mode=1777,strictatime,size=1G
4+
Options=mode=1777,strictatime,nosuid,nodev,size=1G,nr_inodes=1m

0 commit comments

Comments
 (0)