View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017951 | CentOS-8 | general | public | 2020-12-16 13:30 | 2021-05-04 16:19 |
Reporter | cnd | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 8.3.2011 | ||||
Summary | 0017951: Missing source code for CentOS 8-stream | ||||
Description | Source code is an IMPORTANT requirement for publishers of GPL and similar-licensed products. It is also a binding legal responsibility... Full details are here: https://unix.stackexchange.com/questions/624738/what-is-the-correct-way-to-enable-source-downloads-in-centos-8-stream I tried to do this:- yumdownloader --source sendmail But hit this problem:- Last metadata expiration check: 0:08:48 ago on Wed 16 Dec 2020 10:34:00 AM GMT. No package sendmail-8.15.2-34.el8.src available. Exiting due to strict setting. Error: No package sendmail-8.15.2-34.el8.src available. So I made sure epel etc is installed, and I enabled all things in /etc/yum.repos.d - but there's no existing source info. The CensOS doc unhelpfully says this:- Source RPMs will also be published once the release is done, in the usual location at http://vault.centos.org/centos/8/ From a CentOS machine you can easily retrieve sources using the yumdownloader --source <packagename> command. Now; the stream release is not /8/ in "CentOS-Stream-AppStream.repo" - it is actually /8-stream/ - and sure enough, I can find my sendmail binary in http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/sendmail-8.15.2-34.el8.x86_64.rpm - as you can tell from cd /etc/dnf/vars;cat `grep . *` which reveals their variables thus: contentdir:centos infra:stock stream:8-stream (the CentOS-Stream-AppStream.repo base URL is http://mirror.centos.org/$contentdir/$stream/AppStream/$basearch/os/ ) HOWEVER... https://vault.centos.org/centos/8-stream/ contains only empty folders - no repodata or source files, and the /8/ tree does not contain the stream source ... grrr. I created the below to enable all the /8/ Source files, but sendmail-8.15.2-34.el8.src.rpm is not one of them :-( cat CentOS-Stream-Source.repo [baseos-source] name=CentOS Stream $releasever - BaseOS - Source #baseurl=http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/ baseurl=https://vault.centos.org/$contentdir/$releasever/BaseOS/Source # /usr/libexec/platform-python -c 'import dnf, json; db = dnf.dnf.Base(); print(json.dumps(db.conf.substitutions, indent=2))' => { "arch": "x86_64", "basearch": "x86_64", "releasever": "8" } # See also: cd /etc/dnf/vars;grep . * => contentdir:centos infra:stock stream:8-stream #metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-$releasever&arch=$basearch&infra=$infra&content=$contentdir enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8 gpgcheck=1 [appstream-source] name=CentOS Stream $releasever - AppStream - Source baseurl=https://vault.centos.org/$contentdir/$releasever/AppStream/Source enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8 gpgcheck=1 [highavailability-source] name=CentOS Stream $releasever - HighAvailability - Source baseurl=https://vault.centos.org/$contentdir/$releasever/HighAvailability/Source enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8 gpgcheck=1 [powertools-source] name=CentOS Stream $releasever - PowerTools - Source baseurl=https://vault.centos.org/$contentdir/$releasever/PowerTools/Source enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8 gpgcheck=1 [centosplus-source] name=CentOS Stream $releasever - centosplus - Source baseurl=https://vault.centos.org/$contentdir/$releasever/centosplus/Source enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8 gpgcheck=1 [extras-source] name=CentOS Stream $releasever - extras - Source baseurl=https://vault.centos.org/$contentdir/$releasever/extras/Source enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8 gpgcheck=1 | ||||
Steps To Reproduce | 1. Read the manual, carefully observing the word "easily" in the following sentence:- From a CentOS machine you can easily retrieve sources using the yumdownloader --source <packagename> command. 2. Follow the above instruction (fails):- yumdownloader --source sendmail 3. Browse https://vault.centos.org/centos/8-stream/ 4. Observe an empty folder structure with no source code at all. 5. Also observe there are no source code repos in /etc/yum.repos.d/ | ||||
Additional Information | https://vault.centos.org/centos/8/ does have source code, but, this is NOT the source code for the 8-stream release. | ||||
Tags | No tags attached. | ||||
See: https://lists.centos.org/pipermail/centos-devel/2021-January/076191.html | |
This is a duplicate of https://bugs.centos.org/view.php?id=17951. | |
The sources for CentOS Stream 8 have always been available on https://git.centos.org in c8s branches of each individual dist-git repo. This meets the requirements of the GPL. Additionally, about a month ago we started publishing our CS8 SRPMs to https://vault.centos.org/8-stream/. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-12-16 13:30 | cnd | New Issue | |
2021-01-15 23:44 | toracat | Status | new => acknowledged |
2021-01-15 23:47 | toracat | Note Added: 0038178 | |
2021-03-02 17:56 | ustrin | Note Added: 0038287 | |
2021-05-04 15:34 | carlwgeorge | Note Added: 0038434 | |
2021-05-04 15:35 | carlwgeorge | Status | acknowledged => closed |
2021-05-04 15:35 | carlwgeorge | Resolution | open => fixed |
2021-05-04 16:19 | toracat | Status | closed => resolved |