[systemd-devel] 回复: [hostnamed] Why the service will automatically exit after 30 seconds

李成刚 lichenggang at uniontech.com
Wed Aug 18 15:25:24 UTC 2021


hi,Colin Guthrie
     When the systemd-hostnamed service is started through policykit, the password window will automatically exit, which seems to be a terrible experience
 
 
------------------ 原始邮件 ------------------
发件人: "Colin Guthrie"<colin at booksterhq.com>;
发送时间: 2021年8月18日(星期三) 下午5:03
收件人: "李成刚"<lichenggang at uniontech.com>; "systemd-devel"<systemd-devel at lists.freedesktop.org>; 

主题: Re: [hostnamed] Why the service will automatically exit after 30 seconds

 

Hi,

李成刚 wrote on 18/08/2021 02:27:
> How to configure this service so that it will not automatically exit

This is a dbus service which starts when needed (i.e. someone tries to 
connect to it on the bus) and then terminates itself when it's not needed.

Is there a reason why you need it to keep running?

 From "man systemd-hostnamed":

"It is automatically activated on request and terminates itself when 
unused."

HTHs

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited http://www.tribalogic.net/
Open Source:
   Mageia Contributor http://www.mageia.org/
   PulseAudio Hacker http://www.pulseaudio.org/
   Trac Hacker http://trac.edgewall.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20210818/0ea4656b/attachment.htm>


More information about the systemd-devel mailing list