Re: [systemd-devel] question about socket activation

2018-01-01 Thread eshark
The program source codes and the foobar.service , the foobar.socket are as the attachments. Thanks for any suggestion! At 2017-12-29 16:19:35, "eshark" wrote: Hi, All I tried to test the socket activation by a simple foobar.socket and foobar.service, which are as the following:

Re: [systemd-devel] How does systemd-logind know if it is docked?

2018-01-01 Thread Mantas Mikulėnas
On Mon, Jan 1, 2018 at 1:39 AM, Ian Pilcher wrote: > I ran into an issue where systemd-logind is suspending my system when it > boots with the lid closed, even though it is docked. The root cause > seems to be a kernel regression, but it begs the question, how does > systemd-logind determine whe

Re: [systemd-devel] How does systemd-logind know if it is docked?

2018-01-01 Thread Andrei Borzenkov
01.01.2018 02:39, Ian Pilcher пишет: > I ran into an issue where systemd-logind is suspending my system when it > boots with the lid closed, even though it is docked.  The root cause > seems to be a kernel regression, but it begs the question, how does > systemd-logind determine whether it is docke