Bug 53064 - Slow bind installation during system setup
Summary: Slow bind installation during system setup
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: DNS
Version: UCS 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.0
Assignee: Jürn Brodersen
QA Contact: Florian Best
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-13 10:29 CEST by Jürn Brodersen
Modified: 2021-05-25 16:00 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments
Proposed patch (3.20 KB, patch)
2021-04-13 10:29 CEST, Jürn Brodersen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jürn Brodersen univentionstaff 2021-04-13 10:29:10 CEST
Created attachment 10685 [details]
Proposed patch

Slow bind installation during system setup

During the system setup, bind does not start due to a (at that point) invalid config. The installation then waits 1~2 minutes for a timeout.

It seems there isn't much missing to make the bind config valid during the setup and save a minute.

Note:
This is only a performance problem. After the full system setup bind will be working without fixing this.
Comment 1 Jürn Brodersen univentionstaff 2021-04-13 12:44:50 CEST
[5.0-0 0ee2054247] Bug #53064: always allow localhost to control the bind proxy
[5.0-0 e19cdfdb3f] Bug #53064: changelog

Package: univention-bind
Version: 14.0.1-1A~5.0.0.202104131242
Branch: ucs_5.0-0
Comment 2 Florian Best univentionstaff 2021-04-21 10:52:07 CEST
There is still one place where starting of bind9 fails during System Setup:

https://jenkins.knut.univention.de:8181/job/UCS-5.0/job/UCS-5.0-0/view/Default/job/AutotestJoin/SambaVersion=no-samba,Systemrolle=master/ws/test/autotest-090-master-no-samba.log
[master090] 2021-04-20T23:52:08.631864	run-parts: executing /usr/lib/univention-system-setup/scripts/30_net/16forwarder --network-only --appliance-mode
[master090] 2021-04-20T23:52:08.647832	=== 30_net/16forwarder (2021-04-20 23:52:08) ===
[master090] 2021-04-20T23:52:08.647832	__NAME__:30_net/16forwarder Setting external name servers
[master090] 2021-04-20T23:52:40.523173	Job for bind9.service failed because the control process exited with error code.
[master090] 2021-04-20T23:52:40.523173	See "systemctl status bind9.service" and "journalctl -xe" for details.

but this doesn't block.

OK: code review
OK: bind9 startup
OK: changelog entry
Comment 3 Florian Best univentionstaff 2021-05-25 16:00:50 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".