Why removing packages?
-
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?
-
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 . -
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.
-
-
-
@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 currently, we have no policy on this. but yes, patch releases won't remove ubuntu packages unless a security fix demands it.
-
Thank you, that is something.