#19 systemd 247
Closed 2 years ago by dcavalca. Opened 3 years ago by dcavalca.

Update c8s-sig-hyperscale branch and publish packages


Tagged systemd-247.3-2.hs.el8 and systemd-247.3-2.hs+fb.el8 for -testing

Filed https://pagure.io/centos-infra/issue/229 as for some reason these still haven't shown up on buildlogs.

Queue was backlogged, packages are on buildlogs now

Tagged -release for the facebook build, but will hold the main one until outstanding issues are resolved: #22 #23 #24

@dcavalca Getting a strange build failure when its trying to install my deps in the koji chroot, looks like it doesn't like ^ in the obseletes on systemd-247. Rasdaemon has both build and install dep on systemd..

https://cbs.centos.org/kojifiles/work/tasks/2865/2002865/root.log

DEBUG util.py:439: Error: transaction check vs depsolve: DEBUG util.py:439: rpmlib(CaretInVersions) <= 4.15.0-1 is needed by systemd-247.3-2.hs.el8.x86_64 DEBUG util.py:439: To diagnose the problem, try running: 'rpm -Va --nofiles --nodigest'. DEBUG util.py:439: You probably have corrupted RPMDB, running 'rpm --rebuilddb' might fix the issue. DEBUG util.py:577: Child return code was: 1 DEBUG util.py:188: kill orphans

@djohansen oh, that must mean that once you build a package, it always goes into the buildroot, regardless of whether it's been tagged -release or not.

I've installed the new systemd package on a plain c8s VM and it seems to install and work fine (with selinux disabled), I don't see any conflict with rpm, nor anything in systemd proper that would mess with rpm.

Judging from the kernel version in the mock log that host is running CentOS 7. Looks to me like mock is using the hosts dnf to create the buildroot which would be using an older version of rpmlibs.

@djohansen I spun up a c8s VM with selinux disabled and systemd-247.3-2.hs.el8 installed, and I can build the c8s-sig-hyperscale branch of rasdaemon successfully with rpmbuild, I did not see any conflict about rpm.

@dcavalca Yeah, same. I was able to even pull the mock config for centos-8-sig-x86_64 and build locally in mock. well mostly, the modular stuff fails, but that came after the systemd verison evaluation.

Installing the rpm seems fine in vanilla centos 8 as well for me too. Literally only on cbs that I see that so far.

The issue is the old version of mock installed on the CBS builders. It can build spec files with carets in requires/provides/conflicts, but then it can't install the resulting rpms in future buildroots. I ran into something similar with the python39 module recently.

https://git.centos.org/rpms/python3x-pip/c/0bf48e6304b1048952635f8811b3f8992347623b?branch=c8s-stream-3.9-bootstrap

Short term fix, remove the carets from the systemd spec file and rebuild it. Long term fix will be getting mock updated on the CBS build hosts.

Built and tagged systemd-247.3-3.hs.el8 and systemd-247.3-3.hs+fb.el8

Tagged systemd-247.3-8.hs.el8 for -release now that #23 is resolved.

Metadata Update from @dcavalca:
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata