Commit graph

34 commits

Author SHA1 Message Date
Lennart Poettering ad293f5a94 cgroup: honour sticky bit when trimming cgroup trees 2011-08-21 20:07:46 +02:00
Lennart Poettering 4c12626c8e umask: change default umask to 0022 just to be sure, and set it explicitly in all binaries, in order to make sure it is set when started from the terminal 2011-08-01 20:52:18 +02:00
Lennart Poettering 4b67834e9f util: make use of get_user_creds() and get_group_creds() wherever applicable 2011-07-23 01:17:59 +02:00
Lennart Poettering ddd8876392 util: user parse_uid() wherever applicable 2011-07-23 00:47:17 +02:00
Lennart Poettering ee17ee7c5c tmpfiles: allow creation of named pipes with tmpfiles 2011-07-12 03:56:56 +02:00
Lennart Poettering 21bdae12e1 tmpfiles: don't exit with an error code if we cannot access all files
This is just to avoid confusion if people use stuff like FUSE file
systems or SELinux which might disallow access to files even if tmpfiles
is running as root.

We still log away if we cannot access a file, but we do not return a
failure exit code in the end.
2011-07-02 01:45:29 +02:00
Kay Sievers 223a355816 binfmt, modules-load, sysctl, tmpfiles: read /usr/local/lib and where appropriate /lib directories 2011-04-30 20:31:33 +02:00
Kay Sievers 44143309dd util: conf_files_list() return list as parameter 2011-04-28 23:51:24 +02:00
Kay Sievers 772f83719e tmpfiles.d: switch to stacked config dirs in /lib, /etc, /run 2011-04-25 21:38:21 +02:00
Lennart Poettering bfe95f35bf tmpfiles: don't warn if two identical lines are configured
https://bugzilla.redhat.com/show_bug.cgi?id=690253
2011-04-10 01:27:19 +02:00
Kay Sievers db019b8dd2 change remaining /var/run to /run 2011-04-04 15:33:00 +02:00
Kay Sievers 3336686286 tmpfiles: create leading directories for d/D instructions 2011-04-03 22:22:56 +02:00
Lennart Poettering bb29785e0d general: replace a few uses of /var/run by /run 2011-04-01 15:25:46 +02:00
Lennart Poettering 1a6f4df6c9 dirent: support DT_UNKNOWN where necessary for compat with reiserfs 2011-03-03 16:29:50 +01:00
Harald Hoyer 35b8ca3aaf Spelling Corrections
Just some lame spelling corrections with no functionality.
2011-02-28 22:47:38 +01:00
Lennart Poettering c904f64d84 label: udev might be making changes in /dev while we iterate through it
Also, there are most likely dead symlinks in there, so let's ignore
ENOENT when we relabel.

https://bugzilla.redhat.com/show_bug.cgi?id=680169
2011-02-25 01:47:31 +01:00
Lennart Poettering 78ab08eb1a tmpfiles: never clean up block devices 2011-02-19 14:20:16 +01:00
Lennart Poettering 4ff21d8582 tmpfiles: kill double slashes in unix socket names, just in case 2011-02-17 13:13:34 +01:00
Lennart Poettering 17b9052533 tmpfiles: never delete AF_UNIX sockets that are alive 2011-02-14 21:55:06 +01:00
Lennart Poettering 522d4a495a systemd: document systemd-tmpfiles 2011-02-13 15:08:15 +01:00
Lennart Poettering fba6e68723 tmpfiles: take names of tmpfiles configuration files on the command line 2011-02-13 14:00:54 +01:00
Lennart Poettering eb0ca9ebff tmpfiles: log to stderr if possible 2011-02-12 09:31:38 +01:00
Lennart Poettering b8bb3e8f34 tmpfiles: support globs 2011-02-12 09:31:25 +01:00
Lennart Poettering bd40a2d830 clang: fix some issues found with clang-analyzer 2011-01-22 02:19:16 +01:00
Lennart Poettering 022707d961 tmpfiles: nicer message when two or more conflicting lines are configured for the same file 2011-01-05 16:11:15 +01:00
Lennart Poettering a247755d52 tmpfiles: ensure we do no follow symlinks when cleaning up dirs
Patch suggested by Miloslav Trmac.
2010-12-28 14:21:28 +01:00
Lennart Poettering 9c73736da8 tmpfiles: ignore files marked with the sticky bit 2010-11-14 20:12:51 +01:00
Gustavo Sverzut Barbieri abe35cc2b7 tmpfiles: consider TRUNCATE_DIRECTORY as well.
reorder lines to match the enum declaration.
2010-10-21 13:53:47 +02:00
Lennart Poettering 29003cffa7 tmpfiles: destruct selinux database after use 2010-10-19 19:36:45 +02:00
Lennart Poettering 3b63d2d31d tmpfiles: integrate kay's directory cleanup code and otherwise beef up tmpfiles quite a bit 2010-10-18 22:38:41 +02:00
Andreas Jaeger 010004791c tmpfiles: fix typo in comment 2010-09-29 10:08:24 +02:00
Lennart Poettering 7fcde28044 tmpfiles: move dir to /etc/tempfiles.d/ 2010-09-28 22:32:27 +02:00
Lennart Poettering 4aa8b15b0c tmpfiles: return sensible error code 2010-09-28 22:32:05 +02:00
Lennart Poettering bfaf42d22b tmpfiles: rename tempfiles to tmpfiles since this isn't windows 2010-09-28 22:11:27 +02:00
Renamed from src/tempfiles.c (Browse further)