Bug 45119 - Job for univention-maintenance.service failed
Job for univention-maintenance.service failed
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 4.3
Other Mac OS X 10.1
: P5 normal (vote)
: UCS 5.0
Assigned To: Philipp Hahn
Felix Botner
:
: 47446 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-02 11:23 CEST by Michel Smidt
Modified: 2021-05-25 16:03 CEST (History)
4 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
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.057
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:
hahn: Patch_Available+


Attachments
Wait for DNS server for maintenance (1.27 KB, patch)
2019-01-07 08:23 CET, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Smidt 2017-08-02 11:23:32 CEST
univention-maintenance seems to fail under 4.2

root@master:~# service univention-maintenance restart 
Job for univention-maintenance.service failed. See 'systemctl status univention-maintenance.service' and 'journalctl -xn' for details.
root@master:~# journalctl -xn
-- Unit univention-maintenance.service has begun starting up.
Aug 02 11:16:50 master univention-maintenance[5076]: Checking network for Univention maintenance...ldap[master.schulen.xxx.univentiontest]...failed.
Aug 02 11:16:50 master systemd[1]: univention-maintenance.service: control process exited, code=exited status=1
Aug 02 11:16:50 master systemd[1]: Failed to start LSB: Univention Updater.
-- Subject: Unit univention-maintenance.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit univention-maintenance.service has failed.
-- 
-- The result is failed.
Aug 02 11:16:50 master systemd[1]: Unit univention-maintenance.service entered failed state.
Aug 02 11:17:01 master CRON[5087]: pam_unix(cron:session): session opened for user root by (uid=0)
Aug 02 11:17:02 master CRON[5091]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 02 11:17:02 master CRON[5087]: pam_unix(cron:session): session closed for user root
Comment 1 Philipp Hahn univentionstaff 2019-01-04 14:12:21 CET
*** Bug 47446 has been marked as a duplicate of this bug. ***
Comment 2 Philipp Hahn univentionstaff 2019-01-04 14:30:08 CET
Quoting from Bug #47446 comment 0:

> The service won't retry to start and will stay in it's failed state. 
> This happens because the service tries to reach servers by FQDN domains BEFORE bind9 (DNS) is running. It fails to resolve them and exits. This can be fixed by (somehow) adding DNS to the 'Required-Start' parameter of the service.
Comment 3 Philipp Hahn univentionstaff 2019-01-07 08:23:00 CET
Created attachment 9788 [details]
Wait for DNS server for maintenance
Comment 4 Philipp Hahn univentionstaff 2020-12-01 10:10:58 CET
Fixed in UCS-5.0-0 with git:3870d57f7999

[5.0-0] 2cdccb2537 fixup! Bug #45119 up: Wait for DNS server for maintenance
 doc/changelog/changelog-5.0-0.xml | 3 +++
 1 file changed, 3 insertions(+)


QA: reboot → systemctl status univention-maintenance.service → OKAY
Comment 5 Felix Botner univentionstaff 2021-02-17 14:41:43 CET
OK - univention-maintenance.service after reboot
OK - changelog
Comment 6 Florian Best univentionstaff 2021-05-25 16:03:30 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".