guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: services: openssh: Remove authorized_keys.d befor


From: guix-commits
Subject: branch master updated: services: openssh: Remove authorized_keys.d before copying the new one.
Date: Thu, 26 May 2022 11:06:39 -0400

This is an automated email from the git hooks/post-receive script.

civodul pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 4577f3c6b6 services: openssh: Remove authorized_keys.d before copying 
the new one.
4577f3c6b6 is described below

commit 4577f3c6b60ea100e521c246fb169d6c05214b20
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu May 26 17:00:33 2022 +0200

    services: openssh: Remove authorized_keys.d before copying the new one.
    
    Fixes <https://issues.guix.gnu.org/55661>.
    
    * gnu/services/ssh.scm (openssh-activation): Fix typo in
    'delete-file-recursively' call.
---
 gnu/services/ssh.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/services/ssh.scm b/gnu/services/ssh.scm
index aa024599a1..57d3ad218c 100644
--- a/gnu/services/ssh.scm
+++ b/gnu/services/ssh.scm
@@ -394,7 +394,7 @@ The other options should be self-descriptive."
         ;; authorized-key directory to /etc.
         (catch 'system-error
           (lambda ()
-            (delete-file-recursively "/etc/authorized_keys.d"))
+            (delete-file-recursively "/etc/ssh/authorized_keys.d"))
           (lambda args
             (unless (= ENOENT (system-error-errno args))
               (apply throw args))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]