Re: /usr/sbin/reboot: disabled in systemd-nspawn container
On Sat, 4 Sep 2021 16:42:45 +0300
Reco <recoverym4n@enotuniq.net> wrote:
> Hi.
>
> On Sat, Sep 04, 2021 at 02:40:13PM +0200, sp007@caiway.net wrote:
> > Suddenly I can no longer reboot or poweroff my up-to-date
> > bullseye system:
> >
> > # reboot
> > /usr/sbin/reboot: disabled in systemd-nspawn container
>
> Unless I'm mistaken, these messages are not generated by systemd.
> In fact, there's nothing that resembles such messages in systemd
> sources.
>
> So, try this, for starters:
>
> /bin/systemd reboot
>
# /bin/systemd reboot
Excess arguments.
> And, what about these:
>
> ls -al /sbin/reboot
# ls -al /sbin/reboot
-rwxr-xr-x 1 root root 319 Mar 24 05:22 /sbin/reboot
> file /sbin/reboot
>
# file /sbin/reboot
/sbin/reboot: POSIX shell script, ASCII text executable
> Reco
>
thx
Reply to: