Bug 29961 - UCS 3.1 Appliance: samba/debug/level is not set
UCS 3.1 Appliance: samba/debug/level is not set
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 3.1
Other Linux
: P2 normal (vote)
: UCS 3.1-0-errata
Assigned To: Arvid Requate
Stefan Gohmann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-08 13:10 CET by Tobias Peters
Modified: 2013-01-29 13:24 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 Tobias Peters univentionstaff 2013-01-08 13:10:26 CET
On a UCS 3.1 VM created from the internal template (78) [UCS: 3.1-0 i386 - Generic] the samba3/samba4 joinscript failed because the samba4 provision was not successfull. The cause of this is that the UCR variable samba/debug/level is not set.

An extract from /var/log/univention/setup.log:

debug_parse_params: unrecognized debug class name or format [None]
ERROR(runtime): uncaught exception - Unable to load default file
File "/usr/lib/python2.6/dist-packages/samba/netcmd/__init__.py", line 175, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/samba/netcmd/domain.py", line 261, in run
lp = sambaopts.get_loadparm()
File "/usr/lib/python2.6/dist-packages/samba/getopt.py", line 92, in get_loadparm
self._lp.load_default()
Samba4 provision failed, exiting /usr/share/univention-samba4/scripts/setup-s4.sh


If the variable is manually set before system-setup executes the joinscripts, the system will be successfully joined.
Comment 1 Arvid Requate univentionstaff 2013-01-08 17:35:58 CET
Das smb.conf Template setzt jetzt den Defaultwert "1" für "log level" falls  samba/debug/level nicht gesetzt ist.

* Aktualisiertes Advisory: 2012-12-18-univention-samba4.yaml
* Quellpaket ist auch für UCS 3.1-1 angepasst und als Version 2.0.35-2 gebaut.
Comment 2 Stefan Gohmann univentionstaff 2013-01-29 06:26:28 CET
errata YAML: OK

errata function / code: OK

3.1-1 changelog: OK

3.1-1 function / code: OK
Comment 3 Moritz Muehlenhoff univentionstaff 2013-01-29 13:24:06 CET
http://errata.univention.de/3.1-errata27.html