Bug#849858: splt systemd tmpfile configuration files into respective packages

cgzones cgzones at googlemail.com
Sun Jan 1 14:19:56 GMT 2017


Package: systemd
Version: 232-8

Can the configuration files under /usr/lib/tmpfiles.d/ be distributed
be their respective packages.
Like:
Configuration file               Package
colord.conf                        colord
dbus.conf                          dbus
gvfsd-fuse-tmpfiles.conf    gvfs or gvfs-common
lvm2.conf                           lvm2
man-db.conf                      man-db
openvpn.conf                    openvpn
sshd.conf                          openssh-server
x11.conf                            x11-common

The reason why that's bothering me is, I am using SELinux on a
headless debian, i.e. I have no xserver/x11 package installed.
Therefore I have no SELinux modules for xserver/x11 loaded.
But because systemd-tmpfiles creates the temporary files for x11 and I
have no SELinux context for them, I get these output when relabeling
the filesystem:

root at debianSE:/root/dtdnssync# restorecon -vv -R -n /
Warning no default label for /tmp/.XIM-unix
Warning no default label for /tmp/.X11-unix
Warning no default label for /tmp/.Test-unix
Warning no default label for /tmp/.ICE-unix
Warning no default label for /tmp/.font-unix

It's not breaking anything but it's noisy.

Kindly Regards,
     Christian Göttsche



More information about the Pkg-systemd-maintainers mailing list