System update fails with incorrect folder right assignment

  • 7008824
  • 16-Jun-2011
  • 27-Apr-2012

Environment

Novell ZENworks 10.3.x Configuration Management System Update
SUSE Linux based Satellite device
The ZCM Linux agent has been installed on a device which previously served as a Primary Server
The folders /var/opt/novell/log/zenworks and /var/opt/novell/log/zenworks/system-update are owned by the zenworks user and zenworks group.
ZCM 10.3.3 system-update is assigned to the Satellite device

Situation

The system-update fails to install.

The /var/opt/novell/zenworks/logs/LocalStore/zmd-messages.log log file shows an JAVA I/O error message that the updates_command.xml can not get created.

After the error got logged the system update nevertheless gets marked as completely installed by adding the ZCM 10.3.3 system-update GUID (5010030300bcf28ea3110aae5d457fde) to the file/var/opt/novell/zenworks/work/system-update/updates-completed.

ZENworks Control Center keeps showing the device as Pending for the system-update status.

Resolution

Workaround:
1. Rename the /var/opt/novell/log/zenworks folder
2. Remove the line with the ZCM 10.3.3 system update GUID, 5010030300bcf28ea3110aae5d457fde, from the file /var/opt/novell/zenworks/work/system-update/updates-completed
3. Issue the command
zac ref


After the device general refresh completes, the system-update should start installing after the /var/opt/novell/log/zenworks folder was recreated being owned now by the root user and root group.

Status

Reported to Engineering

Additional Information

The ZENworks service on a ZCM 10.3.x Primary Server runs as zenworks users as well as the mono base ZCM agent on a ZCM 10.3.x primary while the ZCM 10.3.x JAVA based agent for a Linux Satellite device runs as root user.

That is why in this case the /var/opt/novell/log/zenworks folder got assigned to the zenworks user/group while the ZCM 10.3.x agent for a Linux Satellite requires it being assigned to the root user/group.