Enormous local.users (849MB!!!)

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

 



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

-- 
Tom London


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux