/tmp files

Matthew Miller mattdm at fedoraproject.org
Thu Feb 19 20:22:22 UTC 2015


On Thu, Feb 19, 2015 at 11:06:31AM -0700, jd1008 wrote:
> Thank you Matthew, Thank you Rejy for your help.
> All is well now.
> systemctl mask tmp.mount
>  and
> vi /usr/lib/tmpfiles.d/tmp.conf
> where I commented out those 2 lines outlibed by Matthew
> did the trick.
> Will this change survive the updates?


The former will -- the "mask" change alters configuration.

The second will survive until systemd is updated, at which point it
will be overwritten. Use /etc/tmpfiles.d instead for local
configuration.

(This is a really nice thing about systemd — defaults and user/admin
configuration are neatly separated in this way, so you can know that if
there are files in /etc, you know that they're changes to the default.)

-- 
Matthew Miller
<mattdm at fedoraproject.org>
Fedora Project Leader


More information about the users mailing list