Re: Selinux Problems

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

 



Bruno Wolff III wrote:
> On Tue, Oct 06, 2009 at 06:31:48 +0000,
>   g <geleem@xxxxxxxxxxxxx> wrote:
>> Jim wrote:
>>
>>> Trying to Relabel my Laptop and if I do a "touch / autorelabel" in 
>>> permissive mode.
>> what does 'touch /.autorelabel' do? note "/.a"
> 
> /.autorelabel is a magic name that is used during the boot process to determine
> whether or not a relabel should be done during the boot process.
> 
> The touch command creates the file if it doesn't exist.

of this, i am aware. tho i would call it a *flag*, not a 'magic name'.

be aware that jim shows "touch / autorelabel", which is not same as
*touch /.autorestore*.

granted. he may have made a typo in his post by not showing '.'.

if he left '.' out in his command line, it may be a reason for not
triggering selinux to run a relabel during reboot.


from 'man selinux';

+++
FILE LABELING
   All files, directories, devices ... have a security context/label asso-
   ciated with them.  These context are stored in the extended  attributes
   of  the  file  system.  Problems with SELinux often arise from the file
   system being mislabeled. This can be caused by booting the machine with
   a  non  selinux kernel.  If you see an error message containing file_t,
   that is usually a good indicator that you have a serious  problem  with
   file system labeling.

   The  best  way  to  relabel  the file system is to create the flag file
   /.autorelabel and reboot.  system-config-securitylevel, also  has  this
   capability.   The  restorcon/fixfiles  commands  are also available for
   relabeling files.
+++


-- 

peace out.

tc,hago.

g
.

****
in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today.
**
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/
****

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
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