me
/
guix
Archived
1
0
Fork 0

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>
muradm 2021-08-01 06:14:00 +03:00 committed by Julien Lepiller
parent ae16fa14d3
commit 29883f1130
No known key found for this signature in database
GPG Key ID: 53D457B2D636EE82
1 changed files with 2 additions and 8 deletions

View File

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