systemd-nspawn resolv.conf issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

the issue is solved, but I don't know how I solved it.

I had the following issue.

# systemd-nspawn -D /mnt/q
[snip]
Failed to copy /etc/resolv.conf to /mnt/q/etc/resolv.conf: Too many
levels of symbolic links

From outside the container

# ls -hAl /etc/resolv.conf /mnt/q/etc/resolv.conf
-rw-r--r-- 1 root root 48 May 24 19:07 /etc/resolv.conf
lrwxrwxrwx 1 root root 29 Nov 19  2012 /mnt/q/etc/resolv.conf
-> ../run/resolvconf/resolv.conf

then I removed and copied this and that inside and outside the container
and now it's solved, also when I start another container.

# ls -hAl /etc/resolv.conf /mnt/q/etc/resolv.conf
-rw-r--r-- 1 root root 48 May 24 19:07 /etc/resolv.conf
-rw-r--r-- 1 root root 48 May 24 19:07 /mnt/q/etc/resolv.conf
# ls -hAl /etc/resolv.conf /mnt/oz/etc/resolv.conf
-rw-r--r-- 1 root root 48 May 24 19:07 /etc/resolv.conf
-rw-r--r-- 1 root root 48 May 24 19:07 /mnt/oz/etc/resolv.conf

I can't reproduce at what point I solved the issue, resp. reproduce the
state when it failed.

Any ideas? Bash history isn't a help for me.

Regards,
Ralf


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux