Run command in chroot, Couldn't resolve host name, systemd
Manuel Trier
manuel at trier.pl
Sat Apr 27 08:42:24 UTC 2024
I've found a similar issue in the manjaro forum, maybe it's worth a look...
https://forum.manjaro.org/t/no-dns-resolution-in-chroot-qemu/45306/7
For me it looks like this matches your issue
Greetings
Manuel
Am 27. April 2024 10:27:30 MESZ schrieb Helmut Schneider via ubuntu-users <ubuntu-users at lists.ubuntu.com>:
>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.
>
>
>
>--
>ubuntu-users mailing list
>ubuntu-users at lists.ubuntu.com
>Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20240427/39993a87/attachment.html>
More information about the ubuntu-users
mailing list