Skip to content

Commit

Permalink
Merge pull request #435 from nasark/add_miq_user_to_disk_group
Browse files Browse the repository at this point in the history
Add manageiq user to disk group

(cherry picked from commit 658af63)
  • Loading branch information
bdunne authored and Fryguy committed Jan 11, 2024
1 parent e5663f1 commit acab9a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpm_spec/subpackages/manageiq-appliance
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ Requires: cockpit-ws
# Add sub uids/gids for running non-privileged containers
grep manageiq /etc/subuid >/dev/null 2>&1 || /usr/sbin/usermod --add-subuids 100000-165535 manageiq
grep manageiq /etc/subgid >/dev/null 2>&1 || /usr/sbin/usermod --add-subgids 100000-165535 manageiq
# Add manageiq user to disk group to allow ISCSI smartstate scans
groups manageiq | grep disk >/dev/null 2>&1 || /usr/sbin/usermod --append --groups disk manageiq

%posttrans appliance
%{_bindir}/systemctl try-restart evmserverd.service
Expand Down

0 comments on commit acab9a3

Please sign in to comment.