guix-commits
[Top][All Lists]
Advanced

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

branch master updated: services: pam-limits: fix limits.conf location


From: guix-commits
Subject: branch master updated: services: pam-limits: fix limits.conf location
Date: Sat, 07 Aug 2021 11:35:13 -0400

This is an automated email from the git hooks/post-receive script.

roptat pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 29883f1  services: pam-limits: fix limits.conf location
29883f1 is described below

commit 29883f113087edaf24570fbd7f1113df907f1099
Author: muradm <mail@muradm.net>
AuthorDate: Sun Aug 1 06:14:00 2021 +0300

    services: pam-limits: fix limits.conf location
    
    * gnu/services/base.scm: fix limits.conf location
    
    This fixes #49771
    
    Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
 gnu/services/base.scm | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index e206bea..c784d31 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -1383,14 +1383,8 @@ information on the configuration file syntax."
   (let ((security-limits
          ;; Create /etc/security containing the provided "limits.conf" file.
          (lambda (limits-file)
-           `(("security"
-              ,(computed-file
-                "security"
-                #~(begin
-                    (mkdir #$output)
-                    (stat #$limits-file)
-                    (symlink #$limits-file
-                             (string-append #$output "/limits.conf"))))))))
+           `(("security/limits.conf"
+              ,limits-file))))
         (pam-extension
          (lambda (pam)
            (let ((pam-limits (pam-entry



reply via email to

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