Proper way to apply SLE patches using ZLM

  • 7003873
  • 14-Jul-2009
  • 27-Apr-2012

Environment

Novell ZENworks 7.2 Linux Management - ZLM7.2
Novell ZENworks 7.3 Linux Management - ZLM7.3

Situation

The documenation for SLE (SLES 10/11, SLED 10/11) says that patches should be applied by doing: 'rug up -t patch <catalog>', and NOT by doing just 'rug up'.  This works only when the device to be patched is pulling the patches directly from nu.novell.com.  If the patches are hosted on a ZLM server, the proper way to install the patches would be by doing (if catalog assignment is chosen): 'rug bin <catalog> --entire-catalog'.  BUT, before doing so the bundle '<catalog>-bundle' (also known as the monolithic bundle) must be removed from the catalog (it should only contain patch bundles).  Also, direct ZLM bundle assignment will work (instead of catalog assignment).

Additional Information

The reason why 'rug up' is not recommended is because patches may contain some definitions that must be executed when installed (pre/post scripts embeded in the patch definition file).  Doing 'rug up' will just update the rpm's, bypassing any patch definition.