Bug 1657265
Summary: | [RHEL 8.2] tmpfiles snippet needs updated path | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Rik Theys <rik.theys> |
Component: | mdadm | Assignee: | XiaoNi <xni> |
Status: | CLOSED ERRATA | QA Contact: | Fine Fan <ffan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | chaithco, chorn, cww, czhong, dbodnarc, dledford, dmilburn, ffan, ncroxon, ofalk, peter.vreman, ptoscano, xni |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | mdadm-4.1-12.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-04-28 17:00:47 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
Rik Theys
2018-12-07 14:38:10 UTC
This is not a specific mdadm problem, but a packaging problem. Hi,Nigel Croxon The same problem occurs on the RHEL 8 beta OS. When using the RPM package to install mdadm, the same message appears. [root@storageqe-09 ~]# rpm -ivh mdadm-4.1-rc1_3.el8.x86_64.rpm Verifying... ################################# [100%] Preparing... ################################# [100%] Updating / installing... 1:mdadm-4.1-rc1_3.el8 ################################# [100%] [/usr/lib/tmpfiles.d/mdadm.conf:1] Line references path below legacy directory /var/run/, updating /var/run/mdadm → /run/mdadm; please update the tmpfiles.d/ drop-in file accordingly. [/usr/lib/tmpfiles.d/pesign.conf:1] Line references path below legacy directory /var/run/, updating /var/run/pesign → /run/pesign; please update the tmpfiles.d/ drop-in file accordingly. [/usr/lib/tmpfiles.d/subscription-manager.conf:1] Line references path below legacy directory /var/run/, updating /var/run/rhsm → /run/rhsm; please update the tmpfiles.d/ drop-in file accordingly. [root@storageqe-09 ~]# I want to know how this problem will be dealt with next. Hello Changhui, Does this problem still exist with later versions of RHEL8 snapshots? Hi,Nigel Croxon This problem still exists in the latest RHEL-8.0-Snapshot-3.1 :(RHEL-8.0-20181220.1-x86_64-dvd1.iso) [root@intel-mahobay-01 ~]# [root@intel-mahobay-01 ~]# uname -a Linux intel-mahobay-01.lab.eng.rdu.redhat.com 4.18.0-56.el8.x86_64 #1 SMP Mon Dec 17 13:56:22 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux [root@intel-mahobay-01 ~]# [root@intel-mahobay-01 ~]# rpm -q mdadm package mdadm is not installed [root@intel-mahobay-01 ~]# [root@intel-mahobay-01 ~]# rpm -ivh mdadm-4.1-3.el8.x86_64.rpm Verifying... ################################# [100%] Preparing... ################################# [100%] Updating / installing... 1:mdadm-4.1-3.el8 ################################# [100%] [/usr/lib/tmpfiles.d/mdadm.conf:1] Line references path below legacy directory /var/run/, updating /var/run/mdadm → /run/mdadm; please update the tmpfiles.d/ drop-in file accordingly. [/usr/lib/tmpfiles.d/pesign.conf:1] Line references path below legacy directory /var/run/, updating /var/run/pesign → /run/pesign; please update the tmpfiles.d/ drop-in file accordingly. [/usr/lib/tmpfiles.d/subscription-manager.conf:1] Line references path below legacy directory /var/run/, updating /var/run/rhsm → /run/rhsm; please update the tmpfiles.d/ drop-in file accordingly. [root@intel-mahobay-01 ~]# rpm -q mdadm mdadm-4.1-3.el8.x86_64 [root@intel-mahobay-01 ~]# thanks, Changhui Zhong I see this on a nightly build. Probable duplicate: bz1657269 Hi all This patch can fix this problem diff --git a/mdadm.conf b/mdadm.conf index 6200117..3207dda 100644 --- a/mdadm.conf +++ b/mdadm.conf @@ -1 +1 @@ -d /var/run/mdadm 0710 root root - +d /run/mdadm 0710 root root - [root@storageqe-29 ~]# rpm -ivh mdadm-4.1-5.el8.x86_64.rpm Verifying... ################################# [100%] Preparing... ################################# [100%] Updating / installing... 1:mdadm-4.1-5.el8 ################################# [100%] [/usr/lib/tmpfiles.d/subscription-manager.conf:1] Line references path below legacy directory /var/run/, updating /var/run/rhsm → /run/rhsm; please update the tmpfiles.d/ drop-in file accordingly. I don't know the root cause. Because I'm not familiar with the detail of rpm. Why does it complain about this. But it's too late to fix this problem. It's not a serious problem. It just gives a warning message. The rpm package can be installed successfully. So it's better to fix this in rhel8.1 Thanks Xiao Hello This problem still exists in mdadm-4.1-6.el8: [root@hp-z8-g4-01 ~]# rpm -ivh mdadm-4.1-6.el8.x86_64.rpm Verifying... ################################# [100%] Preparing... ################################# [100%] Updating / installing... 1:mdadm-4.1-6.el8 ################################# [100%] [/usr/lib/tmpfiles.d/mdadm.conf:1] Line references path below legacy directory /var/run/, updating /var/run/mdadm → /run/mdadm; please update the tmpfiles.d/ drop-in file accordingly. [/usr/lib/tmpfiles.d/pesign.conf:1] Line references path below legacy directory /var/run/, updating /var/run/pesign → /run/pesign; please update the tmpfiles.d/ drop-in file accordingly. [/usr/lib/tmpfiles.d/subscription-manager.conf:1] Line references path below legacy directory /var/run/, updating /var/run/rhsm → /run/rhsm; please update the tmpfiles.d/ drop-in file accordingly. [root@hp-z8-g4-01 ~]# (In reply to XiaoNi from comment #7) > Hi all > > This patch can fix this problem > > diff --git a/mdadm.conf b/mdadm.conf > index 6200117..3207dda 100644 > --- a/mdadm.conf > +++ b/mdadm.conf > @@ -1 +1 @@ > -d /var/run/mdadm 0710 root root - > +d /run/mdadm 0710 root root - This seems correct to me, although I'm not a systemd expert. > [root@storageqe-29 ~]# rpm -ivh mdadm-4.1-5.el8.x86_64.rpm > Verifying... ################################# > [100%] > Preparing... ################################# > [100%] > Updating / installing... > 1:mdadm-4.1-5.el8 ################################# > [100%] > [/usr/lib/tmpfiles.d/subscription-manager.conf:1] Line references path below > legacy directory /var/run/, updating /var/run/rhsm → /run/rhsm; please > update the tmpfiles.d/ drop-in file accordingly. > > I don't know the root cause. Because I'm not familiar with the detail of > rpm. Why does it complain about this. > But it's too late to fix this problem. It's not a serious problem. It just > gives a warning message. The rpm > package can be installed successfully. This is not an RPM issue, but a systemd message: the mdadm RPM contains .service files for systemd, so when it is updated, systemd is invoked to reload its units. /var/run is considered a legacy path, and /run is the "canonical" location, so systemd prints that message. Also, the message quoted above is not from mdadm, but from subscription-manager (see the [/usr/lib/tmpfiles.d/subscription-manager.conf:1] prefix in the message text). Hi All, RHEL-8.2.0-20191219.0 [root@localhost ~]# rpm -q subscription-manager subscription-manager-1.25.17-1.el8.x86_64 [root@localhost ~]# rpm -q mdadm package mdadm is not installed [root@localhost ~]# rpm -ivh mdadm-4.1-12.el8.x86_64.rpm Verifying... ################################# [100%] Preparing... ################################# [100%] Updating / installing... 1:mdadm-4.1-12.el8 ################################# [100%] [/usr/lib/tmpfiles.d/subscription-manager.conf:1] Line references path below legacy directory /var/run/, updating /var/run/rhsm → /run/rhsm; please update the tmpfiles.d/ drop-in file accordingly. [root@localhost ~]# rpm -q mdadm mdadm-4.1-12.el8.x86_64 BR Fine 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:1890 |