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: Enormous local.users (849MB!!!): msg#00224

Subject: Re: Enormous local.users (849MB!!!)
Tom London wrote:

Running strict/enforcing, latest rawhide.

After installing today's updates, here is 'ls -l /etc/selinux/strict/users':
[root@fedora users]# ls -l
total 830620
-rw-r--r--  1 root root 849689211 Jan 27 07:18 local.users
-rw-r--r--  1 root root      1062 Jan 26 15:17 local.users.rpmnew
-rw-r--r--  1 root root       511 Jan 27 07:12 system.users
-rw-r--r--  1 root root       509 Jan 26 07:08 system.users.rpmsave

I did 'mv local.users foobar', and did a 'make reload':
[root@fedora policy]# make reload
m4 tunables/distro.tun tunables/tunable.tun tmp/program_used_flags.te
/etc/selinux/strict/users/local.users | sed 's/^user/#user/g' >>
tmp/local.users
m4: /etc/selinux/strict/users/local.users: No such file or directory
install -m 644 tmp/local.users /etc/selinux/strict/users/local.users
Validating file_contexts ...
/usr/sbin/setfiles -q -c /etc/selinux/strict/policy/policy.18
/etc/selinux/strict/contexts/files/file_contexts
/usr/sbin/load_policy /etc/selinux/strict/policy/policy.18
touch tmp/load
[root@fedora policy]#

Here's the results:
[root@fedora users]# ls -l
total 1661216
-rw-r--r--  1 root root 849689211 Jan 27 07:18 foobar
-rw-r--r--  1 root root 849690274 Jan 27 10:53 local.users
-rw-r--r--  1 root root      1062 Jan 26 15:17 local.users.rpmnew
-rw-r--r--  1 root root       511 Jan 27 07:12 system.users
-rw-r--r--  1 root root       509 Jan 26 07:08 system.users.rpmsave
[root@fedora users]#

[root@fedora policy]# ls -l tmp
total 830636
-rw-r--r--  1 root root       371 Jan 12 08:23 configurable_types
-rw-r--r--  1 root root       371 Jan 27 07:12 customizable_types
-rw-r--r--  1 root root         0 Jan 27 10:53 load
-rw-r--r--  1 root root 849690274 Jan 27 10:52 local.users
-rw-r--r--  1 root root      3354 Jan 27 07:12 program_used_flags.te
-rw-r--r--  1 root root       511 Jan 27 07:12 system.users
-rw-r--r--  1 root root         0 Jan 27 10:53 valid_fc
[root@fedora policy]#

What did I do wrong? 849MB tmp/local.users??????
Should the command be '>/tmp/local.users' instead of
'>>/tmp/local.users'????

Can I clear this out?
  tom

Yes


<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