Skip to content

getty1 not running on local v19.0beta VM?! Perhaps inithooks and/or tkl-installer package updates? #2101

@JedMeister

Description

@JedMeister

Following the v19.0 updates to how the inithooks service integrates with getty1 my testing to date strongly suggested that all was well. However I just realized that getty@tty1.service was not running on my latest v19.0beta test VM!?! 😢

I have done a brief initial investigation and it appears to be related to recently running apt update && apt upgrade - which upgraded tkl-installer & inithooks (and other) packages. tkl-installer should be removed post a successful install - see #2099. Although I don't really understand how/why that would stop getty1? I'm definately leaning towards inithooks but it's not at all clear. Definitely requires further investigation...

logs & other info:


systemctl show getty@tty1.service --property=Before,After,Requires,RequiredBy,Wants,WantedBy,Upholds,UpheldBy,PartOf,ConsistsOf,BindsTo,BoundBy,Requisite,RequisiteOf,Conflicts,ConflictedBy,Triggers,TriggeredBy,PropagatesReloadTo,ReloadPropagatedFrom,ReloadPropagatedFrom,PropagatesReloadTo,PropagatesStopTo,StopPropagatedFrom,StopPropagatedFrom,PropagatesStopTo,Following

The only thing that looks even remotely relevant is inithooks.service...

Following=
Requires=system-getty.slice sysinit.target
Requisite=
Wants=
BindsTo=
PartOf=
Upholds=
RequiredBy=
RequisiteOf=
WantedBy=getty.target
BoundBy=
UpheldBy=
ConsistsOf=
Conflicts=rescue.service shutdown.target
ConflictedBy=inithooks.service
Before=rescue.service shutdown.target inithooks.service getty.target
After=sysinit.target basic.target getty-pre.target system-getty.slice systemd-user-sessions.service plymouth-quit-wait.service rc-local.service
Triggers=
TriggeredBy=
PropagatesReloadTo=
ReloadPropagatedFrom=
PropagatesStopTo=
StopPropagatedFrom=

journalctl --since="Apr 08 23:30:00"

Note Apr 08 23:38:05 tkldev systemd[1]: Stopping getty@tty1.service - Getty on tty1...
It's not immediately clear exactly what triggered it to stop?!

Apr 08 23:37:09 tkldev sshd-session[189526]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)
Apr 08 23:38:01 tkldev systemd[1]: Reload requested from client PID 189747 ('systemctl') (unit ssh.service)...
Apr 08 23:38:01 tkldev systemd[1]: Reloading...
Apr 08 23:38:02 tkldev systemd[1]: Reloading finished in 929 ms.
Apr 08 23:38:02 tkldev systemd[1]: tkl-installer.service - tkl-installer: TurnKey Linux installer was skipped because of an unmet condition check (ConditionKernelCommandLin>
Apr 08 23:38:04 tkldev systemd[1]: Reload requested from client PID 189793 ('systemctl') (unit ssh.service)...
Apr 08 23:38:04 tkldev systemd[1]: Reloading...
Apr 08 23:38:05 tkldev systemd[1]: Reloading finished in 820 ms.
Apr 08 23:38:05 tkldev login[6393]: pam_unix(login:session): session closed for user root
Apr 08 23:38:05 tkldev systemd[1]: Stopping getty@tty1.service - Getty on tty1...
Apr 08 23:38:05 tkldev systemd[1]: getty@tty1.service: Deactivated successfully.
Apr 08 23:38:05 tkldev systemd[1]: Stopped getty@tty1.service - Getty on tty1.
Apr 08 23:38:05 tkldev systemd[1]: getty@tty1.service: Consumed 1.146s CPU time, 17.3M memory peak.
Apr 08 23:38:05 tkldev systemd[1]: inithooks.service - Run boot scripts and start confconsole on tty1 was skipped because of an unmet condition check (ConditionPathExists=!>
Apr 08 23:38:05 tkldev systemd[1]: Reload requested from client PID 189822 ('systemctl') (unit ssh.service)...
Apr 08 23:38:05 tkldev systemd[1]: Reloading...
Apr 08 23:38:06 tkldev systemd[1]: Reloading finished in 880 ms.
Apr 08 23:38:07 tkldev systemd[1]: Reload requested from client PID 189852 ('systemctl') (unit ssh.service)...
Apr 08 23:38:07 tkldev systemd[1]: Reloading...
Apr 08 23:38:08 tkldev systemd[1]: Reloading finished in 758 ms.
Apr 08 23:38:08 tkldev systemd[1]: Stopping turnkey-init-fence.service - TurnKey Initialization web interface fence...
Apr 08 23:38:08 tkldev turnkey-init-fence[189880]: Stopping turnkey-init-fence
Apr 08 23:38:08 tkldev systemd[1]: turnkey-init-fence.service: Deactivated successfully.
Apr 08 23:38:08 tkldev systemd[1]: Stopped turnkey-init-fence.service - TurnKey Initialization web interface fence.
Apr 08 23:38:08 tkldev systemd[1]: Starting turnkey-init-fence.service - TurnKey Initialization web interface fence...
Apr 08 23:38:08 tkldev turnkey-init-fence[189894]: Starting turnkey-init-fence
Apr 08 23:38:08 tkldev systemd[1]: Finished turnkey-init-fence.service - TurnKey Initialization web interface fence.
Apr 08 23:39:52 tkldev systemd[1]: turnkey-fab-products-tkldev-build-root.sandbox.mount: Deactivated successfully.
[...]

grep 'tkl-installer\|inithooks' /var/log/dpkg.log
2026-04-08 23:37:56 upgrade inithooks:all 2.3.0rc4+14+g53d7f0a 2.3.0rc5+2+g214f0eb
2026-04-08 23:37:56 status half-configured inithooks:all 2.3.0rc4+14+g53d7f0a
2026-04-08 23:37:57 status unpacked inithooks:all 2.3.0rc4+14+g53d7f0a
2026-04-08 23:37:57 status half-installed inithooks:all 2.3.0rc4+14+g53d7f0a
2026-04-08 23:37:57 status unpacked inithooks:all 2.3.0rc5+2+g214f0eb
2026-04-08 23:37:59 upgrade tkl-installer:all 0+2026.3.31+03.01.22+b6243f80 0.1
2026-04-08 23:37:59 status half-configured tkl-installer:all 0+2026.3.31+03.01.22+b6243f80
2026-04-08 23:37:59 status unpacked tkl-installer:all 0+2026.3.31+03.01.22+b6243f80
2026-04-08 23:37:59 status half-installed tkl-installer:all 0+2026.3.31+03.01.22+b6243f80
2026-04-08 23:37:59 status unpacked tkl-installer:all 0.1
2026-04-08 23:38:00 configure tkl-installer:all 0.1 <none>
2026-04-08 23:38:00 status unpacked tkl-installer:all 0.1
2026-04-08 23:38:00 status half-configured tkl-installer:all 0.1
2026-04-08 23:38:02 status installed tkl-installer:all 0.1
2026-04-08 23:38:03 configure inithooks:all 2.3.0rc5+2+g214f0eb <none>
2026-04-08 23:38:03 status unpacked inithooks:all 2.3.0rc5+2+g214f0eb
2026-04-08 23:38:03 status half-configured inithooks:all 2.3.0rc5+2+g214f0eb
2026-04-08 23:38:08 status installed inithooks:all 2.3.0rc5+2+g214f0eb

grep 'tkl-installer\|inithooks' /var/log/apt/history.log
Preparing to unpack .../inithooks_2.3.0rc5+2+g214f0eb_all.deb ...
Unpacking inithooks (2.3.0rc5+2+g214f0eb) over (2.3.0rc4+14+g53d7f0a) ...
Preparing to unpack .../tkl-installer_0.1_all.deb ...
Unpacking tkl-installer (0.1) over (0+2026.3.31+03.01.22+b6243f80) ...
Setting up tkl-installer (0.1) ...
Setting up inithooks (2.3.0rc5+2+g214f0eb) ...
inithooks-restart-getty1.service is a disabled or a static unit not running, not starting it.

grep -C 1 'tkl-installer\|inithooks' /var/log/apt/history.log
Commandline: apt upgrade
Upgrade: fab:amd64 (1.1rc4+7+g67df004, 1.1rc5), inithooks:amd64 (2.3.0rc4+14+g53d7f0a, 2.3.0rc5+2+g214f0eb), openssl-provider-legacy:amd64 (3.5.5-1~deb13u1, 3.5.5-1~deb13u2), tkl-installer:amd64 (0+2026.3.31+03.01.22+b6243f80, 0.1), libssl3t64:amd64 (3.5.5-1~deb13u1, 3.5.5-1~deb13u2), openssl:amd64 (3.5.5-1~deb13u1, 3.5.5-1~deb13u2)
End-Date: 2026-04-08  23:38:12

Metadata

Metadata

Assignees

Labels

Core - based (all apps)buginithookstkl-installerTurnKey custom ISO installer (replaces di-live): https://github.com/turnkeylinux/tkl-installertransition-blockera bug/feature request that is blocking a milestone release

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions