guix/gnu/services
Ludovic Courtès d429878daf
activation: Shared system home directories are now 555 and root-owned.
Fixes <https://bugs.gnu.org/34788>.
Reported by Jack Hill <jackhill@jackhill.us>.

Regression introduced by the combination of
8bb76f3d44 and
0ae735bcc8ff7fdc89d67b492bdee9091ee19e86: /var/empty would be 700 and
owned by one of the system accounts (thus inaccessible to others), and
/var/run/dbus would be 700 as well, thereby preventing D-Bus clients
from connecting to the daemon.

* gnu/build/activation.scm (duplicates): New procedure.
(activate-users+groups)[system-accounts]: New variable.
Use it.  Make shared system account home directories #o555 and
root-owned.
* gnu/services/dbus.scm (dbus-activation): Make /var/run/dbus #o755.
* gnu/tests/base.scm (run-basic-test): Test the ownership and
permissions of /var/empty.
2019-03-08 23:21:59 +01:00
..
admin.scm
audio.scm
authentication.scm
avahi.scm
base.scm
certbot.scm
cgit.scm
configuration.scm
cuirass.scm services: Use 'file-append' for user account shells. 2019-03-04 15:22:58 +01:00
cups.scm
databases.scm
dbus.scm activation: Shared system home directories are now 555 and root-owned. 2019-03-08 23:21:59 +01:00
desktop.scm
dict.scm
dns.scm
docker.scm
games.scm
herd.scm
kerberos.scm
lirc.scm
mail.scm
mcron.scm
messaging.scm
monitoring.scm services: Use 'file-append' for user account shells. 2019-03-04 15:22:58 +01:00
networking.scm
nfs.scm
pm.scm
rsync.scm services: Use 'file-append' for user account shells. 2019-03-04 15:22:58 +01:00
sddm.scm
security-token.scm
shepherd.scm
sound.scm
spice.scm
ssh.scm services: Use 'file-append' for user account shells. 2019-03-04 15:22:58 +01:00
sysctl.scm
telephony.scm
version-control.scm
virtualization.scm
vpn.scm
web.scm
xorg.scm