[artix-general] starting daemons

Dudemanguy dudemanguy at artixlinux.org
Mon Nov 1 19:22:49 CET 2021


On 11/1/21 09:31, Philippe Delavalade wrote:
> Hi.
> 
> I am now sending and retrieving emails from the artix machine :-)
> 
> I installed ntp and ntp-s6 but
> ps -e | grep ntp
> gave me nothing (even after a reboot).
> 
> So I tried this but I feel it was not correct :
> s6-rc-bundle-update add default ntpd
> 
> When rebooting I got an error message about log.
> 
> I saw that the file
> /var/log/ntpd/current was owned by root not by s6log.
> 
> I ran
> chown s6log:s6log current
> and now I don't get error message and
> ps -e | grep ntp
> answers
>    378 ?        00:00:00 ntpd
> and my date and time are now correct.
> 
> I have the same problem with maraidbd and fcrond. What the right way to
> start these daemons ?
> 
> I read the wiki about s6 but didn't find answers except the command
> s6-rc-bundle-update add...
> 
> Can someone help me ?
> 
> Bests.

To start an s6-rc service, the command is s6-rc -u change service_name.
It is on the wiki. Now /var/log/ntpd/current being owned by root and not
s6log is definitely not something that should happen. I was not able to
reproduce this.


More information about the artix-general mailing list