Skip to content

Broken DKMS autoinstall on newest Ubuntu and AmneziaWG kernel - #62

Open
rylaix wants to merge 1 commit into
amnezia-vpn:masterfrom
rylaix:master
Open

Broken DKMS autoinstall on newest Ubuntu and AmneziaWG kernel#62
rylaix wants to merge 1 commit into
amnezia-vpn:masterfrom
rylaix:master

Conversation

@rylaix

@rylaix rylaix commented Dec 9, 2024

Copy link
Copy Markdown

Following the latest update, some users have reported issues on the newest Ubuntu versions due to unavailable kernel sources (and notifying in case of make fails only about one active dir instead of both). This issue can be addressed through the following approaches:

Reworking the Code
Modify the code to rely exclusively on a single correct directory for kernel sources. In this case, the recommended directory would be /var/lib/dkms.

Enhancing the Installation Process
Simplify the auto-installation process by:

Identifying the kernel version of the host machine.
Downloading the required sources to a designated directory.
Creating symbolic links to both directories for compatibility.
Proceeding with the make process seamlessly.
User Notification
For a simpler solution, notify users of the two active directories where they should place their kernel sources. This option, while less automated, ensures clarity for the user.

Fixed discrepancy for newest DKMS builds on ubuntu

Signed-off-by: rylaix <62016614+rylaix@users.noreply.github.com>
@melianmiko

Copy link
Copy Markdown

Same error on Fedora when installing from COPR

@rylaix

rylaix commented Jan 7, 2025

Copy link
Copy Markdown
Author

Same error on Fedora when installing from COPR

Wellp, actually, as I've seen from a DKMS dev's profile, he's disappeared.
Seems like amnezia team is having tough times. Let's hope someone will get to the module in the near future.

@rylaix

rylaix commented Jan 7, 2025

Copy link
Copy Markdown
Author

Little update.
In telegram chat of Amnezia project, admin's are totally refusing to actually answer to the main question, are refusing to admit the issue, and as solution, they're providing to us "Pull request the fix yourself"
Actually disgusting, to hear something like that from a people, which are literally getting wealth to develop THAT.

@rylaix

rylaix commented Jan 7, 2025

Copy link
Copy Markdown
Author

In your case, you can try a simple workaround made by me:
Find your actual kernel ver by a command
Find a link to it in launchpad
Paste it to the install script here:
https://github.com/hayashidevs/amneziawg-install-script

@melianmiko

Copy link
Copy Markdown

Paste it to the install script here:

That's script for Ubuntu, I'm under Fedora, it doesn't use launchpad for source distribution)
Things here become a bit harder...

@rylaix

rylaix commented Jan 7, 2025

Copy link
Copy Markdown
Author

Paste it to the install script here:

That's script for Ubuntu, I'm under Fedora, it doesn't use launchpad for source distribution) Things here become a bit harder...

Let's better move to a discussion inside opened topic.

@f213

f213 commented Aug 15, 2025

Copy link
Copy Markdown

The solution is in README: you should make a symlink to the running kernel sources.

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.

3 participants