No DNS resolution in Cubic chroot

Bug #1794286 reported by Michel-Ekimia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cubic
Invalid
Undecided
Unassigned

Bug Description

in the chroot , /etc/resolv.conf is empty as thus no DNS resolution can be done

Started to customize 18.04 on a 16.04 workstation

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Michael,

This is an issue with Ubuntu. You will need to setup resolv.conf so it works for your scenario.

Since you are customizing 18.04 on a 16.04 system, I have a hunch #3 ~might~ work for you, but also look through the bugs in #1 or #2 for hints, or check option #4 as well.

#1 See...

    https://bugs.launchpad.net/cubic/+bug/1725840

#2 Or...

    https://bugs.launchpad.net/cubic/+bug/1723568

#3 Or try...

    ln -sr /run/systemd/resolve/resolv.conf /run/systemd/resolve/stub-resolv.conf

#4 Or try...

    mkdir /run/systemd/resolve/
    echo "nameserver 127.0.1.1
    search network" | tee /run/systemd/resolve/resolv.conf
    ln -sr /run/systemd/resolve/resolv.conf /run/systemd/resolve/stub-resolv.conf

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Closing this because it is related to Ubuntu bug https://bugs.launchpad.net/cubic/+bug/1725840.

Changed in cubic:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.