Re: [chrony-users] how to get the status of chronyd in namespace

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


On Wed, Nov 23, 2022 at 03:16:35AM +0000, chengyechun wrote:
> Hi all
> I am using the chronyd service, but I put the service in the namespace for isolation, and then synchronize other servers. I find that the synchronization status of the chronyd in the namespace cannot be queried through chronyc. What can I do?

Is it a networking namespace? To access the UDP sockets you would need
to use "ip netns exec $NAMESPACE chronyc".

If you can access the Unix socket, that shouldn't be necessary.

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/