Bug 51476

Summary: ucslint should check debian/control for useless Priority:required/important and Essential:yes packages
Product: UCS Reporter: Philipp Hahn <hahn>
Component: ucslintAssignee: Philipp Hahn <hahn>
Status: CLOSED FIXED QA Contact: Florian Best <best>
Severity: normal    
Priority: P5 CC: schwardt
Version: UCS 5.0   
Target Milestone: UCS 4.4-4-errata   
Hardware: Other   
OS: Linux   
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:

Description Philipp Hahn univentionstaff 2020-06-12 10:29:37 CEST
Packages installed by default should not be listed explicitly except when a strict version is required.
Comment 1 Philipp Hahn univentionstaff 2020-06-23 10:47:01 CEST
[4.4-4] ed95d58559 Bug #51476 ucslint: Check for Essential:yes
 doc/errata/staging/ucslint.yaml                    |  3 +-
 packaging/ucslint/debian/changelog                 |  2 +
 packaging/ucslint/testframework/0014-10-11.correct |  4 ++
 .../testframework/0014-10-11/debian/control        | 31 ++++++++++++++
 .../ucslint/testframework/0014-10-11/debian/rules  |  3 ++
 .../ucslint/univention/ucslint/0014-Depends.py     | 50 +++++++++++++++-------
 6 files changed, 77 insertions(+), 16 deletions(-)

[4.4-4] d910654e41 Bug #51476 ucslint: Check for Essential:yes fix
 packaging/ucslint/testframework/0014-run1.correct | 1 +
 packaging/ucslint/testframework/0014-run2.correct | 1 +
 2 files changed, 2 insertions(+)

Package: ucslint
Version: 8.0.0-17A~4.4.0.202006231043
Branch: ucs_4.4-0
Scope: errata4.4-4

[4.4-4] c74496ab2c Bug #49704: ucslint 8.0.0-17A~4.4.0.202006231043
 doc/errata/staging/ucslint.yaml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 2 Florian Best univentionstaff 2020-06-23 18:11:46 CEST
OK: essential package detected in Depends and Build-Depends.
W:0014-10: debian/control: depends on "Essential:yes" package grep
OK: YAML

~OK: "Build-Depends: grep (> 1)," is detected.
Comment 3 Florian Best univentionstaff 2020-06-23 18:14:38 CEST
OK: check
E:0004-62: conffiles/etc/ldap/slapd.conf.d/60univention-ldap-server_acl-master: UCR template file using `custom_username()` must register for UCRV "users/default/.*"

OK: YAML
Comment 4 Erik Damrose univentionstaff 2020-06-24 12:53:16 CEST
<http://errata.software-univention.de/ucs/4.4/630.html>