dcavalca / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

58b22c Resort to `kill -TERM 1` to re-exec the daemon

1 file Authored by anitazha 4 years ago, Committed by filbranden 4 years ago,
1 file changed. 1 lines added. 1 lines removed.
    Resort to `kill -TERM 1` to re-exec the daemon
    
    This might be more reliable when upgrading from an older systemd package. The
    systemctl call to reexec will occasionally fail with "Access denied" when we
    upgrade from a much older version (like 2-3 versions older). However, sending
    PID 1 a SIGTERM is documented to be mostly the same and fixes it 100% of the
    times.
    
    Signed-off-by: Anita Zhang <the.anitazha@gmail.com>
    Signed-off-by: Filipe Brandenburger <filbranden@gmail.com>
    
        
file modified
+1 -1