Bug 51998 - Changing the nameserver breaks DNS in running apps (appbox)
Changing the nameserver breaks DNS in running apps (appbox)
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-09-11 14:44 CEST by Felix Botner
Modified: 2020-09-11 15:20 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.023
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2020-09-11 14:44:38 CEST
Normally just restarting the container is enough so that /etc/resolv.conf in the container is updated according to the hosts resolv.conf.

But appbox always commits (ucr) the /etc/resolv.conf upon startup

File: /etc/resolv.conf
interfaces/eth0/address: 172.17.0.2
interfaces/eth0/broadcast: 172.17.255.255
interfaces/eth0/netmask: 255.255.0.0
interfaces/eth0/network: 172.17.0.0
ifdown: interface eth0 not configured
File: /etc/dhcp/dhclient.conf
RTNETLINK answers: Operation not permitted
ifup: failed to bring up eth0
Setting system/setup/boot/force/fqdn
Setting interfaces/eth0/address
Setting interfaces/eth0/broadcast
Setting interfaces/eth0/netmask
Setting interfaces/eth0/network
Setting interfaces/eth0/type
Setting docker/container/uuid
Multifile: /etc/network/interfaces
Multifile: /etc/hosts
File: /etc/dhcp/dhclient.conf
File: /etc/welcome.msg
File: /etc/default/ifplugd
File: /etc/issue
run-parts: executing /etc/univention/docker/preinit.d/fix-cron-hardlinks
INFO: Switching to standard /sbin/init.debian

So "somebody" has to update the ucr dns configuration in the appbox container, otherwise the container looses dns.