logo       

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: xfs socket startup fails with strict policy: msg#00190

Subject: Re: xfs socket startup fails with strict policy
Leonard den Ottolander wrote:

Hi Richard,

On Thu, 2004-08-26 at 23:12, Richard Hally wrote:
Look like the correction needs to be made in the X startup script.

By the way, can one work around this by enabling tcp sockets for xfs? Or
is there a one line patch that makes the startup script tag that
directory correctly?

Leonard.

Below is part of the previous thread "SELinux stops new X11" (I'd give you a url but the list archive is down att)
There may be changes to the strict policy from Russell Coker as well.
Richard Hally

On Thu, 2004-08-19 at 19:10, Richard Hally wrote:

The new xorg-X11(6.7.99.902-1) will not start with the current strict SELinux policy(1.15.16-1) in enforcing mode. (xorg-x11-*6.7.0-7.2 works just fine). I have not tried permissive mode. It looks like something has changed in X11 that has to do with the fonts and the SE policy has not been updated to handle it but that is just speculation.

I applied the patch below to my /etc/init.d/xfs to fix.  This patch
restores the type on /tmp/.font-unix when it is re-created by
/etc/init.d/xfs.  I assume that previously xfs was directly creating the
directory itself, so that the file_type_auto_trans rule for xfs_t was
sufficient to label it, but since it is now being created by the init
script, it is getting a different type.

--- /etc/init.d/xfs.old 2004-08-18 14:45:54.000000000 -0400
+++ /etc/init.d/xfs     2004-08-20 07:16:01.539914488 -0400
@@ -78,6 +78,7 @@
   mkdir $FONT_UNIX_DIR
   chown root:root $FONT_UNIX_DIR
   chmod 1777 $FONT_UNIX_DIR
+   restorecon $FONT_UNIX_DIR

   daemon xfs -droppriv -daemon
   ret=$?

-- Stephen Smalley <sds@xxxxxxxxxxxxxx> National Security Agency -- fedora-selinux-list mailing list fedora-selinux-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-selinux-list




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation