Conversions using source with SELinux result in backup and archive problems for LVM DB in target

  • 7006230
  • 07-Jun-2010
  • 28-Jul-2017

Environment


PlateSpin Protect 10.x and above
PlateSpin Forge 3.x and above
PlateSpin Migrate 9.x and above
Linux source running SELinux Kernel

Situation

After running a migration or protection failover, certain commands fail on the Linux target running a SELinux kernel.
 
For example:
 
Executing vgdisplay -v shows "Couldn't create temporary archive name.  Volume group 'group' metadata archive failed'
 

This issue occurs because some configuration files are modified using under-control OS (RAMDISK) that is not SE enabled. As a result those file security attributes are reset and target OS detects it and prevents access to them.

Resolution

After boot target OS is still usable but errors may be displayed during boot. In order to fix them the following commands have to be run:

/sbin/fixfiles restore /etc
/sbin/fixfiles restore /var/lib/rpm

Alternatively you could also run a standard non SE kernel.