Re: [systemd-devel] systemd-inhibit don't work

2020-08-11 Thread Reindl Harald
Am 10.08.20 um 15:37 schrieb Lennart Poettering: > On Mo, 10.08.20 15:05, Reindl Harald ([email protected]) wrote: > >> 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="Ba

Re: [systemd-devel] systemd-inhibit don't work

2020-08-10 Thread Luca Boccassi
On Mon, 2020-08-10 at 15:37 +0200, Lennart Poettering wrote: > On Mo, 10.08.20 15:05, Reindl Harald ([email protected]) wrote: > > > well, i would expect that the reboot in the scond ssh-session is > > refused... > > > > [root@master:~]$ /usr/bin/systemd-inhibit --what=shutdown --who=roo

Re: [systemd-devel] systemd-inhibit don't work

2020-08-10 Thread Lennart Poettering
On Mo, 10.08.20 15:05, Reindl Harald ([email protected]) wrote: > 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:~]$

[systemd-devel] systemd-inhibit don't work

2020-08-10 Thread Reindl Harald
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 COMMWHAT