Re: [chrony-users] how to get the status of chronyd in namespace |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] how to get the status of chronyd in namespace
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Wed, 23 Nov 2022 09:22:06 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669191730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=G1tMLvpLIVUTgAqe/FgaJrA4XUFZyIZ14cFv1lTTQ9Q=; b=E24KW66mt2kORrB/pxhczAQRZrubmkHi1NI4vQsRy49v3EvmRFu5ZRQ99cz2flIJ+5uJD5 FKKV2becT5UTUDbo7CiN9nB5CPY+MDr5y1ylIfORC9lqXepSqKJk1VrMHp9p9gWZTAMkR5 7yTPogYx4QIHblPmoHLUG9o60wnL5dQ=
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.