Bug 52901 - Missing dependencies inside minimal container
Missing dependencies inside minimal container
Status: NEW
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-03-14 07:48 CET by Philipp Hahn
Modified: 2021-03-15 14:00 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
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 Philipp Hahn univentionstaff 2021-03-14 07:48:18 CET
var/lib/dpkg/info/python-univention-directory-manager.postinst: 73: /var/lib/dpkg/info/python-univention-directory-manager.postinst: pgrep: not found
/var/lib/dpkg/info/python-univention-directory-manager.postinst: 71: /var/lib/dpkg/info/python-univention-directory-manager.postinst: call_joinscript: not found
Comment 1 Florian Best univentionstaff 2021-03-15 13:34:48 CET
(In reply to Philipp Hahn from comment #0)
> var/lib/dpkg/info/python-univention-directory-manager.postinst: 73:
> /var/lib/dpkg/info/python-univention-directory-manager.postinst: pgrep: not
> found
Can you show your file?
There is no use of pgrep, neither in the postinst nor in the debhelper additions. 

> /var/lib/dpkg/info/python-univention-directory-manager.postinst: 71:
> /var/lib/dpkg/info/python-univention-directory-manager.postinst:
> call_joinscript: not found

Missing dependency on univention-join.
Comment 2 Philipp Hahn univentionstaff 2021-03-15 14:00:38 CET
> /var/lib/dpkg/tmp.ci/preinst: 73: /var/lib/dpkg/tmp.ci/preinst: pgrep: not found
...
> Setting up python-univention-directory-manager (15.0.7-4A~5.0.0.202102261121) ...
...
> /var/lib/dpkg/info/python-univention-directory-manager.postinst: 73: /var/lib/dpkg/info/python-univention-directory-manager.postinst: pgrep: not found

Seems like I used an out-dated package:
  curl http://omar.knut.univention.de/build2/ucs_5.0-0/all/python-univention-directory-manager_15.0.7-4A~5.0.0.202103151343_all.deb | dpkg-deb -e - ./tmp
  grep --color -n grep ./tmp/*
  rm -rf ./tmp