-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add system configuration for the Kolibri dbus daemon #1
Conversation
Things to test here:
|
To test this, we need an early version of the Kolibri flatpak from flathub/org.learningequality.Kolibri#17. You can install it from the Flathub testing repository:
|
efdfd26
to
d486430
Compare
d486430
to
1185157
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The whole D-Bus + systemd approach looks correct and sensible to me. The only question I had is about the KOLIBRI_USER management, but it looks like we already have a user named kolibri
in the system, so we are good there. Otherwise I would suggest for us to use systemd's DynamicUser=
setting instead.
I don't know Kolibri too deeply, so take my CR+ with a grain of salt.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me as well!
Hm, now you mention it, I do wonder why we aren't using |
If we were to switch it now, we'd have to drop the created kolibri user by reverting endlessm/base-passwd@c12a433. The only problem I can think from the top of my head is that if there are any files owned by that user, they would need to be dealt with (since they would have the old uid/gid). I don't know from the top of my head how |
Ah, happily DynamicUser has migrations like that in mind and will behave as usual if there's an existing |
This depends on changes to Kolibri pending review in flathub/org.learningequality.Kolibri#17, but I believe it is safe to merge at any time.
https://phabricator.endlessm.com/T31182