5c5a95 Update kill -TERM fallback to check that systemd is PID 1

1 file Authored by filbranden 4 years ago, Committed by Zbigniew Jędrzejewski-Szmek 4 years ago,
1 file changed. 27 lines added. 2 lines removed.
    Update kill -TERM fallback to check that systemd is PID 1
    
    Also only execute the fallback when we're upgrading the RPM package.
    
    Add a comment to indicate the actual bug in systemd v239 we're trying to
    fix with this fallback.
    
    Tested: Upgraded from v239 on a machine and confirmed that running
    `sudo systemctl status` was working as expected after the upgrade, rather
    than failing with "Access denied."
    
        
file modified
+27 -2