diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-04-17 13:53:05 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-04-17 13:53:16 +0200 |
commit | 5e25ebe2fa70297d094fe891b81c4970e45a906a (patch) | |
tree | 3598bab37caa2b93eb4cbc40f94b74f5f2f4f7ec /gnu/services/avahi.scm | |
parent | 8e974b9b98d15b41073b9061d40949517bbf35be (diff) |
services: Explicitly refer to Shadow when requiring the 'nologin' shell.
* gnu/services/avahi.scm (avahi-service): Change 'shell' to a gexp
referring to "nologin" in the SHADOW package.
* gnu/services/dbus.scm (dbus-service): Likewise.
* gnu/services/networking.scm (ntp-service, tor-service): Likewise.
Diffstat (limited to 'gnu/services/avahi.scm')
-rw-r--r-- | gnu/services/avahi.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/avahi.scm b/gnu/services/avahi.scm index 89478cb997..0a56f3d7f6 100644 --- a/gnu/services/avahi.scm +++ b/gnu/services/avahi.scm @@ -20,6 +20,7 @@ #:use-module (gnu services) #:use-module (gnu system shadow) #:use-module (gnu packages avahi) + #:use-module (gnu packages admin) #:use-module (guix monads) #:use-module (guix store) #:use-module (guix gexp) @@ -106,6 +107,6 @@ sockets." (comment "Avahi daemon user") (home-directory "/var/empty") (shell - "/run/current-system/profile/sbin/nologin")))))))) + #~(string-append #$shadow "/sbin/nologin"))))))))) ;;; avahi.scm ends here |