Bug 1536349
| Summary: | ca-legacy uses /usr/bin/sln and doesn't require it (and it doesn't exist anymore) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Igor Gnatenko <ignatenko> |
| Component: | ca-certificates | Assignee: | Kai Engert (:kaie) (inactive account) <kengert> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | fweimer, jorton, kengert, msuchy, pwouters, tis, tmraz |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ca-certificates-2017.2.20-5.fc28 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-01-19 12:20:32 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1531546 | ||
| Bug Blocks: | |||
|
Description
Igor Gnatenko
2018-01-19 08:23:00 UTC
In the past, I had been asked to avoid using the "ln" command, as it had introduced a circular dependency. The coreutils package had an indirect dependency on ca-certificates, which means ca-certificates shouldn't depend on coreutils. Today in F28: - coreutils requires libcrypto/openssl - openssl requires openssl-libs - openssl-libs requires ca-certificates I conclude that ca-certificates shouldn't depend on coreutils? Discussed with Florian. He recommends that we use ln, without requiring coreutils. We already use mkdir in %install without requiring coreutils. fixed However, this "solution" causes
Installing : ca-certificates-2017.2.20-6.fc28.noarch
Running scriptlet: ca-certificates-2017.2.20-6.fc28.noarch 68/171
/usr/bin/ca-legacy: line 38: ln: command not found
Can be easily reproduced with mock for any build which use ca-cartificates as build deps transitively (i.e. nearly every build).
That's exactly the original error which is caused by cyclic dependency. |