Closed pixelchrome closed 2 months ago
Modified the wording slightly, I believe without changing any of the meaning:
|When Re-Installing the Acquisition Unit, I'm seeing "ValueError: File context for /opt/netapp/cloudinsights(/.*)? already defined".
|On a system with SELinux, This error message may appear after cloudinsights-uninstall.sh -p
has been executed and the Acquisition Unit is to be reinstalled. Running the command semanage fcontext -d -t usr_t "/opt/netapp/cloudinsights(/.*)?"
should correct the issue and remove the message.
Hi Harald! Thanks for suggesting this and creating the PR. I changed the wording a little, but I think I didn't change any meaning here:
|When Re-Installing the Acquisition Unit, I'm seeing "ValueError: File context for /opt/netapp/cloudinsights(/.)? already defined". |On a system with SELinux, This error message may appear after cloudinsights-uninstall.sh -p has been executed and the Acquisition Unit is to be reinstalled. Running the command semanage fcontext -d -t usr_t "/opt/netapp/cloudinsights(/.)?" should correct the issue and remove the message.
I commented this in the PR and will proceed with publishing. Let me know if I have to pull the PR out to change any meaning.
-Tony
From: Harald Dumdey @.> Sent: Tuesday, April 23, 2024 11:31 AM To: NetAppDocs/cloudinsights @.> Cc: Subscribed @.***> Subject: [NetAppDocs/cloudinsights] added troubleshooting info for reinstall in selinux (PR #2550)
EXTERNAL EMAIL - USE CAUTION when clicking links or attachments
If you ever need to un-install and install the AU on a SELinux enabled VM... use these steps (2. is important):
otherwise you will get an error message
The semanage command exists on this system: running semanage and restorecon to set up SELinux context for Cloud Insights Acquisition Unit. ValueError: File context for /opt/netapp/cloudinsights(/.*)? already defined
I've added this info to task_troubleshooting_linux_acquisition_unit_problems.adoc
You can view, comment on, or merge this pull request online at:
https://github.com/NetAppDocs/cloudinsights/pull/2550
Commit Summary
File Changes
(2 fileshttps://github.com/NetAppDocs/cloudinsights/pull/2550/files)
Patch Links:
- Reply to this email directly, view it on GitHubhttps://github.com/NetAppDocs/cloudinsights/pull/2550, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJQ3A3WBB4IGISF4RHNYO6LY6Z5CBAVCNFSM6AAAAABGVFXOVOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TSMJYGAZTONA. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>
If you ever need to un-install and install the AU on a SELinux enabled VM... use these steps (2. is important):
cloudinsights-uninstall.sh -p
semanage fcontext -d -t usr_t "/opt/netapp/cloudinsights(/.*)?"
otherwise you will get an error message
The semanage command exists on this system: running semanage and restorecon to set up SELinux context for Cloud Insights Acquisition Unit. ValueError: File context for /opt/netapp/cloudinsights(/.*)? already defined
I've added this info to
task_troubleshooting_linux_acquisition_unit_problems.adoc