Update compliance completes with errors

The log files produced by the update compliance policies for a given system contain errors.

Resolution

To resolve these errors, complete the following steps:
  1. Enable logging on IBM® Flex System Manager by appending these in <Install DIR>/ibm/director/lwi/conf/overrides/logging.properties file.
    com.ibm.usmi.services.updates.distribution.rsession.level=FINEST
  2. Run the following command to refresh the logs.
    <Install DIR>/ibm/director/lwi/bin/lwilog.bat -refresh
  3. Use the correct sudo configurations to resolve this issue. This issue might happen when a non-root account director01 is used to manage Linux resources. However, the /etc/sudoers is not configured properly and a terminal ID (tty) is needed when director01 account runs the sudo commands. Edit/etc/sudoers file and change the following line.
    "Defaults requiretty" to "Defaults:director01 !requiretty". 
  4. Try the inventory and run Update Compliance.