On Thu, Aug 22, 2024 at 8:44 AM Patrick O'Callaghan <pocallaghan@gmail.com> wrote:
On Thu, 2024-08-22 at 07:57 -0300, George N. White III wrote:
> On Thu, Aug 22, 2024 at 7:36 AM Patrick O'Callaghan
> <pocallaghan@gmail.com>
> wrote:
>
> > When I reboot the system, there's a delay of around a minute before
> > anything happens. This is a single-user desktop and I really don't
> > need
> > to stare at a spinner for so long. Is there a setting somewhere
> > that
> > lets me change this? I'm aware of 'reboot -f' but I assume that
> > would
> > normally be too drastic.
> >
>
> Use systemd-analyze:
>
> DESCRIPTION
>        systemd-analyze may be used to determine system boot-up
> performance
> statistics and retrieve other state and tracing information from the
> system
> and service manager, and to
>        verify the correctness of unit files. It is also used to
> access
> special functions useful for advanced system manager debugging.

Boot up is reasonably fast (actually the firmware take a long time
before I get to the boot splash screen but that's a separate issue). My
question is about stopping the system prior to shutdown or reboot.

So you want to "retrieve other state and tracing information from the
system and service manager, and to verify the correctness of unit files. 
It is also used to access special functions useful for advanced system 
manager debugging."

The web has some examples using systemd-analyze to investigate
shutdown issues.

--
George N. White III