]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: reuse the same /tmp, /var/tmp and inaccessible dir
authorMichal Sekletar <msekleta@redhat.com>
Thu, 14 Mar 2013 17:12:27 +0000 (18:12 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 16 Mar 2013 02:56:40 +0000 (22:56 -0400)
commitc17ec25e4d9bd6c8e8617416f813e25b2ebbafc5
tree6a414a30460e6a362180a059bc93e88cea946916
parent3b953d68c628c6ae70adba871719ac0f16083b51
core: reuse the same /tmp, /var/tmp and inaccessible dir

All Execs within the service, will get mounted the same
/tmp and /var/tmp directories, if service is configured with
PrivateTmp=yes. Temporary directories are cleaned up by service
itself in addition to systemd-tmpfiles. Directory which is mounted
as inaccessible is created at runtime in /run/systemd.
15 files changed:
man/systemd.exec.xml
src/core/execute.c
src/core/execute.h
src/core/manager.c
src/core/manager.h
src/core/mount-setup.c
src/core/mount.c
src/core/namespace.c
src/core/namespace.h
src/core/service.c
src/core/socket.c
src/core/swap.c
src/shared/util.c
src/shared/util.h
src/test/test-ns.c