Skip to content

chore(seat): #3467 - #4753

Open
h8d13 wants to merge 2 commits into
archlinux:masterfrom
h8d13:dot-logind
Open

chore(seat): #3467#4753
h8d13 wants to merge 2 commits into
archlinux:masterfrom
h8d13:dot-logind

Conversation

@h8d13

@h8d13 h8d13 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor
  • no behavior change, simply rename the label

from polkit => systemd-logind

* no behavior change, simply rename the label

from `polkit` => `systemd-logind`

Signed-off-by: h8d13 <hadean-eon-dev@proton.me>
@h8d13
h8d13 requested a review from Torxed as a code owner September 2, 2026 10:51
@h8d13

h8d13 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

On a correctness note: since polkit has no [Install], and so enabling it creates no symlink into .wants

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>
@h8d13

h8d13 commented Sep 2, 2026

Copy link
Copy Markdown
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

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.

1 participant