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

Confconsole - handle removal of default NIC more gracefully #1955

Open
JedMeister opened this issue Jun 6, 2024 · 0 comments
Open

Confconsole - handle removal of default NIC more gracefully #1955

JedMeister opened this issue Jun 6, 2024 · 0 comments

Comments

@JedMeister
Copy link
Member

JedMeister commented Jun 6, 2024

Brandon reported on the forums that after removing eth1, Confconsole is crashing with a stacktrace.

As Brandon noted, it seems likely that he had configured eth1 as the default interface, then later removed it.

Whilst removing the default interface may be a legitimate issue, Confconsole should at least handle it more gracefully, with an error message. It'd be even better if it offered the user to change the default interface (assuming one exists), or even automatically resolve it? If the latter is implemented, then it probably should notify the user it's done that?

IIRC we handle the case where there is no interface at all - although I should double check that. Regardless, it obviously isn't handling the case where the default interface is removed.

Regardless, it can be worked around by editing the config file (/etc/confconsole/confconsole.conf) and edit default_nic to 'eth0`. I.e.:

default_nic eth0
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