Re: how to get the status of chronyd in namespace

Miroslav Lichvar <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <Y33YLmvsQvl+5hoB@localhost>
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-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "help" in the subject.
Trouble?  Email [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.