Re: [chrony-users] Regarding socket permissions

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


If you really need to, you can change the permissions in the
service/init script after starting chronyd. Instead of setting it to
0666 it might be better to instead change the owner to the user
running your application.
Is there a material difference in performance using SHM vs socket? My understanding was maybe, as SHM polls.. If there is no significant difference then I don't really need sockets.

Morten

On Tue, Mar 14, 2023 at 9:00 AM Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
On Tue, Mar 14, 2023 at 08:46:57AM +0100, Morten Nissov wrote:
> My application opens the socket like GPSD but I don't really have the
> possibility to start it with root privileges. For this reason something
> like the "perm" argument for SHM refclocks would be very useful with the
> socket connection.

If you really need to, you can change the permissions in the
service/init script after starting chronyd. Instead of setting it to
0666 it might be better to instead change the owner to the user
running your application.

--
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/