Bug 52976 - failed univention-maintenance.service
failed univention-maintenance.service
Status: NEW
Product: UCS
Classification: Unclassified
Component: General
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-0-errata
Assigned To: Philipp Hahn
UCS maintainers
: systemd
Depends on:
Blocks: 43691
  Show dependency treegraph
 
Reported: 2021-03-23 13:55 CET by Philipp Hahn
Modified: 2022-11-16 10:49 CET (History)
3 users (show)

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): bitesize
Max CVSS v3 score:
hahn: Patch_Available+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2021-03-23 13:55:12 CET
After installation of UCS 5.0-0rc0:

root@dc0:~# journalctl  -u univention-maintenance.service
-- Logs begin at Tue 2021-03-23 11:53:09 CET, end at Tue 2021-03-23 13:50:15 CET. --
Mär 23 11:53:21 unassigned-hostname systemd[1]: Starting LSB: Univention Updater...
Mär 23 11:53:22 unassigned-hostname univention-maintenance[1014]: Checking network for Univention maintenance...ldap[ds1]...failed.
Mär 23 11:53:22 unassigned-hostname systemd[1]: univention-maintenance.service: Control process exited, code=exited, status=1/FAILURE
Mär 23 11:53:22 unassigned-hostname systemd[1]: univention-maintenance.service: Failed with result 'exit-code'.
Mär 23 11:53:22 unassigned-hostname systemd[1]: Failed to start LSB: Univention Updater.

Fixed by restarting:

root@dc0:~# systemctl restart univention-maintenance.service
root@dc0:~# systemctl status univention-maintenance.service
● univention-maintenance.service - LSB: Univention Updater
   Loaded: loaded (/etc/init.d/univention-maintenance; generated)
   Active: active (exited) since Tue 2021-03-23 13:55:04 CET; 5s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 3012 ExecStart=/etc/init.d/univention-maintenance start (code=exited, status=0/SUCCESS)

Mär 23 13:55:03 dc0 systemd[1]: Starting LSB: Univention Updater...
Mär 23 13:55:04 dc0 univention-maintenance[3012]: Checking network for Univention maintenance...ldap[dc0.phahn.qa]...done.
Mär 23 13:55:04 dc0 systemd[1]: Started LSB: Univention Updater.
Comment 2 Philipp Hahn univentionstaff 2021-04-21 10:41:11 CEST
[Unit]
Description=Univention package maintenance
After=network-online.target
After=nss-lookup.target
After=slapd.service
Wants=network-online.target
ConditionPathExists=/var/univention-join/joined

[Service]
Type=oneshot
RemainAfterExit=yes
Restart=no
TimeoutSec=infinity
IgnoreSIGPIPE=no
KillMode=control-group
ExecStart=/etc/init.d/univention-maintenance start
ExecStop=/etc/init.d/univention-maintenance stop

[Install]
WantedBy=multi-user.target