1
0
Fork
You've already forked seedfiles
0
A portable drop-in reimplementation of systemd-tmpfiles.
  • C 93.7%
  • Shell 5.5%
  • Meson 0.8%
2026年05月06日 18:55:24 +02:00
src Add proper fallback for missing O_PATH 2026年05月06日 18:55:24 +02:00
test Implement reading from stdin 2026年04月04日 16:31:37 +02:00
.gitignore Add initial tmpfiles implementation 2026年03月19日 18:26:31 +01:00
COPYING Add readme 2026年03月19日 18:56:47 +01:00
meson.build Replace ifdefs with platform specific code files 2026年04月17日 18:32:15 +02:00
README.md Implement operator w 2026年03月23日 07:10:32 +01:00

seedfiles

A portable drop-in reimplementation of systemd-tmpfiles.

Implements pretty much all of systemd-tmpfiles, searches the same config paths and allows for per-user configs.

Diferences to systemd-tmpfiles

Following features are not implemented in seedfiles, but exist in systemd-tmpfiles. If any feature is needed but not implemented, feel free to open an issue or send a patch!

Item types:

  • e - Adjusting permissions on existing directory

Modifiers:

  • ~ - base64 decoded fields
  • ^ - reading arguments from systemd-credentials
  • $ - entries for --purge
  • ? - skip symlink creation if target doesn't exist

CLI Flags:

  • --purge - Delete everything that would have been created
  • --cat-config - Print all resolved config files
  • --tldr - Same as --cat-config but without comments
  • --gaceful - Silently ignoring users/groups
  • -E - Exclude /dev, /proc, /run and /sys prefixes
  • --root - Operating on an alternative system root
  • --image - Operate on a disk image
  • --image-policy - Disk image policy
  • --replace - Replace specific config files

Missing Features/Subsystems

  • SELinux - No label management, z/Zonly do chmod/chown
  • age-by - Timestamp in age column is ignored, only mtime is checked by cleanup
  • credentials - No systemd-credentials support
  • BTRFS - v/q/Q fall back to mkdir, don't act on subvolumes/quotas