chroot uses resolv.conf from host. Privilege escalation? 04 March 2018, 12:22:21 Hello,since a couple of days arch-chroot always usesresolv.conf from the host system.There are no symbolic links.This happens when I chroot into every Arch or Artix chroot.That means it has something to do with my Artix installation.uname -a in every chroot environment shows me exakt the same:Linux localhost 4.15.5-1-ARTIX #1 SMP PREEMPT Sat Feb 24 08:55:15 UTC 2018 x86_64 GNU/LinuxThis behavior does not occur in a fresh Arch Linux installation.It was also not present at the beginning of my Artix live.Maybe this issue correlates with the failure I have to install packages in chroot?Any help/fix for debugging would be very appreciate.I could try to debug this and go back to a previous installation withan entry in /etc/pacman.confIn Arch I can do:Server=https://archive.archlinux.org/repos/2017/09/01/$repo/os/$archWhat can I enter in Artix?
Re: chroot uses resolv.conf from host. Privilege escalation? Reply #1 – 04 March 2018, 16:23:00 This is normal. resolv.conf is needed from the host machine to provide networking. Even with arch linux they use the hosts resolv.con:https://git.archlinux.org/arch-install-scripts.git/tree/arch-chroot.in#n22As far as going back to a previous date with your packages, artix does not currently have that. Arch Linux has a separate special server with old packages to do that. We don't have a server we can use for that currently.
Re: chroot uses resolv.conf from host. Privilege escalation? Reply #2 – 04 March 2018, 16:49:23 Ah, okay. Than I had a failure in another chroot andon another host wherethe resolv.conf was not the same as on the host system.Thank you for the link to the install script!Shall I add [solved] to the title somewhere?
Re: chroot uses resolv.conf from host. Privilege escalation? Reply #3 – 04 March 2018, 16:55:06 There is a button in the topic that says "solve topic". Click that and it will mark this as solved.