mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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>
This commit is contained in:
parent
ae16fa14d3
commit
29883f1130
1 changed files with 2 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue