<div>hi,Colin Guthrie</div><div>     When the systemd-hostnamed service is started through policykit, the password window will automatically exit, which seems to be a terrible experience</div><div><includetail><div> </div><div> </div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div id="menu_sender"><b>发件人:</b> "Colin Guthrie"<colin@booksterhq.com>;</div><div><b>发送时间:</b> 2021年8月18日(星期三) 下午5:03</div><div><b>收件人:</b> "李成刚"<lichenggang@uniontech.com>; "systemd-devel"<systemd-devel@lists.freedesktop.org>; <wbr></div><div></div><div><b>主题:</b> Re: [hostnamed] Why the service will automatically exit after 30 seconds</div></div><div> </div><div style="position:relative;"><div id="tmpcontent_res"></div>Hi,<br><br>李成刚 wrote on 18/08/2021 02:27:<br>> How to configure this service so that it will not automatically exit<br><br>This is a dbus service which starts when needed (i.e. someone tries to <br>connect to it on the bus) and then terminates itself when it's not needed.<br><br>Is there a reason why you need it to keep running?<br><br> From "man systemd-hostnamed":<br><br>"It is automatically activated on request and terminates itself when <br>unused."<br><br>HTHs<br><br>Col<br><br>-- <br><br>Colin Guthrie<br>gmane(at)colin.guthr.ie<br>http://colin.guthr.ie/<br><br>Day Job:<br>   Tribalogic Limited http://www.tribalogic.net/<br>Open Source:<br>   Mageia Contributor http://www.mageia.org/<br>   PulseAudio Hacker http://www.pulseaudio.org/<br>   Trac Hacker http://trac.edgewall.org/<br></div></div><!--<![endif]--></includetail></div>