guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/149: gnu: shadow: Set log in /var/log.


From: guix-commits
Subject: 06/149: gnu: shadow: Set log in /var/log.
Date: Tue, 26 Oct 2021 23:51:56 -0400 (EDT)

apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.

commit 16e2c32e7a91d35fb89d46a941aec3535e321fea
Author: Brice Waegeneire <brice@waegenei.re>
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 af8f86e..6f9af67 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]