-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
Description
What happened?
When doing a dnf -y reinstall salt-minion (possibly/likely for new installs as well) for salt-minion-3007.11-0.x86_64 on an AlmaLinux 10.1 box, the following error occurs:
chown: invalid user: ‘%{_MN_LCUR_USER}:%{_MN_LCUR_GROUP}’
warning: %posttrans(salt-minion-3007.11-0.x86_64) scriptlet failed, exit status 1
Error in POSTTRANS scriptlet in rpm package salt-minion
This, of course, leads to all sorts of weirdness since the e.g. cache and runtime don't have ownership enforced.
Type of salt install
Official rpm
Major version
3007.x
What supported OS are you seeing the problem on? Can select multiple. (If bug appears on an unsupported OS, please open a GitHub Discussion instead)
almalinux-10
salt --versions-report output
/opt/saltstack/salt/lib/python3.10/site-packages/cherrypy/__init__.py:60: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
Salt Version:
Salt: 3007.11
Python Version:
Python: 3.10.19 (main, Jan 7 2026, 23:50:47) [GCC 11.2.0]
Dependency Versions:
cffi: 2.0.0
cherrypy: 18.8.0
cryptography: 42.0.5
dateutil: 2.8.2
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 3.1.6
libgit2: Not Installed
looseversion: 1.3.0
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 1.0.7
msgpack-pure: Not Installed
mysql-python: Not Installed
packaging: 24.0
pycparser: 2.21
pycrypto: Not Installed
pycryptodome: 3.19.1
pygit2: Not Installed
python-gnupg: 0.5.2
PyYAML: 6.0.1
PyZMQ: 25.1.2
relenv: 0.22.2
smmap: Not Installed
timelib: 0.3.0
Tornado: 6.5.4
ZMQ: 4.3.4
Salt Package Information:
Package Type: onedir
System Versions:
dist: almalinux 10.1 Heliotrope Lion
locale: utf-8
machine: x86_64
release: 6.12.0-124.27.1.el10_1.x86_64
system: Linux
version: AlmaLinux 10.1 Heliotrope LionReactions are currently unavailable