chore(seat): #3467 - #4753
Open
h8d13 wants to merge 2 commits into
Open
Conversation
* no behavior change, simply rename the label from `polkit` => `systemd-logind` Signed-off-by: h8d13 <hadean-eon-dev@proton.me>
Contributor
Author
|
On a correctness note: since Is enabled through the first D-Bus call. So I believe we could simplify further. |
so drop the no-op enable and only enable `seatd` https://wiki.archlinux.org/title/Polkit Signed-off-by: h8d13 <hadean-eon-dev@proton.me>
Contributor
Author
|
In a fresh chroot: $ systemctl --root=$R enable polkit
The unit files have no installation config (WantedBy=, RequiredBy=, UpheldBy=,
Also=, or Alias= settings in the [Install] section, and DefaultInstance= for
template units). This means they are not meant to be enabled or disabled using systemctl.
Possible reasons for having these kinds of units are:
• A unit may be statically enabled by being symlinked from another unit's
.wants/, .requires/, or .upholds/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
instance name specified.
exit: 0
$ systemctl --root=$R is-enabled polkit
static |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
from
polkit=>systemd-logind