On Sat, Sep 04, 2021 at 12:54:35PM -0400, Stefan Monnier wrote: > Greg Wooledge [2021-09-04 11:35:25] wrote: > > On Sat, Sep 04, 2021 at 04:49:24PM +0200, sp...@caiway.net wrote: > >> # file /sbin/reboot > >> /sbin/reboot: POSIX shell script, ASCII text executable > > > > That's not normal for a bullseye system using systemd for init. > > Indeed. > > > I'm not sure what you did or how your system got into this state. > > Maybe > > dpkg -S /sbin/reboot /usr/sbin/reboot > > could give us a clue?
>From the other part of the thread, it looks like they installed a package from a different operating system. One that interfered with the Debian init system. This is why we tell people: NEVER mix packages from different operating systems. Especially low-level ones like systemd.