GNU bug report logs - #49804
[PATCH] services: pam-limits: fix limits.conf location

Previous Next

Package: guix-patches;

Reported by: muradm <mail <at> muradm.net>

Date: Sun, 1 Aug 2021 03:15:01 UTC

Severity: normal

Tags: patch

Done: Julien Lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#49804: closed ([PATCH] services: pam-limits: fix limits.conf
 location)
Date: Sat, 07 Aug 2021 15:37:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 7 Aug 2021 17:35:47 +0200
with message-id <20210807173547.12257ae6 <at> tachikoma.lepiller.eu>
and subject line Re: [bug#49804] [PATCH] services: pam-limits: fix limits.conf location
has caused the debbugs.gnu.org bug report #49804,
regarding [PATCH] services: pam-limits: fix limits.conf location
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
49804: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49804
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: muradm <mail <at> muradm.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] services: pam-limits: fix limits.conf location
Date: Sun, 01 Aug 2021 06:14:00 +0300
[Message part 3 (text/plain, inline)]
* gnu/services/base.scm: fix limits.conf location

This fixes #49771

[guix-49771.patch (text/x-patch, inline)]
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index ab3e441a7b..53c3abfa48 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
[Message part 5 (message/rfc822, inline)]
From: Julien Lepiller <julien <at> lepiller.eu>
To: muradm <mail <at> muradm.net>
Cc: 49804-done <at> debbugs.gnu.org, 49771-done <at> debbugs.gnu.org
Subject: Re: [bug#49804] [PATCH] services: pam-limits: fix limits.conf location
Date: Sat, 7 Aug 2021 17:35:47 +0200
Le Sun, 01 Aug 2021 06:14:00 +0300,
muradm <mail <at> muradm.net> a écrit :

> * gnu/services/base.scm: fix limits.conf location
> 
> This fixes #49771
> 

Pushed as 29883f113087edaf24570fbd7f1113df907f1099, thank you!


This bug report was last modified 4 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.