Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...
|
Re: /etc/rc.sysinit: restorecon being run even when selinux disabled: msg#00139
|
Subject: |
Re: /etc/rc.sysinit: restorecon being run even when selinux disabled |
Robert P. J. Day (rpjday@xxxxxxxxxxxxxx) said:
> =====
> if [ -x /sbin/restorecon ] && LC_ALL=C fgrep -q " /dev " /proc/mounts ; then
> /sbin/restorecon -R /dev 2>/dev/null
> fi
> =====
>
> which will *apparently* be run regardless of whether or not selinux is
> enabled or not. if selinux is disabled, is there any point in even
> checking whether or not to run restorecon? (from what i read, the
> "rectorecon" program is clearly related to selinux.)
restorecon will check whether selinux is enabled and immediately
exit, so it's not a huge saving to bail in the !SELinux case.
But fixed in CVS anyway. :)
Bill
|
| |