unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#49804] [PATCH] services: pam-limits: fix limits.conf location
@ 2021-08-01  3:14 muradm
  2021-08-07 15:35 ` bug#49804: " Julien Lepiller
  0 siblings, 1 reply; 2+ messages in thread
From: muradm @ 2021-08-01  3:14 UTC (permalink / raw)
  To: 49804

[-- Attachment #1: Type: text/plain, Size: 71 bytes --]


* gnu/services/base.scm: fix limits.conf location

This fixes #49771


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: guix-49771.patch --]
[-- Type: text/x-patch, Size: 828 bytes --]

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#49804: [PATCH] services: pam-limits: fix limits.conf location
  2021-08-01  3:14 [bug#49804] [PATCH] services: pam-limits: fix limits.conf location muradm
@ 2021-08-07 15:35 ` Julien Lepiller
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Lepiller @ 2021-08-07 15:35 UTC (permalink / raw)
  To: muradm; +Cc: 49804-done, 49771-done

Le Sun, 01 Aug 2021 06:14:00 +0300,
muradm <mail@muradm.net> a écrit :

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

Pushed as 29883f113087edaf24570fbd7f1113df907f1099, thank you!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-07 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-01  3:14 [bug#49804] [PATCH] services: pam-limits: fix limits.conf location muradm
2021-08-07 15:35 ` bug#49804: " Julien Lepiller

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).