Hi,
the syspatch utility for now knows only three options:

 -c(heck for available plugins and list them)
 -l(ist installed patches - "id"'s only)
 -r(evert most recent patch)
.. and recently apparently also
 -R(evert all patches)

Here are two additional features that would be very useful:

1)
 -L(ist files of the recent patch)

For now, i'm doing that with:
  tar tzf /var/syspatch/"$(ls -tr /var/syspatch/ | tail -n 1)"/*.tgz

2) Notion of transactions

Often, more patches are installed at once, with the single `syspatch`
command. One might want to be able to revert all those patches at once
as well. A notion of transactions could be made by adding a notion
of transactions, but that would add more unnecessary complexity.

It can be solved simpler way, by adding the line with the list of
patches applied, e.g.

  # syspatch
  Installing patch 005_pf_src_tracking
  Get/Verify syspatch61-006_libssl.tgz 100% |*************|  2276 KB    00:04
  Installing patch 006_libssl
  Get/Verify syspatch61-007_freetyp... 100% |*************|   732 KB    00:01
  Installing patch 007_freetype
  Missing set, skipping patch 007_freetype
  Patches applied: 5,6

and by adding support for -r optional argument, which could be comma separated
patch number list.

(And this optional argument support would be also nice for the proposed -L 
option)


thanks for very handy feature,
Michal Bozon

Reply via email to