Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to disable confconsole completely #1984

Open
JedMeister opened this issue Sep 22, 2024 · 0 comments
Open

option to disable confconsole completely #1984

JedMeister opened this issue Sep 22, 2024 · 0 comments

Comments

@JedMeister
Copy link
Member

Confconsole has an option to configure whether it auto starts on log in. However it doesn't have an option to not run at all on boot - i.e. default to "normal" log in screen rather than the confconsole "usage" (dumb name) screen. That's because starting confconsole is actually hardcoded into inithooks (unless REDIRECT_OUTPUT=true).

https://github.com/turnkeylinux/inithooks/blob/master/run#L89:

if [[ "${REDIRECT_OUTPUT,,}" == "true" ]]; then
    log info "Inithook run completed, exiting."
else
    log info "Inithook run completed, now starting confconsole"
    sleep 2 # anyway to replace this?
    confconsole --usage
    log info "Confconsole started, inithooks exiting"
fi

It is possible to stop it from running at boot by disabling the inithooks service, but a cleaner/easier option would be nice.

And actually, looking at the code, I just realised that inithooks will fail if confconsole is not installed - yet confconsole is only recommended - https://github.com/turnkeylinux/inithooks/blob/master/debian/control#L21-L23

Recommends:
 confconsole (>= 1.1.0~)
Description: Executes firstboot and everyboot scripts
@JedMeister JedMeister added this to the 18.2 milestone Sep 22, 2024
@JedMeister JedMeister modified the milestones: 18.2, 19.0 Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant