My Oracle Support Banner

Mismatch in the RPM Specification and What is Delivered for The libstoragemgmt.x86_64 package (Doc ID 2541634.1)

Last updated on MAY 26, 2020

Applies to:

Linux OS - Version Oracle Linux 7.6 and later
Linux x86-64

Symptoms

The RPM libstoragemgmt-1.6.2-4.el7 is packaged incorrectly.

Reviewing the output of rpm -Va, a mismatch in the RPM specification and what is delivered for the libstoragemgmt.x86_64 package is found.

In particular, the ownership and permissions of the /run/lsm and /run/lsm/ipc directories are incorrect.

RPM spec shows the directories should be owned by root:root with permissions of 755.

The contents of /usr/lib/tmpfiles.d/libstoragemgmt.conf , instructs systemd to create the directories with 775 permissions and ownership of root:libstoragemgmt


Details:

Installed rpms:

# rpm -qa |grep libstoragemgmt
libstoragemgmt-1.6.2-4.el7.x86_64
libstoragemgmt-python-clibs-1.6.2-4.el7.x86_64
libstoragemgmt-python-1.6.2-4.el7.noarch

RPM Verify:

# rpm -V libstoragemgmt-1.6.2-4.el7.x86_64
.M....G.. g /run/lsm <<
.M....G.. g /run/lsm/ipc <<

RPM DUMP:

# rpm -q --dump libstoragemgmt-1.6.2-4.el7.x86_64 | grep run/lsm
/run/lsm 0 1541027590 0000000000000000000000000000000000000000000000000000000000000000 040755 root root 0 0 0 X
/run/lsm/ipc 0 1541027590 0000000000000000000000000000000000000000000000000000000000000000 040755 root root 0 0 0 X

Contents of libstoragemgmt.conf:

# cat /usr/lib/tmpfiles.d/libstoragemgmt.conf
D /var/run/lsm 0775 root libstoragemgmt -
D /var/run/lsm/ipc 0775 root libstoragemgmt -


The RPM dump should show ownership and permissions to match the /usr/lib/tmpfiles.d/libstoragemgmt.conf contents.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.