Bug#807769: systemd: /tmp mounted as tmpfs without user asking for it
Sanjoy Mahajan
sanjoy at mit.edu
Sun Dec 13 19:12:26 GMT 2015
Michael Biebl <biebl at debian.org> writes:
> Have you read the comments in /etc/tmpfiles.d/tmp.conf ?
> You previously already had tmpfs-on-/tmp under sysvinit as you've set it
> in /etc/default/rcS.
I don't think so. See the current /etc/default/rcS below. It
is also the version almost from the beginning (according to etckeeper),
although I might well have modified it just before installing etckeeper.
> This setting was migrated when systemd was installed.
> Are you saying this setting was incorrectly migrated?
No.
> Can you attach your /etc/default/rcS?
Here it is:
#
# /etc/default/rcS
#
# Default settings for the scripts in /etc/rcS.d/
#
# For information about these variables see the rcS(5) manual page.
#
# This file belongs to the "initscripts" package.
# delete files in /tmp during boot older than x days.
# '0' means always, -1 or 'infinite' disables the feature
TMPTIME=-1
# spawn sulogin during boot, continue normal boot if not used in 30 seconds
#SULOGIN=no
# do not allow users to log in until the boot has completed
#DELAYLOGIN=no
# be more verbose during the boot process
#VERBOSE=no
# automatically repair filesystems with inconsistencies during boot
#FSCKFIX=no
> As for your question:
> If you want to get rid of tmpfs-on-/tmp, run systemctl disable tmp.mount
Thank you. That seems reasonable.
> and then rm /etc/tmpfiles.d/tmp.conf
That will stop any tmp cleaning, which I don't like, but is a separate
issue from getting rid of tmpfs-on-/tmp.
-Sanjoy
More information about the Pkg-systemd-maintainers
mailing list