[pca] safe mode?

Martin Paul martin at par.univie.ac.at
Thu May 15 14:39:02 CEST 2008


Chris Coffey wrote:
> Or something similar where files/perms/links aren't kosher to proceed with a
> patch.  I think this is related to using the safe switch, is that correct?

Correct. Don't use the safe option, and the errors will be gone. You 
provide a good example of what --safe can do for you, BTW:

   ERROR: /etc/init.d/init.wbem
     permissions <0744> expected <0600> actual
   ERROR: /etc/rc2.d/S90wbem
     pathname not properly linked to <../../etc/init.d/init.wbem>

This tells me that you manually have changed the permissions of 
init.wbem to 600 and removed the S90wbem link in /etc/rc2.d/. You did 
this to stop the wbem stuff from starting automatically.

When you install 112945-46, the permissions will be changed back to 744 
and the missing link will be re-established, resulting in the wbem 
processes again being started on next reboot. You probably don't want 
that, and that's what --safe warns you about.

The problem with --safe is that it sometimes shows false positives - 
files which you didn't modify yourself or never heard of, and which you 
don't care about being modified by the patch. This happens e.g. when a 
script in a patch modifies a configuration file without updating its 
checksum in the package database later on. You can just ignore what 
--safe tells you in that case and install the patch without --safe.

The decision on whether you prefer hands-off patching or the extra 
safety provided by using --safe is on you.

Hope that helps,

Martin.



More information about the pca mailing list