Find the patch that contained a particular file.

Hi All,

I have an AIX executable (/usr/bin/shell) in my system.

I want to know if this file was updated by any of the installed fixes/apars on my system.

What is the AIX way of finding this information?

Greetings,
Peter

I think you would be best to start by looking what fileset the file came from like this:

hostname:/:$ lslpp -w /usr/bin/shell
  File                                        Fileset               Type
  ----------------------------------------------------------------------------
  /usr/bin/shell                              bos.rte.security      File
hostname:/:$ 

If you only "APPLY" your filesets, instead of committing them, you should have a history with the "lslpp" command.

hostname:/:$ lslpp -l bos.rte.security
  Fileset                      Level  State      Description         
  ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
  bos.rte.security           6.1.5.0  COMMITTED  Base Security Function

Path: /etc/objrepos
  bos.rte.security           6.1.5.0  COMMITTED  Base Security Function
hostname:/:$

You may have to look back at what you applied and see if that fileset was part of the update... unless anyone has any other ideas.

1 Like