Bug#906231: systemd: restarting systemd-logind causes power-button event to immediately shutdown cinnamon without asking
- To: Michael Biebl <biebl@debian.org>, 906231@bugs.debian.org
- Subject: Bug#906231: systemd: restarting systemd-logind causes power-button event to immediately shutdown cinnamon without asking
- From: Christoph Anton Mitterer <calestyo@scientia.net>
- Date: Thu, 16 Aug 2018 01:30:03 +0200
- Message-id: <[🔎] 0ddcd53c0402ffffba80f97334564b194b018103.camel@scientia.net>
- Reply-to: Christoph Anton Mitterer <calestyo@scientia.net>, 906231@bugs.debian.org
- In-reply-to: <9373eed1-6bc7-fed4-2c78-e8cd637a8209@debian.org>
- References: <153435593157.31408.17942888836308320036.reportbug@heisenberg.scientia.net> <cafee890-ebda-36a4-3203-684c18d018bd@debian.org> <153435593157.31408.17942888836308320036.reportbug@heisenberg.scientia.net> <2b454941ac800149a0a2d23d65eb5c591c0a5c53.camel@scientia.net> <0d9d6f7b-3a4b-baad-34ec-45da70bfcf13@debian.org> <38b0cef354cc489416a9137cbd6de98d4ebddb86.camel@scientia.net> <2eb47acf-f0a5-86a7-640d-6708947c2c6c@debian.org> <ecf5bcfc525a98b55e6caf84eb96fdc2b60b9997.camel@scientia.net> <c8359693-4530-b213-ba3d-e85b33019bd6@debian.org> <153435593157.31408.17942888836308320036.reportbug@heisenberg.scientia.net> <ee111573-c53b-9fde-3cb3-1b956c19a674@debian.org> <153435593157.31408.17942888836308320036.reportbug@heisenberg.scientia.net> <54615a2f8dc7af9f5ed10301471fa1734384b007.camel@scientia.net> <9a865541-1e83-9cc7-1585-030c59b36b03@debian.org> <9373eed1-6bc7-fed4-2c78-e8cd637a8209@debian.org> <153435593157.31408.17942888836308320036.reportbug@heisenberg.scientia .net>
Thanks for the hints :-)
On Thu, 2018-08-16 at 01:12 +0200, Michael Biebl wrote:
> Restart logind, then check logind again.
> If the process is no longer listed, file a bug report against the
> binary
> which was running that process.
now before restarting logind the first time I had:
$ systemd-inhibit
Who: UPower (UID 0/root, PID 3801/upowerd)
What: sleep
Why: Pause device polling
Mode: delay
Who: NetworkManager (UID 0/root, PID 4019/NetworkManager)
What: sleep
Why: NetworkManager needs to turn off networks
Mode: delay
2 inhibitors listed.
and afterwards, upower was gone
$ systemd-inhibit
Who: NetworkManager (UID 0/root, PID 4019/NetworkManager)
What: sleep
Why: NetworkManager needs to turn off networks
Mode: delay
1 inhibitors listed.
When I now restart upower.service it goes back into the list, but when
I now press the power button, I still get an immediate shutdown...
Thanks,
Chris.
Reply to: