Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 831376

Summary: sys-apps/systemd-tmpfiles should install some subset of tmpfiles.d snippets
Product: Gentoo Linux Reporter: Mike Gilbert <floppym>
Component: Current packagesAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED OBSOLETE    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mike Gilbert gentoo-dev 2022-01-17 22:45:36 UTC
We should probably update sytemd-tmpfiles to install some subset of the tmpfiles.d snippets shipped with systemd.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2022-01-17 22:47:01 UTC
List of tmpfiles.d files installed by systemd-249.7: 

/usr/lib/tmpfiles.d/etc.conf
/usr/lib/tmpfiles.d/home.conf
/usr/lib/tmpfiles.d/journal-nocow.conf
/usr/lib/tmpfiles.d/legacy.conf
/usr/lib/tmpfiles.d/portables.conf
/usr/lib/tmpfiles.d/static-nodes-permissions.conf
/usr/lib/tmpfiles.d/systemd-nologin.conf
/usr/lib/tmpfiles.d/systemd-nspawn.conf
/usr/lib/tmpfiles.d/systemd-pstore.conf
/usr/lib/tmpfiles.d/systemd-tmp.conf
/usr/lib/tmpfiles.d/systemd.conf
/usr/lib/tmpfiles.d/tmp.conf
/usr/lib/tmpfiles.d/var.conf
/usr/lib/tmpfiles.d/x11.conf
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2022-01-17 22:56:52 UTC
> /usr/lib/tmpfiles.d/etc.conf
> /usr/lib/tmpfiles.d/home.conf
> /usr/lib/tmpfiles.d/var.conf

^ this is all persistently handled by openrc or baselayout


> /usr/lib/tmpfiles.d/journal-nocow.conf
> /usr/lib/tmpfiles.d/systemd-nologin.conf
> /usr/lib/tmpfiles.d/systemd-nspawn.conf
> /usr/lib/tmpfiles.d/systemd-pstore.conf
> /usr/lib/tmpfiles.d/systemd-tmp.conf
> /usr/lib/tmpfiles.d/systemd.conf

^ this is systemd-specific and should not be used


> /usr/lib/tmpfiles.d/legacy.conf

^ here we need only the paths under /run
  may need different permissions:
drwxrwxr-x  3 root  uucp    80 11. Jan 11:19 lock


> /usr/lib/tmpfiles.d/portables.conf

^ no clue what this does


> /usr/lib/tmpfiles.d/static-nodes-permissions.conf
> /usr/lib/tmpfiles.d/tmp.conf
> /usr/lib/tmpfiles.d/x11.conf

^ we probably dont need this, handled otherwise
Comment 3 Marco Scardovi (scardracs) 2022-01-18 06:41:15 UTC
portables.conf seems to be used by portablectl, https://www.freedesktop.org/software/systemd/man/portablectl.html
Comment 4 Mike Gilbert gentoo-dev 2022-01-18 18:43:50 UTC
(In reply to Andreas K. Hüttel from comment #2)
> > /usr/lib/tmpfiles.d/legacy.conf
> 
> ^ here we need only the paths under /run
>   may need different permissions:
> drwxrwxr-x  3 root  uucp    80 11. Jan 11:19 lock

I think we should probably not continue to perpetuate the obsolete "uucp" group.
Comment 5 Mike Gilbert gentoo-dev 2023-07-22 20:35:14 UTC
This was resolved in sys-apps/systemd-utils.