Closed viane closed 3 years ago
This is fallout from https://github.com/coreos/fedora-coreos-config/pull/340 - need to fix s390utils-base-2:2.10.0-1.fc31.s390x
to not depend on initscripts.
Transferred this to fedora-coreos-config.
In the short term...it'd be ugly but we could rework https://github.com/coreos/fedora-coreos-config/pull/340 to be architecture-dependent via arch-include
.
Another option may be to just remove all files provided by initscripts package (assuming they aren't actually needed). If we did include auditd we'd probably have to go with that option anyway because we can't actually change the dependency.
Oh we can change the dependency, but it'd require some new rpm-ostree work. Clearly though the dependency is just totally broken upstream.
Oh we can change the dependency, but it'd require some new rpm-ostree work. Clearly though the dependency is just totally broken upstream.
At a previous employer we had a concept of "dep whiteout". As you suggest, maybe adding support for something like that to rpm-ostree would make our life easer in the long term.
Another option may be to just remove all files provided by initscripts package (assuming they aren't actually needed).
Yeah, RHCOS today does exactly that. I think I'd rather do that than fake out the deps. Though would be nice if we could just resolve the underlying issues.
For this one, it looks like it uses at least the network-scripts
function get_config_by_subchannel
which relies on ifcfg files, which FCOS doesn't even support at all anyway.
I have opened PR(https://src.fedoraproject.org/rpms/s390utils/pull-request/4) workarounding the issue of perl dependency and dropping the need for the initscripts/network-scripts. It will probably need more testing on the perl side, to see if that has any ill effects(I can't really tell from top of my head), but it seems to be working for FCOS in VM on s390x just fine.
I guess the ultimate fix would be to finish rewrite of the perl scripts in something compiled(I guess C). There is already oldish issue opened upstream(https://github.com/ibm-s390-tools/s390-tools/issues/5).
Bug Report
Not sure this is a bug or the bug is not from assembler rather than fedora, the cosa build failed with
Could not depsolve transaction; 1 problem detected: - package initscripts-10.02-2.fc31.s390x is filtered out by exclude filtering
.Environment
What operating system is being used to run coreos-assembler? RHEL 8.1 s390x + local build localhost/coreos-assembler based on clean Fedora 31 s390x
What operating system is being assembled? coreos
Is coreos-assembler running in Podman or Docker? Podman
If Podman, is coreos-assembler running privileged or unprivileged? Privileged
Actual Behavior
Reproduction Steps
cosa() ✓ cosa init ✓ cosa fetch X
Other Information
Looking for advice that why is the build excluding the package with specific version and which side issue it belongs to?