Le 2026-05-09 15:50, Vincent Blut a écrit :
> As non-root user (note the '-d' option):

Sigh, none of the commands below use that '-d' option as they should.
Sorry about that copy/paste issue.

> $ chronyc -h 127.0.0.1,::1 waitsync 0 0.1 0.0 1
> Resolved 127.0.0.1 to 127.0.0.1
> Resolved ::1 to ::1
> Opened UDPv4 socket fd=3 remote=127.0.0.1:323
> Sent data fd=3 len=104
> Timeout 1.000000 seconds
> Received data fd=3 len=104
> Reply cmd=33 reply=5 stat=0
> try: 1, refid: C12A3F17, correction: 0.000197022, skew: 2.166
> 
> $ chronyc waitsync 0 0.1 0.0 1
> Resolved 127.0.0.1 to 127.0.0.1
> Resolved ::1 to ::1
> Could not remove /run/chrony/chronyc.934.sock : Permission denied
> Could not bind Unix socket to /run/chrony/chronyc.934.sock : Permission denied
> Opened UDPv4 socket fd=3 remote=127.0.0.1:323
> Sent data fd=3 len=104
> Timeout 1.000000 seconds
> Received data fd=3 len=104
> Reply cmd=33 reply=5 stat=0
> try: 1, refid: C12A3F17, correction: 0.000227216, skew: 1.709
> 
> > debian@ci-worker-ppc64el-01:~sudo /usr/bin/chronyc -h 127.0.0.1,::1 waitsync
> > 0 0.1 0.0 1
> > 506 Cannot talk to daemon
> > 506 Cannot talk to daemon
> > 506 Cannot talk to daemon
> > ^C
> > debian@ci-worker-ppc64el-01:~$ sudo /usr/bin/chronyc  waitsync 0 0.1 0.0 1
> > try: 1, refid: 95F80CA7, correction: 0.000190875, skew: 0.006
>  
> As root:
> 
> # chronyc -d -h 127.0.0.1,::1 waitsync 0 0.1 0.0 1
> Resolved 127.0.0.1 to 127.0.0.1
> Resolved ::1 to ::1
> Opened UDPv4 socket fd=3 remote=127.0.0.1:323
> Sent data fd=3 len=104
> Timeout 1.000000 seconds
> Received data fd=3 len=104
> Reply cmd=33 reply=5 stat=0
> try: 1, refid: ACE83FDB, correction: 0.000216415, skew: 2.682
> 
> # chronyc -d waitsync 0 0.1 0.0 1
> Opened Unix socket fd=3 remote=/run/chrony/chronyd.sock 
> local=/run/chrony/chronyc.900.sock
> Sent data fd=3 len=104
> Timeout 1.000000 seconds
> Received data fd=3 len=104
> Reply cmd=33 reply=5 stat=0
> try: 1, refid: C12A3F17, correction: 0.000060216, skew: 4.261

Attachment: signature.asc
Description: PGP signature

Reply via email to