Bug 39394 - "debian/control: Priority optional" missing in several packages
"debian/control: Priority optional" missing in several packages
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.3-3-errata
Assigned To: Philipp Hahn
Arvid Requate
:
Depends on:
Blocks: 48427 48642
  Show dependency treegraph
 
Reported: 2015-09-23 12:21 CEST by Philipp Hahn
Modified: 2019-04-04 13:16 CEST (History)
2 users (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 2015-09-23 12:21:26 CEST
The [Source] section of debian/control should contain "Priority: optional".
This is required for DVD building (and debootstrap), which install packages of priority "standard < important < required" by default.
<https://www.debian.org/doc/debian-policy/ch-archive.html#s-priorities>

Header field 'Priority' missing for package 'univention-directory-notifier'.
Header field 'Priority' missing for package 'univention-directory-listener'.
Header field 'Priority' missing for package 'univention-mail-postfix-forward'.
Header field 'Priority' missing for package 'univention-mail-server'.
Header field 'Priority' missing for package 'univention-mail-postfix'.
Header field 'Priority' missing for package 'univention-management-console-module-quota'.
Header field 'Priority' missing for package 'univention-home-mounter'.
Header field 'Priority' missing for package 'univention-quota'.
Header field 'Priority' missing for package 'univention-pam'.
Header field 'Priority' missing for package 'univention-directory-replication'.
Header field 'Priority' missing for package 'univention-snmp'.
Header field 'Priority' missing for package 'univention-mail-canonical-maps'.
Header field 'Priority' missing for package 'univention-postgrey'.
Header field 'Priority' missing for package 'univention-postgresql'.
Header field 'Priority' missing for package 'univention-fetchmail-schema'.
Header field 'Priority' missing for package 'univention-nfs-server'.
Header field 'Priority' missing for package 'univention-fetchmail'.
Header field 'Priority' missing for package 'univention-passwd-store'.
Header field 'Priority' missing for package 'univention-snmpd'.

"univention-server-*" should also be changed to "optional", only one package of them can be installed at any time; they conflict through "master" and "backup" depending on "univention-ldap-acl-master", while" slave" depends on "univention-ldap-acl-slave", which conflict:

Package: univention-server-master
Depends: univention-ldap-acl-master
...
Package: univention-server-backup
Depends: univention-ldap-acl-master
...
Package: univention-server-slave
Depends: univention-ldap-acl-slave
...
Package: univention-ldap-acl-master
Conflicts: univention-ldap-acl-slave
...
Package: univention-ldap-acl-slave
Conflicts: univention-ldap-acl-master

"Priority: standard" must only contain conflict-free packages, all packages in "Priority: standard" must be co-installable!
Comment 1 Philipp Hahn univentionstaff 2016-09-27 16:03:44 CEST
r72843 | Bug #39394 home: debian/control: Add priority

Package: univention-home-mounter
Version: 7.0.1-2.74.201609271550
Branch: ucs_4.1-0
Scope: errata4.1-3

r72847 | Bug #39394 home: debian/control: Add priority
Comment 2 Philipp Hahn univentionstaff 2019-01-21 14:44:04 CET
[4.3-3] 1848b5658f Bug #39394: debian/control: Add missing Priority
[phahn/48427-udn] 9cb652c3bb Bug #39394: debian/control: Add missing Priority
[4.4-0] 6d9128e7b3 Bug #39394: debian/control: Add missing Priority
 base/univention-pam/debian/control                         | 1 +
 base/univention-passwd-store/debian/control                | 1 +
 mail/univention-fetchmail/debian/control                   | 1 +
 mail/univention-mail-canonical-maps/debian/control         | 1 +
 mail/univention-mail-postfix/debian/control                | 1 +
 mail/univention-postgrey/debian/control                    | 1 +
 management/univention-directory-notifier/debian/control    | 1 +
 management/univention-directory-replication/debian/control | 1 +
 services/univention-nfs/debian/control                     | 1 +
 services/univention-snmp/debian/control                    | 1 +
 services/univention-snmpd/debian/control                   | 1 +
 11 files changed, 11 insertions(+)

Those packages do not need an immeddiate rebuild, but this fixes the UCS branch test which fail to get imported into "reprepo" because of the missing Priority information:
> DEBUG:reprepro:Running ['reprepro', '--confdir', '/home/jenkins/conf', '--basedir', '/srv/reprepro', '--ignore=undefinedtarget', 'include', 'phahn48427-udn', '/tmp/tmpu_nlba1g/management/univention-directory-notifier_12.0.1-3A~~2019-01-18-59288.e33809b0391f95b82a73d02befbc1d400965a13e_amd64.changes']...
> No priority specified for '/tmp/tmpu_nlba1g/management/univention-directory-notifier_12.0.1-3A~~2019-01-18-59288.e33809b0391f95b82a73d02befbc1d400965a13e_amd64.changes'!
Comment 3 Arvid Requate univentionstaff 2019-01-22 14:09:55 CET
Verfied in all three branches.
Comment 4 Philipp Hahn univentionstaff 2019-04-04 13:16:52 CEST
Nothing to release.