summaryrefslogtreecommitdiff
path: root/units/tmp.mount
Commit message (Collapse)AuthorAgeFilesLines
* Add SPDX license headers to unit filesZbigniew Jędrzejewski-Szmek2017-11-191-0/+2
|
* core: make "tmpfs" dependencies on swapfs a "default" dep, not an "implicit"Lennart Poettering2017-11-101-0/+1
| | | | | | | | | | | | There should be a way to turn this logic of, and DefaultDependencies= appears to be the right option for that, hence let's downgrade this dependency type from "implicit" to "default, and thus honour DefaultDependencies=. This also drops mount_get_fstype() as we only have a single user needing this now. A follow-up for #7076.
* mount: make sure we unmount tmpfs mounts before we deactivate swaps (#7076)Michal Sekletar2017-10-161-1/+0
| | | | | | | | In the past we introduced this property just for tmp.mount. However on todays systems usually there are many more tmpfs mounts. Most notably mounts backing XDG_RUNTIME_DIR for each user. Let's generalize what we already have for tmp.mount and implement the ordering After=swap.target for all tmpfs based mounts.
* units: do not perform m4 if not necessary (#6575)Yu Watanabe2017-08-091-0/+22
|
* units: add 'SmackFileSystemRoot=*' option into tmp.mountSangjung Woo2015-10-241-21/+0
| | | | | | | | | | If SMACK is enabled, 'smackfsroot=*' option should be specified when /tmp is mounted since many non-root processes use /tmp for temporary usage. If not, /tmp is labeled as '_' and smack denial occurs when writing. In order to do that, 'SmackFileSystemRoot=*' is newly added into tmp.mount.
* Revert "units: add 'smackfsroot=*' option into tmp.mount when SMACK is enabled"Kay Sievers2015-10-181-0/+21
| | | | | | | This reverts commit 409c2a13fd65692c611b7bcaba12e908ef7cf1e5. It breaks the bootup of systems which enable smack at compile time, but have no smack enabled in the kernel. This needs a different solution.
* units: add 'smackfsroot=*' option into tmp.mount when SMACK is enabledSangjung Woo2015-10-151-21/+0
| | | | | | | If SMACK is enabled, 'smackfsroot=*' option should be specified in tmp.mount file since many non-root processes use /tmp for temporary usage. If not, /tmp is labeled as '_' and smack denial occurs when writing.
* units: skip mounting /tmp if it is a symlinkLennart Poettering2014-06-301-0/+1
| | | | | We shouldn't get confused if people have symlinked /tmp somewhere, so let's simply skip the mount then.
* units: add reference to new wiki page to all api mount unitsLennart Poettering2013-01-151-0/+1
|
* units: don't order tmp.monut after local-fs-pre.targetTom Gundersen2012-10-231-1/+3
| | | | Since tmp.mount is a tmpfs this is not necesary, and should speed up boot marginally.
* man: add Documentation= tag to tmp.mountLennart Poettering2012-06-271-0/+1
|
* relicense to LGPLv2.1 (with exceptions)Lennart Poettering2012-04-121-2/+2
| | | | | | | | | | | | | | We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
* enable proper access timestamps on all tmpfs mountsKay Sievers2012-04-111-1/+1
|
* units: mount /tmp as tmpfsKay Sievers2012-03-271-0/+16
| | | | | | | | | | | | | The default setups should be a stateless as possible. /tmp as tmpfs is the intended default for general purpose systems. Small temporary files should not be stored on disk; lager files, or files which should potentially survive a reboot, belong into /var/tmp. Also catch up with some good old UNIX history. More details are here: https://fedoraproject.org/wiki/Features/tmp-on-tmpfs
* delete tmp.mount which may conflict with an unrelated fstab entryKay Sievers2010-11-151-16/+0
|
* units: add optional tmp.serviceKay Sievers2010-09-221-3/+0
|
* units: add tmp.mountKay Sievers2010-08-171-0/+19