I'm going though the STIG process on a RHEL 7.7 machine and ran across this finding: https://www.stigviewer.com/stig/red_hat_enterprise_linux_7/2018-11-28/finding/V-72039

[root@localhost scripts]# find /dev -context *:device_t:* \( -type c -o -type b \) -printf "%p %Z\n"
/dev/wmi/dell-smbios system_u:object_r:device_t:s0
[root@localhost scripts]# find /dev -context *:unlabeled_t:* \( -type c -o -type b \) -printf "%p %Z\n"
[root@localhost scripts]# rpm -qf /dev/wmi/dell-smbios
file /dev/wmi/dell-smbios is not owned by any package
[root@localhost scripts]# ls -al /dev/wmi/dell-smbios
cr--r--r--. 1 root root 10, 57 May 19 11:29 /dev/wmi/dell-smbios

I am thinking of just deleting the device file but just don't know enough to be safe.

  • in case of a vm, snapshot it and then run a copy of it and try? – djdomi May 21 at 6:06
  • Not a VM. That was my plan though sort of. If no one has a clear answer then I will delete it as the last step. I'm building a script to config these machines as I go so it won't be a major loss if I kill the machine near the end. – Michael Hobbs May 21 at 13:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.