Why removing packages?
-
wrote on Aug 13, 2024, 11:52 AM last edited by joseph Aug 13, 2024, 12:59 PM
Somehow my production server got 'resolvconf' removed during the night (which caused some problems).
Here is the
apt
log for the specific time:2024-08-07 06:44:00 startup packages configure 2024-08-07 06:44:23 startup packages remove 2024-08-07 06:44:23 status installed resolvconf:all 1.84ubuntu1 2024-08-07 06:44:23 remove resolvconf:all 1.84ubuntu1 <none> 2024-08-07 06:44:23 status half-configured resolvconf:all 1.84ubuntu1 2024-08-07 06:44:23 status half-installed resolvconf:all 1.84ubuntu1 2024-08-07 06:44:23 status triggers-pending man-db:amd64 2.10.2-1 2024-08-07 06:44:25 status config-files resolvconf:all 1.84ubuntu1 2024-08-07 06:44:25 startup packages configure 2024-08-07 06:44:25 trigproc man-db:amd64 2.10.2-1 <none> 2024-08-07 06:44:25 status half-configured man-db:amd64 2.10.2-1 2024-08-07 06:44:25 status installed man-db:amd64 2.10.2-1 2024-08-07 06:44:25 startup packages purge 2024-08-07 06:44:25 purge resolvconf:all 1.84ubuntu1 <none> 2024-08-07 06:44:25 status config-files resolvconf:all 1.84ubuntu1 2024-08-07 06:44:27 status not-installed resolvconf:all <none> 2024-08-07 06:44:27 startup packages configure 2024-08-07 06:44:34 startup archives unpack 2024-08-07 06:44:34 upgrade containerd.io:amd64 1.6.21-1 1.6.31-1 2024-08-07 06:44:34 status half-configured containerd.io:amd64 1.6.21-1 2024-08-07 06:44:34 status unpacked containerd.io:amd64 1.6.21-1 2024-08-07 06:44:34 status half-installed containerd.io:amd64 1.6.21-1
It was not happening at Cloudron 7.* bug only happened on Cloudron 8.*
It feels like some automatic removal has been added recently. If so - how do I make sure it's not running?
-
wrote on Aug 13, 2024, 12:44 PM last edited by
I hope that marking the package on hold would work fine, i.e.:
apt install resolvconf apt-mark hold resolvconf
-
@potemkin_ai
resolvconf
is not needed anymore and is uninstalled by the update. Installing it causes confusion with dns resolution . With Cloudron 8,systemd-resolved
(the ubuntu default) is used for DNS resolution . So, it should remain uninstalled. Are you having any problems with DNS resolution ? You can check the output ofresolvectl
to see if nameservers are being assigned correctly . -
wrote on Aug 16, 2024, 7:20 PM last edited by
I need it for wireguard. Re-installed it back and it seems to be holding up so far. What kind of issues would you expect, if you are not using it?
-
I need it for wireguard. Re-installed it back and it seems to be holding up so far. What kind of issues would you expect, if you are not using it?
@potemkin_ai resolvconf was only previously needed because we replaced the system DNS resolution with unbound. As for issues, the usual disclaimer about installing additional packages having unintended side effects on future versions of Cloudron applies.
-
-
-
@potemkin_ai resolvconf was only previously needed because we replaced the system DNS resolution with unbound. As for issues, the usual disclaimer about installing additional packages having unintended side effects on future versions of Cloudron applies.
wrote on Aug 17, 2024, 8:56 AM last edited by@joseph well, right. I understand necessity to keep focus for the product.
But that limits the application of Cloudron quite significantly.Am I right in understanding that I can not rely on any software - part of Cloudron setup, even on OS level?
-
@potemkin_ai yes, there is no guarantee that software that is pre-installed with Cloudron today will be available in the next release.
-
@potemkin_ai yes, there is no guarantee that software that is pre-installed with Cloudron today will be available in the next release.
wrote on Aug 17, 2024, 9:29 AM last edited by@joseph Ok. Minor releases and major releases - all the same? Or may I not worry inside major release - which is 8 now?
-
@joseph Ok. Minor releases and major releases - all the same? Or may I not worry inside major release - which is 8 now?
@potemkin_ai currently, we have no policy on this. but yes, patch releases won't remove ubuntu packages unless a security fix demands it.
-
wrote on Aug 18, 2024, 3:50 PM last edited by
Thank you, that is something.
-
wrote 29 days ago last edited by potemkin_ai 29 days ago
For the future generations: better do
ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf
to avoid messing with system's and cloudron settingsOr use netplan's WireGuard capabilities.