mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -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
|
(let ((security-limits
|
||||||
;; Create /etc/security containing the provided "limits.conf" file.
|
;; Create /etc/security containing the provided "limits.conf" file.
|
||||||
(lambda (limits-file)
|
(lambda (limits-file)
|
||||||
`(("security"
|
`(("security/limits.conf"
|
||||||
,(computed-file
|
,limits-file))))
|
||||||
"security"
|
|
||||||
#~(begin
|
|
||||||
(mkdir #$output)
|
|
||||||
(stat #$limits-file)
|
|
||||||
(symlink #$limits-file
|
|
||||||
(string-append #$output "/limits.conf"))))))))
|
|
||||||
(pam-extension
|
(pam-extension
|
||||||
(lambda (pam)
|
(lambda (pam)
|
||||||
(let ((pam-limits (pam-entry
|
(let ((pam-limits (pam-entry
|
||||||
|
|
Loading…
Reference in a new issue