Bug 1778771
Summary: | 20-zipl-kernel.install deletes /tmp when kernel-core is installed in s390x container image | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Dan Horák <dhorak> |
Component: | s390utils | Assignee: | Dan Horák <dhorak> |
Status: | CLOSED ERRATA | QA Contact: | Vilém Maršík <vmarsik> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.0 | CC: | extras-qa, fmartine, jcajka, rvr |
Target Milestone: | rc | ||
Target Release: | 8.0 | ||
Hardware: | s390x | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | s390utils-2.6.0-24.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1726286 | Environment: | |
Last Closed: | 2020-04-28 16:49:37 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: |
Description
Dan Horák
2019-12-02 13:24:48 UTC
How should I reproduce this? You probably did not mean to install a s390utils.fc30 on the RHEL8 host, but the Fedora container runs without s390utils-base package. Even if I installed it inside, I still could not reproduce the problem. So what RHEL on & what s390utils do I need on the host to see the problem? The host shouldn't matter, the problem will be inside the container. Here it will be a RHEL-8 "base" container for the step #1 in the "Steps to reproduce". I don't think it can be reproduced without the container (on plain rhel8 machine). Cannot reproduce with RHEL-8.1 as host and F30 as guest: # cat /etc/redhat-release Red Hat Enterprise Linux release 8.1 (Ootpa) # podman run --rm -ti registry.fedoraproject.org/fedora:30 /bin/bash (...) [root@73e536f5bf76 /]# dnf update (...) Complete! [root@73e536f5bf76 /]# dnf install kernel-core (...) Complete! [root@73e536f5bf76 /]# mktemp /tmp/tmp.s0RWkmRjIY [root@73e536f5bf76 /]# Did you mean I should try RHEL-8 as guest? What would the "-ti" parameter be in that case? Hello Vilém, (In reply to Vilém Maršík from comment #4) > Cannot reproduce with RHEL-8.1 as host and F30 as guest: > # cat /etc/redhat-release > Red Hat Enterprise Linux release 8.1 (Ootpa) > # podman run --rm -ti registry.fedoraproject.org/fedora:30 /bin/bash It's the other way around, you need a RHEL8 container to reproduce this. The example command in Comment 1 uses a Fedora container image because the bug was originally reported in Fedora and then cloned for RHEL8. I would have tried, but could not find a registry record for RHEL-8 (for the "-ti" switch). Do you know where to find it? Patch ef56cfef7ac631273ef82ba0fc3c9b58d72ee9d7 in rhel-8.2.0 branch of s390utils.git seems to fix this. Could not find a RHEL8 registry for podman, but rather confident that this simple fix will behave the same way as in Fedora. Setting Verified/Sanityonly. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:1826 |