Bug 1536349 - ca-legacy uses /usr/bin/sln and doesn't require it (and it doesn't exist anymore)
Summary: ca-legacy uses /usr/bin/sln and doesn't require it (and it doesn't exist anym...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ca-certificates
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kai Engert (:kaie) (inactive account)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1531546
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-19 08:23 UTC by Igor Gnatenko
Modified: 2018-02-08 10:17 UTC (History)
7 users (show)

Fixed In Version: ca-certificates-2017.2.20-5.fc28
Clone Of:
Environment:
Last Closed: 2018-01-19 12:20:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Igor Gnatenko 2018-01-19 08:23:00 UTC
https://src.fedoraproject.org/rpms/glibc/c/d8e1573f9c8c28f6390791c329512045f0c52868?branch=master

When building packages in koji, shows warning:
DEBUG util.py:439:  /usr/bin/ca-legacy: line 38: sln: command not found

Comment 1 Kai Engert (:kaie) (inactive account) 2018-01-19 11:21:07 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.

Comment 2 Kai Engert (:kaie) (inactive account) 2018-01-19 11:27:10 UTC
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?

Comment 3 Kai Engert (:kaie) (inactive account) 2018-01-19 11:54:51 UTC
Discussed with Florian. He recommends that we use ln, without requiring coreutils. We already use mkdir in %install without requiring coreutils.

Comment 4 Kai Engert (:kaie) (inactive account) 2018-01-19 12:20:32 UTC
fixed

Comment 5 Miroslav Suchý 2018-02-08 09:45:02 UTC
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).

Comment 6 Tuomo Soini 2018-02-08 10:17:52 UTC
That's exactly the original error which is caused by cyclic dependency.


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