When I reboot I get a fresh login screen for several seconds?? before the reboot starts

Robert Heller heller at deepsoft.com
Sun Aug 25 19:45:19 UTC 2024


At Sun, 25 Aug 2024 16:40:51 +0100 "Ubuntu user technical support,? not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:

> 
> On Sun, Aug 25, 2024 at 03:21:03PM +0100, Colin Law wrote:
> > On Sun, 25 Aug 2024 at 15:10, Chris Green <cl at isbd.net> wrote:
> > >
> > > On Sun, Aug 25, 2024 at 08:22:16AM -0400, Robert Heller wrote:
> > 
> > > > This is harmless. The *first* thing (or nearly the first thing) in the
> > > > shutdown process is to disable logins. So any short lived login screen or
> > > > prompt will be ineffective.
> > > >
> > > But in my ase (OP here) the login **is** effective, I can actually log
> > > in again - ... and then it shuts down.
> > >
> > > This is on a pretty fast system, a Fujitsu Esprimo Q957 (Intel I5
> > > processor) with a 2TB SSD. The other xubuntu 24.04 system where I
> > > don't see this symptom is probably a bit slower (but not much).
> > 
> > After rebooting, check the log from before the shutdown and see if
> > something is holding off the shutdown.  Perhaps something is holding
> > it for a while, so the login page is displayed for some time.
> > 
> I did look at both syslog and the systemd journal, there's nothing
> obvious that it's waiting for.  Here's syslog for the start of the
> reboot that I did this morning:-
> 
>     2024-08-25T10:20:12.074761+01:00 q957 systemd[1]: sysstat-collect.service: Deactivated successfully.
>     2024-08-25T10:20:12.074906+01:00 q957 systemd[1]: Finished sysstat-collect.service - system activity accounting tool.
>     2024-08-25T10:24:53.826788+01:00 q957 dbus-daemon[1729]: [session uid00 pid29] Activating service name='org.xfce.Xfconf' requested by ':1.36' (uid=1>
>     2024-08-25T10:24:53.835207+01:00 q957 dbus-daemon[1729]: [session uid00 pid29] Successfully activated service 'org.xfce.Xfconf'
>     2024-08-25T10:25:01.603890+01:00 q957 CRON[29652]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
>     2024-08-25T10:25:07.728756+01:00 q957 systemd[1]: unattended-upgrades.service: Deactivated successfully.
>     2024-08-25T10:25:07.744502+01:00 q957 systemd[1]: Stopping session-49.scope - Session 49 of User chris...
>     2024-08-25T10:25:07.749850+01:00 q957 systemd[1]: Stopping session-c2.scope - Session c2 of User chris...
>     2024-08-25T10:25:07.749935+01:00 q957 systemd[1]: Removed slice system-leafnode.slice - Slice /system/leafnode.
>     2024-08-25T10:25:07.751510+01:00 q957 systemd[1]: system-leafnode.slice: Consumed 2.155s CPU time, 11.1M memory peak, 0B memory swap peak.
>     2024-08-25T10:25:07.751573+01:00 q957 systemd[1]: Removed slice system-modprobe.slice - Slice /system/modprobe.
>     2024-08-25T10:25:07.751625+01:00 q957 systemd[1]: Stopped target graphical.target - Graphical Interface.
>     2024-08-25T10:25:07.751668+01:00 q957 systemd[1]: Stopped target multi-user.target - Multi-User System.
>     2024-08-25T10:25:07.751707+01:00 q957 systemd[1]: Stopped target getty.target - Login Prompts.  
>     2024-08-25T10:25:07.751749+01:00 q957 systemd[1]: Stopped target rpcbind.target - RPC Port Mapper.
>     2024-08-25T10:25:07.751801+01:00 q957 systemd[1]: Stopped target sound.target - Sound Card.
>     2024-08-25T10:25:07.751849+01:00 q957 systemd[1]: Stopped target timers.target - Timer Units.
>     2024-08-25T10:25:07.751890+01:00 q957 systemd[1]: anacron.timer: Deactivated successfully.
>     2024-08-25T10:25:07.751942+01:00 q957 systemd[1]: Stopped anacron.timer - Trigger anacron every hour.
>     2024-08-25T10:25:07.752758+01:00 q957 systemd[1]: apt-daily-upgrade.timer: Deactivated successfully.
>     2024-08-25T10:25:07.752920+01:00 q957 systemd[1]: Stopped apt-daily-upgrade.timer - Daily apt upgrade and clean activities.
>     2024-08-25T10:25:07.754733+01:00 q957 systemd[1]: apt-daily.timer: Deactivated successfully.
>     2024-08-25T10:25:07.755043+01:00 q957 systemd[1]: Stopped apt-daily.timer - Daily apt download activities.
>     2024-08-25T10:25:07.755589+01:00 q957 systemd[1]: apt-xapian-index.timer: Deactivated successfully.
>     2024-08-25T10:25:07.755672+01:00 q957 systemd[1]: Stopped apt-xapian-index.timer - Update APT-Xapian-Index.
>     2024-08-25T10:25:07.756066+01:00 q957 ModemManager[937]: <msg> caught signal, shutting down...
>     2024-08-25T10:25:07.756946+01:00 q957 systemd[1]: dpkg-db-backup.timer: Deactivated successfully.
>     2024-08-25T10:25:07.757388+01:00 q957 systemd[1]: Stopped dpkg-db-backup.timer - Daily dpkg database backup timer.
>     ...
>     ...
> 
> Everything else in the shutdown process is within a second, then 30
> seconds later it all starts up again (as expected):-
> 
>     ....
>     ....
>     ....
>     2024-08-25T10:25:07.785467+01:00 q957 systemd[1]: Stopping systemd-random-seed.service - Load/Save OS Random Seed...
>     2024-08-25T10:25:07.785780+01:00 q957 systemd[1]: Stopping thermald.service - Thermal Daemon Service...
>     2024-08-25T10:25:07.785825+01:00 q957 systemd[1]: Stopping udisks2.service - Disk Manager...
>     2024-08-25T10:25:07.785899+01:00 q957 systemd[1]: Stopping upower.service - Daemon for power management...
>     2024-08-25T10:25:37.939909+01:00 q957 systemd-modules-load[304]: Inserted module 'lp'
>     2024-08-25T10:25:37.941067+01:00 q957 systemd-modules-load[304]: Inserted module 'ppdev'
>     2024-08-25T10:25:37.941848+01:00 q957 systemd-modules-load[304]: Inserted module 'parport_pc'
>     2024-08-25T10:25:37.941856+01:00 q957 systemd[1]: Finished systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully.
>     2024-08-25T10:25:37.941860+01:00 q957 systemd-modules-load[304]: Inserted module 'msr'
>     2024-08-25T10:25:37.941865+01:00 q957 systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules.
>     2024-08-25T10:25:37.941868+01:00 q957 systemd[1]: Reached target swap.target - Swaps.
>     2024-08-25T10:25:37.941872+01:00 q957 systemd[1]: Starting systemd-journal-flush.service - Flush Journal to Persistent Storage...
>     2024-08-25T10:25:37.941880+01:00 q957 systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables...
>     2024-08-25T10:25:37.941884+01:00 q957 systemd[1]: systemd-sysusers.service - Create System Users was skipped because no trigger condition checks were met.
>     2024-08-25T10:25:37.941888+01:00 q957 systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev...
>     2024-08-25T10:25:37.941892+01:00 q957 systemd[1]: Finished keyboard-setup.service - Set the console keyboard layout.
>     2024-08-25T10:25:37.941895+01:00 q957 systemd[1]: Mounted proc-fs-nfsd.mount - NFSD configuration filesystem.
>     2024-08-25T10:25:37.941984+01:00 q957 mtp-probe: checking bus 1, device 2: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
> 
> 
> The output from journalctl looks just about identical.  The boot.log shows
> the system booting from 10:25:36.
> 

Turn off quietness: take "quiet" out of kernel command line.  This will result 
in a "noisy" boot and shutdown process. (I *always* turn off quiet on machines 
I install Linux on, at least those I use myself.)

-- 
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
                                                    




More information about the ubuntu-users mailing list