apteryx pushed a commit to branch core-updates-frozen
in repository guix.
commit f09563abb3cda1fe0d3a12e43c8f5382fb50d4c3
Author: Brice Waegeneire <[email protected]>
AuthorDate: Sat Nov 7 10:18:23 2020 +0100
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'.
---
gnu/packages/admin.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index f9eeffa..7a12699 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