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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49804 in the body.
You can then email your comments to 49804 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#49804; Package guix-patches. (Sun, 01 Aug 2021 03:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to muradm <mail <at> muradm.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 01 Aug 2021 03:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 1 (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

Reply sent to Julien Lepiller <julien <at> lepiller.eu>:
You have taken responsibility. (Sat, 07 Aug 2021 15:37:02 GMT) Full text and rfc822 format available.

Notification sent to muradm <mail <at> muradm.net>:
bug acknowledged by developer. (Sat, 07 Aug 2021 15:37:02 GMT) Full text and rfc822 format available.

Message #10 received at 49804-done <at> debbugs.gnu.org (full text, mbox):

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!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 05 Sep 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 226 days ago.

Previous Next


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