Re: SELinux - a question about external drive after upgrade

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

 



Mike wrote:
> I have a question related to something I had not thought about before...
> 
> I have an external USB drive that has been used for quite some time as a 
> backup drive attached to a machine that has SELinux disabled. Other machines
> in the LAN are backed up to the same external drive using rsync to the machine
> on which the external drive is attached. So there are no security contexts
> for files on the backup drive.
> 
> Some of the other local machines are now upgraded to F9 running SElinux enabled, 
> but of course the backups produce files on the external drive without any
> SELinux context information, since the machine that writes then has SELinux
> disabled!
> 
> So the question arises - if the main machine is then upgraded to F9 with
> SELinux enabled - what will happen to backup files when the original external
> drive is plugged in and used?
> 
> Will the filesystem on the external drive need to be relabelled once the machine
> on which it is attached has been upgraded?  If so what is the cleanest and safest
> way to get the whole system using SELinux?
> 
> 
> 
You can easily lay context down by running restorecon on the USB drive
at the mountpoint.  Or just set it up to mount the disk with a countext.
 Something like system_u:object_r:removable_t:s0.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux