From b4c8855eaa5644b95f7d6053c099690a20ed1259 Mon Sep 17 00:00:00 2001 From: Brice Waegeneire Date: Sat, 7 Nov 2020 10:18:23 +0100 Subject: [PATCH] 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 8dc6a4f303..a7502cf5db 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -702,6 +702,7 @@ (define-public shadow '(,@(if (hurd-target?) '() '("--with-libpam")) + "shadow_cv_logdir=/var/log" "ac_cv_func_setpgrp_void=yes") #:phases