-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
Disabling automatic server updates #3871
Comments
Automatic router or VPS update is not implemented. |
Then maybe update-grub.sh does not work correctly and the MPTCP kernel changes to the standard Debian 12 system after rebooting the VPS? I forgot to mention that the problem seems to occur after rebooting the VPS. What are your suggestions on how the version 0.1032 5.4.207-mptcp could spontaneously change to 0.1032 6.1.0-32-amd64? |
I definitely don't take any action and I encounter this problem: "MPTCP kernel on router and VPS does not match" |
A Debian update of the kernel, so 6.1.0 was used after reboot. |
So this is a spontaneous update of the Debian kernel? But, as usual, I installed the server part with the command: If I reuse this command, the kernel will not change spontaneously anymore? I have many OpenMPTCProuter devices and servers in work and I have never encountered such a problem before. But on March 4, having installed the server part, as I usually did, I encountered such a problem on a new server. How can I force the script to use version 0.1026, for example? Could you give an example command? |
This may be updated if you have set As 5.4 is not supported anymore no tests and nothing is done to support it, server script may also stop supporting 5.4. All scripts (current and olders) are available here: https://github.com/Ysurac/openmptcprouter-vps (tagged on version) but old script can not work anymore (if a link is not working for example). |
Do I understand correctly that if I want to install the server with the v0.1026 script, the command will look like this: wget -O - https://github.com/Ysurac/openmptcprouter-vps/tree/v0.1026/debian-x86_64.sh | KERNEL="5.4" sh |
You need to disable automatic updates on Debian, otherwise, it will keep updating the kernel. Run this command: sudoedit /etc/apt/apt.conf.d/20auto-upgrades Replace its contents with the following:
Then, execute this command: sudo systemctl disable --now unattended-upgrades This way, Debian will not automatically perform any updates. It will be up to you to manually update whatever you find necessary. |
Is it not enough to simply remove the unattended-upgrades package? |
I also removed all unnecessary kernels by doing the following: uname -r dpkg --list | grep linux-image sudo apt purge linux-image-6.1.0-29-amd64 sudo apt purge linux-image-6.1.0-31-amd64 sudo apt purge linux-image-6.1.0-22-amd64 sudo apt purge linux-image-amd64 sudo apt autoremove sudo update-grub dpkg --list | grep linux-image reboot uname -r I will monitor the further behavior of the system. Thanks . |
Maybe a good idea to add in VPS script if I can add this without major problems. |
It would be great. Since the problem was solved, the kernel no longer updates spontaneously and the MPTCP server works stably. |
Expected Behavior
My VPS OpenMPTCProuter server updates itself
Current Behavior
Instead of just working on version 0.1032 5.4.207-mptcp, the server after 1-2 days automatically updates to version 0.1032 6.1.0-32-amd64. As a result, I get the message: "MPTCP kernel on router and VPS doesn't match" and the system does not work properly. I did not press the update button in the router's WEB interface. I tried to reflash the router - it does not help. There is nothing special in the router logs. I also tried to reinstall the server many times. Nothing helps.
How can I disable or prohibit OpenMPTCProuter server updates?
Specifications
The text was updated successfully, but these errors were encountered: