Univention Bugzilla – Bug 44522
univenton-samba is missing in appliance package cache
Last modified: 2017-06-19 15:04:54 CEST
The package univention-samba is missing in our Amazon EC2 cache. Maybe also in other appliances. This is critical for our AD member mode setup because the package should be installed during the setup. The online repository is activated after the setup completed. See for example: http://jenkins.knut.univention.de:8080/job/UCS-4.2/job/UCS-4.2-0/job/ADMemberMultiEnv/Mode=installation,Version=w2k8r2-english/ws/autotest-226-admember-w2k8r2-english.log ------------------------------------------------------------------------------ __STEP__:75 __MSG__:Einrichten des Administrator-Kontos... 02.05.17 23:32:26.405 MODULE ( PROCESS ) : Prepare administrator account __STEP__:80 __MSG__:Ausführen des Samba Join-Skripts... 02.05.17 23:32:26.646 MODULE ( PROCESS ) : Running samba join script __ERR__:[Errno 2] Datei oder Verzeichnis nicht gefunden Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/setup_script.py", line 309, in run success = self.inner_run() File "/usr/lib/univention-system-setup/scripts/90_postjoin/10admember", line 119, in inner_run admember.run_samba_join_script(username, password) File "/usr/lib/pymodules/python2.7/univention/lib/admember.py", line 1149, in run_samba_join_script p1 = subprocess.Popen(cmd, close_fds=True, env=my_env, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden run-parts: /usr/lib/univention-system-setup/scripts/90_postjoin/10admember exited with return code 1 ------------------------------------------------------------------------------ Afterwards, the online repository is activated: http://jenkins.knut.univention.de:8080/job/UCS-4.2/job/UCS-4.2-0/job/ADMemberMultiEnv/Mode=installation,Version=w2k8r2-english/ws/config-registry.replog.log ------------------------------------------------------------------------------ 2017-05-02 23:32:33: set repository/online=yes old:no ------------------------------------------------------------------------------
The package univention-samba is present in our current ucs appliances: # apt-cache policy univention-samba univention-samba: Installed: (none) Candidate: 11.0.1-6A~4.2.0.201703292017 Version table: 11.0.1-6A~4.2.0.201703292017 0 500 file:/var/cache/univention-system-setup/packages/ ./ Packages The package is also available on our UCS 4.2 DVD. As this bug says, it is not in the package cache of our 4.2 EC2 image - the package name is not present in our download-packages script, we only download univention-samba4 It is not present in the latest 4.1.4 EC2 image (rev.5), but that image has UCR repository/online=true
I added univention-samba to the download-packages script in r79036 univention-system-setup 10.0.10-14A~4.2.0.201705031025 r79037 yaml
Review: OK YAML: OK
<http://errata.software-univention.de/ucs/4.2/50.html>