Re: su after disk reorganization.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2005-11-28 at 10:39 -0500, Matthew Saltzman wrote:
> I rebuilt my system disk to change the partitioning arrangment.  This 
> involved copying everything off, repartitioning, copying everything 
> back, and creating a new initrd.
> 
> Almost everything seems to work now except that when I su, after the 
> password prompt, I get the following prompt:
> 
>  	$ su
>  	Password:
>  	Your default context is root:system_r:kernel_t.
> 
>  	Do you want to choose a different one? [n]
> 
> That didn't happen before.  I tried autorelabel, but it had no effect.
> 
> What did the copy fail to preserve, and how can I fix it?

Can you run:
	/usr/sbin/sestatus -v | grep -v active
and show the results?

Offhand, I would have assumed that the copy simply failed to preserve
the security.selinux attributes, but you said that you tried relabeling
(/sbin/fixfiles relabel) and presumably rebooted afterwards.  Or perhaps
you just touched /.autorelabel and rebooted?  Maybe that isn't working
properly?  Try relabeling explicitly.

-- 
Stephen Smalley
National Security Agency

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux