mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-28 08:16:37 +00:00
useradd --create-home copies /etc/skel as useradd_t, and SELinux denies file creation on the var_lib_t target, so installing the RPM on an enforcing distro logs an AVC for .bash_logout (and the file never lands). Use --no-create-home and create /var/lib/navidrome with install -d in the scriptlet context instead. The home dir no longer receives skel files, which are useless for a system service account. Fixes #6360 Signed-off-by: Santhi Prakash <b.santhiprakash@gmail.com>