Skip to main content
Topic: [Announcement] dinit 0.17: logfile permissions always will be set (Read 380 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Announcement] dinit 0.17: logfile permissions always will be set

Hi. Starting with dinit 0.17 release [Unreleased yet with unknown release time], Dinit will always set default values for logfile uid/gid and permissions (which is uid/gid of dinit process and 0600). It means if you using some tricks to have a logfile with custom permissions, Dinit will overwrite its permissions on every service restart. Please use new logfile-permissions, logfile-uid, logfile-gid options in service descriptions.

Ref dinit-service(5) man-page in Dinit master branch: https://github.com/davmac314/dinit/blob/60e6c3ab7a6a5e72e6df7c9b1cc302b5dba25c38/doc/manpages/dinit-service.5.m4#L398

Regards

 

Re: [Announcement] dinit 0.17: logfile permissions always will be set

Reply #1
Just to clarify:

- The next version of Dinit has not been released yet. 0.17 is not yet available. Hopefully soon, but there is still (at least) some testing to do.
- The man page source linked is from the repository, not any 0.17 release.
- There will be a number of changes that may require minor adjustments to the service descriptions, not just the logfile ownership/permissions. The NEWS file in the release will have full details. The current version of this can be viewed in the repository.

Additionally, it's important to note that even when 0.17 is officially released, it is up to the Artix maintainer (konimex) when/if/how it gets integrated into Artix.