unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: muradm <mail@muradm.net>
To: 49804@debbugs.gnu.org
Subject: [bug#49804] [PATCH] services: pam-limits: fix limits.conf location
Date: Sun, 01 Aug 2021 06:14:00 +0300	[thread overview]
Message-ID: <874kc9n9fr.fsf@muradm.net> (raw)

[-- 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

             reply	other threads:[~2021-08-01  3:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-01  3:14 muradm [this message]
2021-08-07 15:35 ` bug#49804: [PATCH] services: pam-limits: fix limits.conf location Julien Lepiller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874kc9n9fr.fsf@muradm.net \
    --to=mail@muradm.net \
    --cc=49804@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).