From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from msux-gh1-uea02.nsa.gov (msux-gh1-uea02.nsa.gov [63.239.67.2]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with ESMTP id nAKJ6QM8025929 for ; Fri, 20 Nov 2009 14:06:26 -0500 Received: from ladon.golden-gryphon.com (localhost [127.0.0.1]) by msux-gh1-uea02.nsa.gov (8.12.10/8.12.10) with ESMTP id nAKJ8WRq004903 for ; Fri, 20 Nov 2009 19:08:32 GMT Received: from anzu.internal.golden-gryphon.com (tiamat.golden-gryphon.com [204.117.95.118]) (authenticated bits=128) by ladon.golden-gryphon.com (8.14.3/8.14.3/Debian-5) with ESMTP id nAKIuqXg007695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 20 Nov 2009 12:56:53 -0600 Received: from anzu.internal.golden-gryphon.com.internal.golden-gryphon.com (localhost [127.0.0.1]) by anzu.internal.golden-gryphon.com (8.14.3/8.14.3/Debian-9) with ESMTP id nAKIq3qO026056 for ; Fri, 20 Nov 2009 12:52:03 -0600 From: Manoj Srivastava To: selinux@tycho.nsa.gov Subject: A question about genhomedircon Date: Fri, 20 Nov 2009 12:52:03 -0600 Message-ID: <87vdh5kp0s.fsf@anzu.internal.golden-gryphon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov Hi, Looking at policycoreutils-2.0.77/scripts/genhomedircon, I see: --8<---------------cut here---------------start------------->8--- #!/bin/sh /usr/sbin/semodule -Bn --8<---------------cut here---------------end--------------->8--- Looking at the man page for semodule, it says: --8<---------------cut here---------------start------------->8--- -B, --build force a rebuild of policy (also reloads unless -n is used) -n,--noreload do not reload policy after commit --8<---------------cut here---------------end--------------->8--- Given that, it would seem that genhomedircon rebuilds, but does not reload policy. I would expect genhomedircon to generate SELinux file context configuration entries for user home directories, or something. What am I missing? manoj -- Manoj Srivastava 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.