IBM Support

IJ00512: RPM SYMLINKS DELETED IN SPOT (CHROOT ENVIRONMENT) 19/01/28 PTF PECHANGE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When installing an RPM into a SPOT, symbolic link(s) can
    be
    deleted within a chroot enviroment.
    
    For example with bash:
    
    Install the RPM
    # nim -o cust -a filesets=bash \
    -a lpp_source=<lppSourceName> <spotName>
    
    You may see similar errors during installation:
    cp: /bin/bash: No such file or directory
    rpm_share: 0645-007
      ATTENTION: update_file() returned an unexpected result
    rpm_share: 0645-007
      ATTENTION: update_inst_root() returned an unexpected
      result
    
    The bash RPM installs, however the
    <spot location>/bin/bash symlink to
    <spot location>/opt/freeware/bin/bash will not exist.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:
    * Systems running the 7100-04 Technology Level with
    * any of the following filesets at or between the given levels:
    * MIN          MAX          FILESET
    * 7.1.4.30     7.1.4.35     bos.rte.install
    ****************************************************************
    * PROBLEM DESCRIPTION:
    * When installing an RPM into a SPOT, symbolic link(s) can
    * be
    * deleted within a chroot enviroment.
    * For example with bash:
    * Install the RPM
    * # nim -o cust -a filesets=bash * -a lpp_source=<lppSourceName>
     <spotName>* You may see similar errors during installation:
    * cp: /bin/bash: No such file or directory
    * rpm_share: 0645-007
    *   ATTENTION: update_file() returned an unexpected result
    * rpm_share: 0645-007
    *   ATTENTION: update_inst_root() returned an unexpected
    *   result
    * The bash RPM installs, however the
    * <spot location>/bin/bash symlink to
    * <spot location>/opt/freeware/bin/bash will not exist.
    ****************************************************************
    * RECOMMENDATION:
    * Install APAR IJ00512.
    ****************************************************************
    

Problem conclusion

  • Added a condition check when in a chroot environment that
    preserves the symlink.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ00512

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    YesPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-10-04

  • Closed date

    2018-03-27

  • Last modified date

    2019-01-28

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

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

    IJ05306 IJ05339 IJ05368 IJ09255 IJ09905

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U878845

       UP19/01/23 I 1000

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SG11R"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
19 April 2022