Re: CentOS 7: restore fails (Bruno Cornec)
Nikolaos Milas <[email protected]>
| Newsgroups | gmane.linux.mondo.devel |
|---|---|
| Organization | National Observatory of Athens |
| Message-ID | <[email protected]> |
On 22/12/2016 12:47 μμ, Simon Magrin wrote: > "Keep using the -z option, especially if you use SELinux ! Without it, > your system won't allow you to log in after restore." > > This issue has caught me out before. A workaround is to; > > - Change SELinux to 'permissive' by mounting the newly restored volume > and editing /etc/selinux/coonfig or > > - booting into Single mode, log in as root run 'fixfiles -relabel', > change change back to 'enforcing' and reboot. Thanks Simon, All the restores I have tried were from backups which were using the -z option. However, I have SELinux disabled, so this is not an issue. (I am using the -z option mainly due to our occasional use of extended file permissions (ACL).) The problem is that the restored VM won't boot at all in all of my tests. Cheers, Nick ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/intel _______________________________________________ Mondo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mondo-devel