IBM Support

IJ12506: ON SOLARIS ZONES : "IFCONFIG" REQUIRED SUDO PRIVILEGE TO GET IPINTERFACES WITH ZLOGIN COMMAND

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Problem Description:
    
    While Zone login(zlogin) is running command ifconfig to get
    zone IP , it is failing with error
    
    GenericServerSensor- DEBUG os.SolarisOs - Unable to get zone IP
    address :
    
    com.collation.platform.session.SessionCommandFailedException:
    CTJTP1135E The following text is the exit status: 1.
    
    at
    com.collation.platform.session.SshSessionClient.executeCommand1(
    SshSessionClient.java:538)
    
    ..........
    
    
    In this case we need to re-form the zlogin command and
    increasing the ifconfig privilege with sudo.
    
    to be able to set in this command:
    "zlogin <zonename:agotcx601> ifconfig -a inet"
    
    the sudo ifconfig, so re-formed as
    
    "zlogin <zonename:agotcx601> sudo ifconfig -a inet" (working
    one)
    
    The property to be set is:
    com.collation.platform.os.command.ifconfig="sudo ifconfig"
    
    or
    
    com.collation.platform.os.command.ifconfig.SunOS="sudo
    ifconfig"
    
    then the zlogin command when invoked will read and handle it
    

Local fix

  • n/a
    

Problem summary

  • Zone login(zlogin) runs the command "ifconfig" to get
    zone IP. However, it fails with the following error:
    GenericServerSensor- DEBUG os.SolarisOs - Unable to get zone IP
    address :
    com.collation.platform.session.SessionCommandFailedException:
    CTJTP1135E The following text is the exit status: 1.
    at
    com.collation.platform.session.SshSessionClient.executeCommand1(
    SshSessionClient.java:538)
    ..........
    In this case, the zlogin command needs to be reformed and the
    ifconfig privilege should be elevated with sudo.
    The property to be set is:
    com.collation.platform.os.command.ifconfig="sudo ifconfig"
    or
    com.collation.platform.os.command.ifconfig.SunOS="sudo
    ifconfig"
    then the zlogin command when invoked will read and handle it.
    

Problem conclusion

  • The fix for this APAR is contained in the following maintenance
    packages:
    | Fix Pack | 7.3.0-TIV-ITADDM-FP0006
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ12506

  • Reported component name

    APP DEPENDENCY

  • Reported component ID

    5724N5500

  • Reported release

    730

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-01-08

  • Closed date

    2019-01-30

  • Last modified date

    2019-01-30

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

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

Modules/Macros

  • 999
    

Fix information

  • Fixed component name

    APP DEPENDENCY

  • Fixed component ID

    5724N5500

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSPLFC","label":"Tivoli Application Dependency Discovery Manager"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"730","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
30 January 2019