Skip to content

option to disable confconsole completely #1984

@JedMeister

Description

@JedMeister

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions