SCIENTIFIC-LINUX-USERS Archives

March 2017

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Tue, 21 Mar 2017 09:14:15 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
On Tue, Mar 21, 2017 at 7:49 AM, Lars Behrens <[log in to unmask]> wrote:
>
> After copying a system like I have done a million times before (but only
> with debianic, suse or arch systems) by
>
> * starting a live system on the target
> * copy the origin to mounted target device
> * chroot afterwards
> * adapt /etc/fstab and hosts/hostname files
> * install and config grub.
>
> after reboot I cannot log in to the resulting system neither as root nor
> as user.
>
> When I set selinux to permissive it works. So I am missing some basic thing.

It's probably a relabel issue.

You can either run, while chrooted, "touch ./autorelabel" (and the
relabel will happen at reboot) or "fixfiles relabel" (and the relabel
will happen within the chroot).

ATOM RSS1 RSS2