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

Block ASL3 install if dahdi-dkms install fails #112

Closed
Allan-N opened this issue Dec 9, 2024 · 2 comments
Closed

Block ASL3 install if dahdi-dkms install fails #112

Allan-N opened this issue Dec 9, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Allan-N
Copy link
Collaborator

Allan-N commented Dec 9, 2024

Despite our cautions in the ASL3 Manual of issues with "cloud" kernels that doesn't appear to keep people from trying the install and then running into problems later.

And an example of this occurred on a recent Ham Radio 2.0 YouTube video.

Can we detect the mismatch and block the install? or scream loudly?

Cloud-Install-Fail

@Allan-N Allan-N added the bug Something isn't working label Dec 9, 2024
@jxmx
Copy link
Member

jxmx commented Dec 10, 2024

As we discussed in Slack, there isn't a direct synchronous tie between the package installations and the building of the DKMS modules. By necessity, that's a "trigger" model and the dahdi-dmks package is "successful" in its installation once it triggers DKMS to do something. The fact that DKMS's build didn't work because of other issues isn't technically the dahdi-dkms package's problem or fault such that it should stop and rollback.

There's a couple of ways we could handle this (just thinking out loud)

  1. Have the asl3 package itself print a warning - maybe with a sleep 5 or something - that a "cloud" kernel has been detected and to follow some set of directions.

  2. Modify the asterisk.service to detect a missing DAHDI module and error out rather than boot-to-brokenness. I have mixed feeling about doing this though.

  3. Create something that watched /var/log/asterisk/messages.log that complains loudly to syslog about broken DAHDI. However I'm not sure how much more successful that would be vs. someone inspecting /var/log/asterisk/messages.log to begin with.

@jxmx
Copy link
Member

jxmx commented Jan 4, 2025

With the pending resolution of cloud kernels in the new dahdi-dkms_3.4.0-5+asl package, I think this item is now a corner-case at best.

@jxmx jxmx closed this as not planned Won't fix, can't repro, duplicate, stale Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants