aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/base.scm
diff options
context:
space:
mode:
authormuradm <mail@muradm.net>2021-08-01 06:14:00 +0300
committerJulien Lepiller <julien@lepiller.eu>2021-08-07 17:34:23 +0200
commit29883f113087edaf24570fbd7f1113df907f1099 (patch)
tree23f9482ae26acf3fed4dd49f5d100872f4532d64 /gnu/services/base.scm
parentae16fa14d3f5f5c6daebfd29a0bb608aa685b6de (diff)
downloadguix-29883f113087edaf24570fbd7f1113df907f1099.tar
guix-29883f113087edaf24570fbd7f1113df907f1099.tar.gz
services: pam-limits: fix limits.conf location
* gnu/services/base.scm: fix limits.conf location This fixes #49771 Signed-off-by: Julien Lepiller <julien@lepiller.eu>
Diffstat (limited to 'gnu/services/base.scm')
-rw-r--r--gnu/services/base.scm10
1 files changed, 2 insertions, 8 deletions
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 @@ 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