Skip to content

turnstile: move dinit service to usr/lib#61015

Open
dkwo wants to merge 1 commit into
void-linux:masterfrom
dkwo:turnstile-dinit
Open

turnstile: move dinit service to usr/lib#61015
dkwo wants to merge 1 commit into
void-linux:masterfrom
dkwo:turnstile-dinit

Conversation

@dkwo

@dkwo dkwo commented Jun 12, 2026

Copy link
Copy Markdown
Contributor
  • I tested the changes in this PR: YES
  • I built this PR locally for my native architecture, (aarch64-gnu)

If the package installs the service to etc/dinit.d, there is no safe way to overwrite it, which we need to since it ships a dinit service taylored to Chimera linux. Put it into usr/lib instead, which is the same as Chimera does.

cc @classabbyamp

@classabbyamp

Copy link
Copy Markdown
Member

will this break things for users of turnstile + dinit?

@dkwo

dkwo commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

The turnstile + dinit (user) case is unaffected. This change is about dinit as system service.

@classabbyamp

classabbyamp commented Jun 12, 2026

Copy link
Copy Markdown
Member

if the dinit system service is chimera-specific, we probably shouldn't ship it at all

@dkwo

dkwo commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

I think leaving it as a reference is fine, but one should be able to safely edit it.

$ cat /usr/lib/dinit.d/turnstiled 
type = process
command = /usr/bin/turnstiled
logfile = /var/log/turnstiled.log
before: login.target
depends-on: local.target

Those targets are defined by dinit-chimera, while upstream dinit reference has only loginready.

@dkwo

dkwo commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Anyhow, I am fine either way, just let me know what you prefer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants