Please take our Survey
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: SELinux errors: invalid context & inode_doinit_with_dentry: context_to_: msg#00135

Subject: Re: SELinux errors: invalid context & inode_doinit_with_dentry: context_to_sid() returned 22
Vladimir G. Ivanovic wrote:
I posted this message to the fedora-list mailing list, but I haven't
as of yet gotten any answer. Could someone here shed some light on the
errors I'm seeing?

Thanks.

--- Vladimir

   To: fedora-list@xxxxxxxxxx
   Date: Wed, 26 Oct 2005 00:30:15 -0700
   Subject: SELinux errors

   I'm getting lots of errors like:

   /etc/selinux/targeted/contexts/files/file_contexts:  line 1851 has invalid 
context system_u:object_r:texrel_shlib_t
   /etc/selinux/targeted/contexts/files/file_contexts.homedirs:  line 14 has 
invalid context user_u:object_r:user_home_dir_t

   when I run "rpm -V selinux-policy-targeted". (As far as I can tell,
   every non-null, non-comment line in /etc/..../files/* generates an
error.)
   In my syslog I have thousands of errors like:

   Oct 26 00:21:16 bach kernel: inode_doinit_with_dentry:  
context_to_sid(system_u:object_r:policy_src_t:s0) returned 22 for dev=sda4 
ino=1145588
   Oct 26 00:21:16 bach kernel: inode_doinit_with_dentry:  
context_to_sid(system_u:object_r:policy_src_t:s0) returned 22 for dev=sda4 
ino=266929

   which I assume are related.

   I've tried reinstalling the RPMs selinux-policy-targeted and
   selinux-policy-targeted-sources, and then booting with selinux=0,
   running "fixfiles relabel" and then rebooting normally. No change.

   I've tried googling, but I didn't find anything. Any advice (other
   than turning SELinux off)?

   Thanks.

   --- Vladimir

   kernel-smp-2.6.13-1.1532_FC4

   checkpolicy-1.23.1-1
   libselinux-1.26-1
   libselinux-devel-1.26-1
   policycoreutils-1.27.2-1.2
   selinux-doc-1.19.5-1
   selinux-policy-strict-1.27.1-2.6
   selinux-policy-strict-sources-1.27.1-2.6
   selinux-policy-targeted-1.27.1-2.6
   selinux-policy-targeted-sources-1.27.1-2.6
   setools-2.1.2-1.1

You have a mismatch of FC4 policy with an FC5 libselinux. Basically you are running in a mode that thinks it should have
MCS turned on.  You need to revert back to an older libselinux.

--




<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