[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#857677: use /run in systemd-tmpfiles config



Package: openssh-server
Version: 1:7.4p1-6
User: selinux-devel@lists.alioth.debian.org
Usertags: selinux

Hi,
OpenSSH-server ships a systemd-tmpfiles configuration for creating a
runtime directory.
On SELinux enabled systems, systemd-tmpfiles automatically sets the
correct file context on creation according to the policy's
configuration.
Since recently the reference policy defines the file contexts with
/run prefixes [1] and only supports /var/run via a backward
compatibility alias.
Please alter the path from /var/run/sshd to /run/sshd in
/usr/lib/tmpfiles.d/sshd.conf to avoid wrong file contexts in the
future.

Best regards,
    Christian Göttsche


[1] https://github.com/TresysTechnology/refpolicy/blob/master/policy/modules/services/ssh.fc#L21


Reply to: