aboutsummaryrefslogtreecommitdiff
path: root/arch-tmpfiles
AgeCommit message (Collapse)AuthorFiles
2011-12-26arch-tmpfiles: add handling for _z and _ZDave Reisner1
This doesn't actually relabel security contexts, since arch's coreutils isn't built with selinux support, but it handles maintenance of mode and ownership if you're into that sort of thing. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-12-26arch-tmpfiles: simplify uid/gid validationDave Reisner1
getent will process numeric UIDs/GIDs for us. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-12-26arch-tmpfiles: simplify action invocationDave Reisner1
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-12-26arch-tmpfiles: avoid pipe to xargsDave Reisner1
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-12-26arch-tmpfiles: don't truncate directories on --createDave Reisner1
arch-tmpfiles should not truncate directories when invoked with --create. This matches behavior from systemd's tmpfiles binary. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-08-03arch-tmpfiles: avoid subshell in creating empty filesDave Reisner1
install /dev/null as the new file instead of creating an empty file via a no-op process substitution. Signed-off-by: Dave Reisner <dreisner@archlinux.org> [tomegun: the commit also adds a similar fix to rc.shutdown] Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-07-24arch-tmpfiles: add cmdline parametersDave Reisner1
Categorize actions as 'create' or 'remove', for finer control. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-07-24arch-tmpfiles: check args, warn on invalid entriesDave Reisner1
Introduces the checkparams functions, which thoroughly checks arguments for presence, length, and some amount of data validation. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-07-24arch-tmpfiles: add new script to handle volatile file controlDave Reisner1
This is the same concept as systemd's tmpfiles handling, slightly simplified to avoid timed re-triggering of file cleaning. Most of our current file cleaning that takes place in rc.single and rc.sysinit is replaced by this, with the exception that we hold onto the /var/lock and /var/run for finer control, since we still check for the possibility of these directories being symlinks and adjust accordingly. Signed-off-by: Dave Reisner <dreisner@archlinux.org>