Il 01/03/19 22:40, riveravaldez ha scritto: > Hi, I'm on debian-testing (updated), and found this issue: > > $ systemctl reboot > Failed to set wall message, ignoring: The name > org.freedesktop.PolicyKit1 was not provided by any .service files > Failed to reboot system via logind: The name > org.freedesktop.PolicyKit1 was not provided by any .service files > Failed to start reboot.target: The name org.freedesktop.PolicyKit1 was > not provided by any .service files > See system logs and 'systemctl status reboot.target' for details. > > $ systemctl status reboot.target > reboot.target - Reboot > Loaded: loaded (/lib/systemd/system/reboot.target; disabled; vendor > preset: enabled) > Active: inactive (dead) > Docs: man:systemd.special(7) > > $ systemctl restart reboot.target > Failed to restart reboot.target: The name org.freedesktop.PolicyKit1 > was not provided by any .service files > See system logs and 'systemctl status reboot.target' for details. > > But 'sudo reboot' worked. > > Any idea?
> $ systemctl reboot > $ systemctl status reboot.target > $ systemctl restart reboot.target You are NOT root > But 'sudo reboot' worked. After "sudo..." you are root Bye, gc