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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 19 Aug 2021, Cristian Rodríguez wrote:
> On Tue, Aug 17, 2021 at 9:35 PM 李成刚 <lichenggang@xxxxxxxxxxxxx> wrote:
> >
> > How to configure this service so that it will not automatically exit
> 
> 
> So what are you trying to accomplish with this ? why do you need yet
> another service running when it is totally idle ?
> 
> > When the systemd-hostnamed service is started through policykit, the password window will automatically exit, which seems to be a terrible experience
> 
> DAFUQ? if polkit is really talking to hostnamed then has to deal with
> things so they either remaining alive or connect again ...

It's the other way around. hostnamed uses polkit to authorise requests 
sent to it over D-Bus.

If hostnamed is exiting while in the middle of a polkit conversation, then 
yes I would say that is a bug in hostnamed. It really ought not to do 
that.

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux