summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorBrice Waegeneire <brice@waegenei.re>2020-11-07 10:18:23 +0100
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-11-11 10:31:15 -0500
commitf09563abb3cda1fe0d3a12e43c8f5382fb50d4c3 (patch)
tree6df0d5c0cdf7c51826fbe7f875695ea28cff886d /gnu
parentf635b3cde790aa1fa65ebe828de8e6dd3fd0aaad (diff)
downloadguix-f09563abb3cda1fe0d3a12e43c8f5382fb50d4c3.tar.gz
gnu: shadow: Set log in /var/log.
Fixes lastlog and faillog commands which otherwise look for lastlog and
faillog files in /etc.

* gnu/packages/admin.scm (shadow)[arguments]: Add configure flag
'shadow_cv_logdir'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/admin.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index f9eeffaa0b..7a126996a1 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -835,6 +835,7 @@ hostname.")
        '(,@(if (hurd-target?)
              '()
              '("--with-libpam"))
+          "shadow_cv_logdir=/var/log"
           "ac_cv_func_setpgrp_void=yes")
 
        #:phases