HULFT-27955

When you execute the Operation Log Manual Switchover command (utloplchg), even when the processing fails, the exit status is "0"

Phenomenon

When you execute the Operation Log Manual Switchover command (utloplchg) without access permissions for operation logs, even when the processing fails, the exit status is "0".

Severity level

C: medium

Affected versions

From Ver.8.4.0 to Ver.10.2.0A

Modified version

Ver.10.2.1

Condition to reproduce

This phenomenon occurs when the conditions of either Condition set 1 or Condition set 2 are met:

Condition set 1

  • All the following conditions are met:

    • You lack one of the following permissions for the Command Execution Log generational management file (huloplcmd.info) in the operation log;

      • Read permissions

      • Write permissions

    • You execute the Operation Log Manual Switchover command (utloplchg) with one of the following parameters specified:

      • -cl (Switches over only the Command Execution Log files)

      • -a (Switches over both the the File Access Log files and the Command Execution Log files)

Condition set 2

  • All the following conditions are met:

    • You lack one of the following permissions for the File Access Log generational management file (huloplfile.info) in the operation log

      • Read permissions

      • Write permissions

    • You execute the Operation Log Manual Switchover command (utloplchg) with one of the following parameters specified:

      • -fl (Switches over only the File Access Log files)

      • -a (Switches over both the the File Access Log files and the Command Execution Log files)

Alternative workaround

None

Status description

Even if the above conditions are met, the correct value is output for the exit status of the Operation Log Manual Switchover command (utloplchg).