IBM Support

IT29170: ADDITIONAL FIX TO APAR IT13674, TEST FOR -NOEXEC MOUNT INCORRECTLY FAILS IN DB2SETUP SCRIPT

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

  • The logic used to fix IT13674 (the underlying DB2 defect) used
    grep -w, or similar, which is insufficient when /tmp is
    overmounted with a different filesystem with correct parameters.
    
    WHY LOCAL FIX DOES NOT WORK:
    Due to /etc/mtab being a link to /proc/self/mounts, it is not
    directly editable.
    Due to /tmp being in use, it cannot be force unmounted twice in
    order to work around this.
    A remount will not work, because the top level mount is valid
    already, and the db2setup checks for this simply do not notice
    it.
    The last entry in mtab is the one that actually is in use.
    mtab is a link to /proc, so that is not editable
    
    
    APAR FIX:
    [root@azesp01b01 install]# pwd
    /sp/software/816srv/repository/native/1/ese/db2/linuxamd64/insta
    ll
    [root@azesp01b01 install]# diff db2setup db2setup.old
    137c137
    < foundit=`mount | grep -w ${TMPDIR?} | tail -1 | grep "noexec"
    2> /dev/null`
    ---
    > foundit=`mount | grep -w ${TMPDIR?} | grep "noexec" 2>
    /dev/null`
    

Local fix

  • The new local fix could be move the symlink, create a dummy
    file, run the installer, then move the symlink back.
    Alternatively, mount --move may be an option, or unpack, edit,
    repack com.tivoli.dsm.server.db2.linux.x86_64_11.1.3030.239.zip
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 11.1 FP6 or higher                            *
    ****************************************************************
    

Problem conclusion

  • Upgrade to Db2 11.1 FP6 or higher
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT29170

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-05-16

  • Closed date

    2020-11-10

  • Last modified date

    2020-11-10

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

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

    IT34864 IT34865 IT34866

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1"}]

Document Information

Modified date:
11 November 2020