Skip to content

Comments

units: fill out [Install] section#245

Merged
kdj0c merged 1 commit intokmscon:mainfrom
keszybz:install-alias
Jan 26, 2026
Merged

units: fill out [Install] section#245
kdj0c merged 1 commit intokmscon:mainfrom
keszybz:install-alias

Conversation

@keszybz
Copy link
Contributor

@keszybz keszybz commented Jan 23, 2026

This mirrors the change done in [email protected]:
systemd/systemd#40440. This way the user can switch between one and the other
by running 'systemctl enable'. Also, the distribution can use presets to pick the desired implementation.

@kdj0c
Copy link
Contributor

kdj0c commented Jan 23, 2026

Does that work with older version of systemd? otherwise maybe add a comment for older version, so users can figure it out.

@keszybz
Copy link
Contributor Author

keszybz commented Jan 26, 2026

Yes, this functionality hasn't changed in years.

EDIT: In more detail: the Alias= and DefaultInstance= functionliaty hasn't changed in years. (DefaultInstance= was added in 2014. Alias= has been there since some early version.)

The change that is done now in systemd to use Alias= also is complementary to the change here. If it is merged, we can use systemctl enable getty@ to switch away from kmscon. But even if it is not merged, we can use systemctl enable kmsconvt@ to switch to kmscon. So the two changes can be merged independently.

This mirrors the change done in [email protected]:
systemd/systemd#40440. This
way the user can switch between one and the other
by running 'systemctl enable'. Also, the distribution
can use presets to pick the desired implementation.
@kdj0c kdj0c merged commit ea40b91 into kmscon:main Jan 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants