]> git.proxmox.com Git - pve-cluster.git/commitdiff
pvecm: updatecerts: reword comment
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 1 Jul 2023 16:35:13 +0000 (18:35 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 1 Jul 2023 17:29:38 +0000 (19:29 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/CLI/pvecm.pm

index 855e074410784ce2c0d1135e9fd2d7112e0baca1..d1ac8f0b5934c9c28829a9dd11d6460dae250f02 100755 (executable)
@@ -574,9 +574,9 @@ __PACKAGE__->register_method ({
        my ($param) = @_;
        my ($force_new_cert, $silent) = $param->@{qw(force silent)};
 
-       # we get called by the pveproxy.service ExecStartPre and as we do
-       # IO (on /etc/pve) which can hang (uninterruptedly D state). That'd be
-       # no-good for ExecStartPre as it fails the whole service in this case
+       # pveproxy's ExecStartPre calls this, and as we do IO (on /etc/pve) that can hang
+       # (uninterruptible D state) we could fail the whole service, rendering the API guaranteed
+       # inaccessible. Let's rather fail small(er) as the API could still work without this..
        PVE::Tools::run_fork_with_timeout(30, sub {
            PVE::Cluster::Setup::generate_local_files();