Gentoo Archives: gentoo-hardened

From: Richard Simpson <richard.simpson@×××××.com>
To: Chris PeBenito <pebenito@g.o>, Hardened Gentoo Mail List <gentoo-hardened@l.g.o>
Subject: RE: [gentoo-hardened] SELinux updates
Date: Fri, 10 Sep 2004 02:39:01
Message-Id: BJENLMGHDPAAAGKKPOFOKEBICFAA.richard.simpson@wgint.com
In Reply to: Re: [gentoo-hardened] SELinux updates by Chris PeBenito
1 eeeek!!
2
3 I have had strange problems since merging the selinux-base-policy-20040702
4 update which seemed to be coming from labeling problems. And the
5 file_contexts size was now only 157 bytes!
6
7 This change seems to be the culprit in the 0702 Makefile:
8
9 @$(EINFO) "Building file_contexts"
10 @m4 $(FCFILES) > $@.tmp
11 @grep -v "^/root" $@.tmp > $@.root
12 -@/usr/sbin/genhomedircon $@.root > $@
13 +@/usr/sbin/genhomedircon . $@.root > $@
14
15 When I undo this change, the contexts compile correctly and everything gets
16 labeled as expected.
17
18 Richard.
19
20
21 --
22 gentoo-hardened@g.o mailing list