On Tue, 14 Mar 2023 14:37:46 +0200 =?utf-8?q?Samuli_Suonp=C3=A4=C3=A4?=
<[email protected]> wrote:
> Now we are in a chroot environment, but name resolution does not
work.
> 
> Would it be possible to defer overwriting /etc/resolv.conf? Does it
have
> to happen at .postinst and not at, say, at the start of the service?

No, because the image might be read-only by that time. If you decide to
install the package, you need to ensure it can work, and if you use an
image build tool, it's up to that tool to ensure it is set up
correctly, as it obviously cannot be done from the package itself.

-- 
Kind regards,
Luca Boccassi

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to