Re: systemctl reboot fails (doesn't reboot)

2019-03-01 Thread Gian Carlo
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



Re: no network after jessie -> stretch

2017-06-21 Thread Gian Carlo
Il 21/06/2017 18:00, D. R. Evans ha scritto:
> I just completed an upgrade to stretch on an i386 machine.
> 
> There were no obvious showstopping errors during the install. I saw a few
> "unable to delete directory; directory not empty" errors fly by, but nothing
> that seemed dangerous, and the installation didn't complain about anything.
> 
> But when I tried the reboot following the upgrade, I lost all network
> connectivity. The boot screen said:
>   Failed to Start Network Manager Wait Online
It may be related to this:

https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

What is the output of "/sbin/ifconfig"?
Do you see "eth0" or something like "enXX"?

gc