From 29883f113087edaf24570fbd7f1113df907f1099 Mon Sep 17 00:00:00 2001 From: muradm Date: Sun, 1 Aug 2021 06:14:00 +0300 Subject: services: pam-limits: fix limits.conf location * gnu/services/base.scm: fix limits.conf location This fixes #49771 Signed-off-by: Julien Lepiller --- gnu/services/base.scm | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'gnu/services/base.scm') diff --git a/gnu/services/base.scm b/gnu/services/base.scm index e206bea5f0..c784d312b1 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -1383,14 +1383,8 @@ (define pam-limits-service-type (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 -- cgit v1.2.3