Bug 44522 - univenton-samba is missing in appliance package cache
univenton-samba is missing in appliance package cache
Product: UCS
Classification: Unclassified
Component: System setup
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-0-errata
Assigned To: Erik Damrose
Stefan Gohmann
Depends on:
  Show dependency treegraph
Reported: 2017-05-03 06:30 CEST by Stefan Gohmann
Modified: 2017-06-19 15:04 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.171
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:


Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2017-05-03 06:30:16 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:
__MSG__:Einrichten des Administrator-Kontos...
02.05.17 23:32:26.405  MODULE      ( PROCESS ) : Prepare administrator account
__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:
2017-05-02 23:32:33: set repository/online=yes old:no
Comment 1 Erik Damrose univentionstaff 2017-05-03 10:07:38 CEST
The package univention-samba is present in our current ucs appliances:
# apt-cache policy univention-samba
  Installed: (none)
  Candidate: 11.0.1-6A~
  Version table:
     11.0.1-6A~ 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
Comment 2 Erik Damrose univentionstaff 2017-05-03 10:28:33 CEST
I added univention-samba to the download-packages script in

r79036 univention-system-setup 10.0.10-14A~
r79037 yaml
Comment 3 Stefan Gohmann univentionstaff 2017-05-04 17:23:36 CEST
Review: OK

Comment 4 Janek Walkenhorst univentionstaff 2017-06-19 15:04:54 CEST