resolv.conf symlink is broken after clean debootstrap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
resolvconf (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
systemd (Ubuntu) |
Invalid
|
Critical
|
Unassigned |
Bug Description
Reproducer:
- debootstrap artful artful
Expected:
- "chroot artful cat /etc/resolv.conf" doesn't fail.
- /etc/resolv.conf is a symlink to something valid in /run
Actual:
- "chroot artful cat /etc/resolv.conf" gets you "No such file or directory"
- /etc/resolv.conf is a symlink to "../run/
- "../run/
This causes all LXC image creation to fail, causing autopkgtest to fail (as noticed by the kernel team) and has been causing all images to fail building on the upstream build system for the past two days.
root@vm04:~# chroot artful ls -lh /etc/resolv.conf /run/resolvconf/
lrwxrwxrwx 1 root root 29 Aug 25 20:20 /etc/resolv.conf -> ../run/
/run/resolvconf/:
total 4.0K
-rw-r--r-- 1 root root 0 Aug 25 20:21 enable-updates
drwxr-xr-x 2 root root 4.0K Aug 25 20:20 interface
lrwxrwxrwx 1 root root 39 Aug 25 20:18 resolv.conf -> ../run/
root@vm04:~# chroot zesty ls -lh /etc/resolv.conf /run/resolvconf/
lrwxrwxrwx 1 root root 29 Aug 25 20:20 /etc/resolv.conf -> ../run/
/run/resolvconf/:
total 8.0K
-rw-r--r-- 1 root root 0 Aug 25 20:20 enable-updates
drwxr-xr-x 2 root root 4.0K Aug 25 20:20 interface
-rw-r--r-- 1 root root 357 Aug 25 20:15 resolv.conf
Changed in systemd (Ubuntu): | |
status: | In Progress → Invalid |
Status changed to 'Confirmed' because the bug affects multiple users.