IBM Support

IJ27618: NCO_ADDUSER AND NCO_REMOVEUSER SCRIPTS REPORT A WARNING ABOUT NULL BYTES IN INPUT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The shell in RHEL 8.2 now outputs warnings such as:-
    
    ./nco_adduser: line 93: warning: command substitution: ignored
    null byte in input
    
    These are harmless but the nco_adduser and nco_removeuser
    scripts can be updated to prevent triggering the warnings.
    

Local fix

  • Line 90 of nco_adduser can be modified from:-
    
    GROUPSTR=`$COMMON_ARCH_BIN_DIR/isql -S$OMNISERVER
    -U$OMNISERVER_USER -P$OMNISERVER_PASSWD -I$INTERFACES -b <<EOF
    
    to:-
    
    GROUPSTR=`$COMMON_ARCH_BIN_DIR/isql -S$OMNISERVER
    -U$OMNISERVER_USER -P$OMNISERVER_PASSWD -I$INTERFACES -b <<EOF |
    tr -d '\0'
    
    Likewise line 96 of nco_removeuser can be modified to be:-
    
    USERSTR=`$COMMON_ARCH_BIN_DIR/isql -S$OMNISERVER -Uroot
    -P$OSPASS -I$INTERFACES -b <<EOF | tr -d '\0'
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of the nco_adduser and nco_removeuser on RHEL 8.2      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The shell on RHEL 8.2 now outputs warnings concerning null   *
    * bytes found during command substitutions. The scripts have   *
    * been updated to remove the null bytes to avoid this warning  *
    * without changing expected behaviour.                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply the maintenance vehicle listed in the Problem          *
    * Conclusion.                                                  *
    ****************************************************************
    

Problem conclusion

  • The fix for this APAR is contained in the following maintenance
    packages:
    | fix pack | 8.1.0-TIV-NCOMNIbus-FP0024
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ27618

  • Reported component name

    NETCOOL/OMNIBUS

  • Reported component ID

    5724O4800

  • Reported release

    810

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-09-04

  • Closed date

    2020-09-09

  • Last modified date

    2020-09-09

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    NETCOOL/OMNIBUS

  • Fixed component ID

    5724O4800

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSSHTQ","label":"Tivoli Netcool\/OMNIbus"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"810","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 March 2023