-
Notifications
You must be signed in to change notification settings - Fork 40
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
hooks: enable polkit for unconfined processes #161
hooks: enable polkit for unconfined processes #161
Conversation
polkit is needed in some cases for communication between services shipped in the base, for instance when systemd-networkd talks to systemd-hostnamed to set the hostname. Enable to fix these use cases. Note that this does not help yet if we want to use it from a snap.
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.
Two comments so far.
- xml-core is installed. I do not think it makes sense to keep it. It believe it is only useful for sgml docs. I am guessing it is a dependency of the post install script of some of the packages.
/usr/lib/tmpfiles.d/polkitd.conf
points to/etc/polkit-1/rules.d
and/var/lib/polkit-1
. We should add those in writable-paths. The first one is probably not needed now. But I am guessing the second should be.
Nevermind for |
so in the future we can add rules provided by snaps.
It is used to generate xml catalog files, which I'm not sure if polkit xml parser will need. I have removed the executables provided by xml-core, as we definitely don't need them after installation of packages has happened.
Goot point, I have added the one under /etc as it would be something we will eventually want for snaps or for workarounds. |
@valentindavid thanks for your review, I've addressed your comments now |
polkit is needed in some cases for communication between services shipped in the base, for instance when systemd-networkd talks to systemd-hostnamed to set the hostname. Enable to fix these use cases. Note that this does not help yet if we want to use it from a snap. Backported from snapcore#161
polkit is needed in some cases for communication between services shipped in the base, for instance when systemd-networkd talks to systemd-hostnamed to set the hostname. Enable to fix these use cases. Note that this does not help yet if we want to use it from a snap. Backported from #161
polkit is needed in some cases for communication between services shipped in the base, for instance when systemd-networkd talks to systemd-hostnamed to set the hostname. Enable to fix these use cases. Note that this does not help yet if we want to use it from a snap.