SYSTEM INFORMATION | |
---|---|
system version | RedHat 9 |
Webmin version | 2.302 |
Virtualmin version | 7.30.7 |
my first attempt at installing Virtualmin on a RedHat 9 server !!
as we run SELinux in enforcing mode, and have a number of other local tweaks, I wanted to start really slow and small …
so I downloaded the install script with
wget https://software.virtualmin.com/gpl/scripts/virtualmin-install.sh
and did:
./virtualmin-install.sh --setup --verbose
just so I can see what happens at this early stage, and compare it to my production RedHat 8 servers …
I believe I have found a bug when using the --setup
flag — or this is a matter of preference or point of view … and that is:
while the GPG key is stored in /etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin-7
… and the repo definition in /etc/yum.repos.d/virtualmin.repo
correctly points to it, when doing the very minimum work via --setup
the GPG key is NOT installed into the RPM keystore (?)
I suppose I need to run the full install from beginning to end, to see what happens.
of course I can make everything happy by manually doing
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin-7
Found this in virtualmin-repos-setup.log
[2025-03-20 17:15:40 EDT] [INFO] Spin pid is: 8269
warning: virtualmin-gpl-release.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID b9a0b8b7: NOKEY
error: can’t create transaction lock on /var/lib/rpm/.rpm.lock (Resource temporarily unavailable)
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin-7: key 1 import failed.
[2025-03-20 17:15:40 EDT] [INFO] Installing Virtualmin 7 release package: [2025-03-20 17:15:40 EDT] [INFO] Success.
I am at a loss as to why .rpm.lock
is an issue – I made sure it was not there before trying this
maybe I don’t know really what I am doing in debugging this – in the install script I don’t see anything that would trigger the GPG import error message above.
thoughts?