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

ttyrun-getty@ and serial-getty@ services conflict with each other #105

Closed
sharkcz opened this issue Jan 4, 2021 · 0 comments
Closed

ttyrun-getty@ and serial-getty@ services conflict with each other #105

sharkcz opened this issue Jan 4, 2021 · 0 comments

Comments

@sharkcz
Copy link
Contributor

sharkcz commented Jan 4, 2021

Cloning from a downstream bug (https://bugzilla.redhat.com/show_bug.cgi?id=1907781)

Description of problem:
Starting/Enabling ttyrun-getty@ and serial-getty@ should be mutually exclusive, since the instance cannot be shared, e.g. ttyrun-getty@hvc0 and serial-getty@hv0 cannot connect simultaneously.

I would suggest adding the following stanza to ttyrun-getty@.service unit:

-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
[Unit]
Conflicts=serial-getty@%i.service
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

How reproducible:
Always

Steps to Reproduce:

  1. Start ttyrun-getty@hvc0
    # systemctl start ttyrun-getty@hvc0

Actual results:
serial-getty@hvc0 fails

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

No branches or pull requests

1 participant