Bug 23761 - Während der Installation wird /etc/machine.secret von UCR Templates verwendet, obwohl es noch gar nicht vorhanden ist
Während der Installation wird /etc/machine.secret von UCR Templates verwendet...
Status: RESOLVED DUPLICATE of bug 22369
Product: UCS
Classification: Unclassified
Component: General
UCS 3.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-22 11:01 CEST by Felix Botner
Modified: 2011-09-22 11:16 CEST (History)
0 users

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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2011-09-22 11:01:20 CEST
Das führt zu diversen Tracebacks in der Installer Log 

Adding ldap map entry to /etc/postfix/dynamicmaps.cf^M
Setting up univention-mail-postfix (6.0.12-1.147.201109212003) ...^M
Multifile: /etc/postfix/ldap.virtual^M
Traceback (most recent call last):^M
  File "<stdin>", line 7, in <module>^M
IOError: [Errno 2] No such file or directory: '/etc/machine.secret'^M
Multifile: /etc/postfix/ldap.virtualdomains^M


Außerdem ist in den Templates, in denen das Passwort direkt verwendet werden muss, das Passwort dann nicht gesetzt.

# direkt nach der Installation
-> more /etc/postfix/ldap.virtualdomains 
server_host = ldap://master.fb.test:7389
search_base = dc=fb,dc=test
query_filter = (&(objectClass=univentionMailDomainname)(cn=%s))
result_attribute = cn
result_format = %s
search_timeout = 15
scope = sub
version = 3
bind_dn = cn=master,cn=dc,cn=computers,dc=fb,dc=test

-> ucr commit /etc/postfix/ldap.virtualdomains
Multifile: /etc/postfix/ldap.virtualdomains

-> more /etc/postfix/ldap.virtualdomains 
server_host = ldap://master.fb.test:7389
search_base = dc=fb,dc=test
query_filter = (&(objectClass=univentionMailDomainname)(cn=%s))
result_attribute = cn
result_format = %s
search_timeout = 15
scope = sub
version = 3
bind_dn = cn=master,cn=dc,cn=computers,dc=fb,dc=test
bind_pw = v1DKqbvE

Das führt wahrscheinlich dazu, dass zumindest postfix nicht funktioniert (es können aber auch beliebige andere Dienste sein)
Comment 1 Felix Botner univentionstaff 2011-09-22 11:16:15 CEST
Es betrifft i.M. wohl nur postfix. Vielleicht reicht es erstmal wenn univention-mail-postfix sein Konfigs im Join Skript nochmal comittet.
Comment 2 Felix Botner univentionstaff 2011-09-22 11:16:30 CEST

*** This bug has been marked as a duplicate of bug 22369 ***