Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.7.1-0 release #745

Merged
merged 5 commits into from
Aug 3, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixes OMI Selinux semodule issue. (#49)
* Fixes issue when semodule installs fail.

* Update Linux.data selinux fail logic.

* Update Linux.data indent.

---------

Co-authored-by: Yash-Khatri <86319267+Yash-Khatri@users.noreply.github.com>
  • Loading branch information
2 people authored and ShirelyGu committed Aug 3, 2023
commit 31470af2d7650b350d6f714ef0494d1bdb763098
2 changes: 1 addition & 1 deletion Unix/installbuilder/datafiles/Linux.data
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ if [ -e /usr/sbin/semodule ]; then
echo "System appears to have SELinux installed, attempting to install selinux policy module for logrotate"
echo " Trying ${{SEPKG_DIR_OMI}}/omi-logrotate.pp ..."
sestatus=`sestatus|grep status|awk '{print $3}'`
if [ -e /usr/bin/dpkg-deb -a "$sestatus" = "disabled" ]; then
if [ "$sestatus" = "disabled" ]; then
echo "INFO: omi-logrotate selinux policy module has not yet installed due to selinux is disabled."
echo "When enabling selinux, load omi-logrotate module manually with following commands for logrotate feature to work properly for omi logs."
echo "/usr/sbin/semodule -i $SEPKG_DIR_OMI/omi-logrotate.pp >/dev/null 2>&1"
Expand Down