FS#51265 - [systemd] add polkit as dependency

Attached to Project: Arch Linux
Opened by Christian Rebischke (Shibumi) - Thursday, 06 October 2016, 22:50 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 06 October 2016, 23:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

systemd version: 231-3

We should make sure to add polit as dependency for systemd or move polkit to base, because I have installed a VM with archlinux today and I can't shut it down without installing polkit:

Thats what I tried:
- poweroff
- systemctl poweroff
- shutdown -h 0
- shutdown -h


I got everytime this error here:

Failed to set wall message, ignoring: The name org.freedesktop.PolicyKit1 was not provided by any .service files
Failed to call ScheduleShutdown in logind, proceeding with immediate shutdown: The name org.freedesktop.PolicyKit1 was not provided by any .service files


Steps to reproduce this problem
===============================

- Setup a new VM without polkit and try to shutdown.

or

- remove polkit from your system, reboot and try to shutdown.
This task depends upon

Closed by  Dave Reisner (falconindy)
Thursday, 06 October 2016, 23:09 GMT
Reason for closing:  Not a bug
Additional comments about closing:  polkit is already an optdep, and one can shutdown as root without it installed.
Comment by Christian Rebischke (Shibumi) - Thursday, 06 October 2016, 23:05 GMT
Please close this ticket. I only tried it with a normal user. With root it still works fine.

Sorry for the noise and the additional work.

Loading...