Bug 51834 - Error message in 10univention-ldap-server.inst, because machine.secret does not exists yet
Error message in 10univention-ldap-server.inst, because machine.secret does n...
Status: NEW
Product: UCS
Classification: Unclassified
Component: LDAP
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on: 24518
Blocks:
  Show dependency treegraph
 
Reported: 2020-08-18 16:15 CEST by Florian Best
Modified: 2020-08-18 16:15 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
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): Error handling
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2020-08-18 16:15:03 CEST
Still happens every day with UCS 4.4-5.

https://jenkins.knut.univention.de:8181/job/UCS-5.0/job/UCS-5.0-0/view/Default/job/AutotestJoin/SambaVersion=s4,Systemrolle=master/ws/test/setup.log

__MSG__:Einrichten von 10univention-ldap-server
__STEP__:7
Configure 10univention-ldap-server.inst Tue Aug 18 01:26:23 CEST 2020
2020-08-18 01:26:23.639470959+02:00 (in joinscript_init)

WARNING!
Check file permissions!

Multifile: /etc/ldap/slapd.conf
Adding SRV record "ldap tcp 0 100 7389 master091.AutoTest091.local." to zone AutoTest091.local...
done
Adding ZONE record "root@AutoTest091.local. 1 28800 10800 604800 108001 master091.AutoTest091.local." to zone 10.207...
Object created: cn=master091,cn=dc,cn=computers,dc=AutoTest091,dc=local
Traceback (most recent call last):
File "<stdin>", line 13, in <module>
IOError: [Errno 2] No such file or directory: '/etc/machine.secret'
Traceback (most recent call last):
File "<stdin>", line 8, in <module>
IOError: [Errno 2] No such file or directory: '/etc/machine.secret'
/etc/idp-ldap-user.secret could not be read!
/etc/idp-ldap-user.secret could not be read!
Create ldap/hostdn
File: /etc/pam.d/smtp
Multifile: /etc/postfix/ldap.distlist
Multifile: /etc/postfix/ldap.virtualwithcanonical
File: /etc/pam_ldap.conf
File: /etc/squid/squid.conf
…

+++ This bug was initially created as a clone of Bug #24518 +++

Im join.log eines frisch installierten amd64 UCS 3.0-RC Master findet sich folgende Fehlermeldung:

Configure 10univention-ldap-server.inst
Adding SRV record "ldap tcp 0 100 7389 master20.arrc3i1.amd64." to zone arrc3i1.amd64... done
Adding ZONE record "root@arrc3i1.amd64. 1 28800 10800 604800 108001 master20.arrc3i1.amd64." to zone 10.200.8... done
Object created: cn=master20,cn=dc,cn=computers,dc=arrc3i1,dc=amd64
Traceback (most recent call last):
  File "<stdin>", line 21, in <module>
IOError: [Errno 2] No such file or directory: '/etc/machine.secret'
Create ldap/hostdn