Bug 1986327 - 389-ds should "Requires:" the current nss version
Summary: 389-ds should "Requires:" the current nss version
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: 389-ds
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: mreynolds
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-27 09:40 UTC by François Cami
Modified: 2022-06-08 06:29 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-08 06:29:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Add %dirsrv_requires_ge macro (1.43 KB, application/mbox)
2021-07-27 13:03 UTC, Viktor Ashirov
no flags Details

Description François Cami 2021-07-27 09:40:51 UTC
Description of problem:

It is currently possible to update 389DS without updating NSS.
This leads to issues, like the ones discovered by one of the IPA Nightly tests:
https://github.com/freeipa-pr-ci2/freeipa/pull/1060


* PKI [log](http://freeipa-org-pr-ci.s3-website.eu-central-1.amazonaws.com/jobs/5abe4e7a-ec62-11eb-848c-fa163e979771/test_integration-test_automember.py-TestAutounmembership-install/master.ipa.test/var/log/pki/pki-tomcat/ca/debug.2021-07-24.log.gz)
```
2021-07-24 09:43:49 [main] SEVERE: Unable to start CA engine: Unable to connect to LDAP server: Authentication failed
Unable to connect to LDAP server: Authentication failed
```
* DS [log](http://freeipa-org-pr-ci.s3-website.eu-central-1.amazonaws.com/jobs/5abe4e7a-ec62-11eb-848c-fa163e979771/test_integration-test_automember.py-TestAutounmembership-install/master.ipa.test/var/log/pki/pki-tomcat/ca/debug.2021-07-24.log.gz)
```
[24/Jul/2021:09:43:49.547342936 +0000] conn=3 SSL failed to obtain channel info; Netscape Portable Runtime error -8187 (security library: invalid arguments.)
[24/Jul/2021:09:43:49.548664320 +0000] conn=3 op=1 BIND dn="" method=sasl version=3 mech=EXTERNAL
[24/Jul/2021:09:43:49.554627535 +0000] conn=3 op=1 RESULT err=48 tag=97 nentries=0 wtime=0.182211764 optime=0.005972222 etime=0.188180221
```

Steps to Reproduce:
1. Install Fedora 34 without updates
2. Install IPA packages
3. ipa-server-install

Actual results:
Failed install due to 389DS (389-ds-base-2.0.7-1.fc34) being incompatible with older versions of NSS (nss-3.65.0-1.fc34 for instance). 


Expected results:
Successful install?
Installing 389DS packages should pull the latest released NSS.

Comment 1 Viktor Ashirov 2021-07-27 13:03:32 UTC
Created attachment 1806320 [details]
Add %dirsrv_requires_ge macro

With the patch attached "Requires" for nss is auto generated at build time:

$ rpmspec -P 389-ds-base.spec | grep '^Requires:' | grep 'nss ' 
Requires: nss >= 3.67.0
Requires: nss >= 3.67.0

Comment 2 Viktor Ashirov 2021-07-27 13:26:59 UTC
Upstream ticket: https://github.com/389ds/389-ds-base/issues/4848

Comment 3 Ben Cotton 2022-05-12 16:57:00 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Ben Cotton 2022-06-08 06:29:56 UTC
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07.

Fedora Linux 34 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.