Bug 56454 - cron error mail every day by univention-server/server_password_change when unjoined
cron error mail every day by univention-server/server_password_change when un...
Status: NEW
Product: UCS
Classification: Unclassified
Component: General
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on: 56378
Blocks: 56455
  Show dependency treegraph
 
Reported: 2023-08-18 12:47 CEST by Philipp Hahn
Modified: 2023-08-18 12:51 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
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.006
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 2023-08-18 12:47:09 CEST
+++ This bug was initially created as a clone of Bug #56378 +++

/etc/cron.d/univention-server-member runs
  /usr/sbin/jitter 600 /usr/lib/univention-server/server_password_change
every day by default, which fails is the system is not joined yet:
  failed to change server password: empty config-registry variable ldap/hostdn

root@korpon:/etc/cron.d# grep -c /usr/lib/univention-server/server_password_change /var/mail/systemmail 
18

The script should not run (or exit cleanly) if the system is not joined yet, e.g.
  [ -f /var/univention-join/joined ] || exit 0