Bug 8278 - univention-baseconfig commit: Dictionary mit allen subfiles
univention-baseconfig commit: Dictionary mit allen subfiles
Status: CLOSED WORKSFORME
Product: UCS
Classification: Unclassified
Component: UCR
UNSTABLE
All Linux
: P4 enhancement (vote)
: UCS 3.2
Assigned To: Philipp Hahn
Felix Botner
: interim-2
: 20685 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-10 17:06 CEST by bastian neumann
Modified: 2013-11-19 06:44 CET (History)
3 users (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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bastian neumann univentionstaff 2007-05-10 17:06:04 CEST
In univention_baseconfig.py wird aus allen verfügbaren Subfiles ein Dictionary erzeugt. 

Erzeugt man nun einen Fehler wie in Bug 2005, indem man in einer .info Datei auf eine Subfile verweist die nicht existent ist, schlägt univention-baseconfig commit immer fehl.

Beispiel:
Der Fehler befindet sich in der univention-samba.info
root@testor:~# univention-baseconfig commit /etc/samba/smb.conf
The following Subfile doesnt exist:
/etc/univention/templates/files/etc/samba/smb.conf.d/72univention-samba_users
univention-baseconfig commit aborted

Dies hier sollte aber unabhängig von einem Fehler in der univention-samba.info funktionieren:
root@testor:~# univention-baseconfig commit /etc/ldap/slapd.conf
The following Subfile doesnt exist:
/etc/univention/templates/files/etc/samba/smb.conf.d/72univention-samba_users
univention-baseconfig commit aborted
Comment 1 Philipp Hahn univentionstaff 2011-05-12 15:23:47 CEST
*** Bug 20685 has been marked as a duplicate of this bug. ***
Comment 2 Philipp Hahn univentionstaff 2013-09-20 11:01:32 CEST
# mv /etc/univention/templates/files/etc/ldap/slapd.conf.d/65ucc /etc/univention/templates/files/etc/ldap/slapd.conf.d/65ucc.2
# ucr commit /etc/ldap/slapd.conf 
Failed to process Subfile /etc/univention/templates/files/etc/ldap/slapd.conf.d/65ucc
Multifile: /etc/ldap/slapd.conf
# ucr /etc/samba/smb.conf
# dpkg-query -W univention-config-registry
Comment 3 Felix Botner univentionstaff 2013-09-20 11:23:55 CEST
OK

-> mv /etc/univention/templates/files/etc/ldap/slapd.conf.d/10univention-ldap-server_schema /etc/univention/templates/files/etc/ldap/slapd.conf.d/10univention-ldap-server_schema.o

-> ucr commit /etc/ldap/slapd.conf 
Failed to process Subfile /etc/univention/templates/files/etc/ldap/slapd.conf.d/10univention-ldap-server_schema
Multifile: /etc/ldap/slapd.conf

-> ucr commit /etc/samba/smb.conf 
Multifile: /etc/samba/smb.conf
Comment 4 Stefan Gohmann univentionstaff 2013-11-19 06:44:35 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

If this error occurs again, please use "Clone This Bug".