Run command in chroot, Couldn't resolve host name, systemd
Helmut Schneider
jumper99 at gmx.de
Sat Apr 27 08:27:30 UTC 2024
Am 26.04.2024 um 23:05 schrieb Little Girl:
> Helmut Schneider via ubuntu-users wrote:
>
>>I created a chroot env for freshclam. No big deal:
>
> I don't know anything about chroot environments, so this might not
> apply in your case, but you can configure the database to be updated
> inside the /etc/clamav/freshclam.conf file. It's the line that starts
> with "Checks" and it's configured to check for updates 24 times a day
> by default.
It's not about freshclam, it's about that running the command as chroot
works but when invoked from systemd, name resolution does not work
anymore. I assume it has something to do with systemd.
More information about the ubuntu-users
mailing list