systemd-inhibit don't work

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

 



well, i would expect that the reboot in the scond ssh-session is
refused.......

[root@master:~]$ /usr/bin/systemd-inhibit --what=shutdown --who=root
--why="Backup in progress" --mode=block sleep 600

[root@master:~]$ /usr/bin/systemd-inhibit; systemctl reboot
WHO  UID USER PID COMM            WHAT     WHY                MODE
root 0   root 569 systemd-inhibit shutdown Backup in progress block

1 inhibitors listed.
[root@master:~]$ Connection to master.thelounge.net closed by remote host.
Connection to master.thelounge.net closed.
[harry@srv-rhsoft:~]$
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux