Bug 47714 - Broken bind9.service (during EC2 VM setup)
Broken bind9.service (during EC2 VM setup)
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: DNS
UCS 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
: systemd
Depends on: 43689
Blocks: ucs432ec2
  Show dependency treegraph
 
Reported: 2018-09-04 10:49 CEST by Philipp Hahn
Modified: 2021-05-14 16:34 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.017
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 Philipp Hahn univentionstaff 2018-09-04 10:49:57 CEST
While doing QA for ami-081854ddb9863d0ce (Bug #47663)

# journcalctl
... ucs432 systemd[1]: bind9.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.

# ucr get dns/backend
# ucr commit /etc/systemd/system/bind9.service.d/10-configure-backend.conf
File: /etc/systemd/system/bind9.service.d/10-configure-backend.conf
Traceback (most recent call last):
  File "<stdin>", line 8, in <module>
AttributeError: 'NoneType' object has no attribute 'lower'

Fix:

sed -i -e "/^dns_backend/s/')/', '&/" /etc/univention/templates/files/etc/systemd/system/bind9.service.d/10-configure-backend.conf

+++ This bug was initially created as a clone of Bug #43689 +++
Comment 1 Jürn Brodersen univentionstaff 2018-09-04 11:25:45 CEST
While this should be fixed, the end result is the same. No running bind9.service and an error message that the service couldn't be started because dns/backend isn't set. Is that the expected result here?
Comment 2 Ingo Steuwer univentionstaff 2021-05-14 15:42:19 CEST
This issue has been filed against UCS 4.3.

UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.