Gentoo Archives: gentoo-hardened

From: "j." <merkaba@×××××××××××.com>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] selinux-dhcp policy problem
Date: Thu, 22 Jan 2004 00:55:00
Message-Id: 1074732888.17758.16.camel@hermes.quantumfish.com
1 after merging selinux-dhcp-20040116, i can't make the new policy.
2 make load from /etc/security/selinux/src/policy/ returns:
3
4 mkdir -p /etc/security/selinux
5 /usr/bin/checkpolicy -o /etc/security/selinux/policy.15
6 /etc/security/selinux/src/policy.conf
7 ERROR 'name conflict for type alias dhcpc_etc_t' at token ';' on line
8 18379:
9
10 type dhcp_etc_t alias { dhcpc_etc_t dhcpd_etc_t }, file_type,
11 sysadmfile;
12 /usr/bin/checkpolicy: error(s) encountered while parsing configuration
13 /usr/bin/checkpolicy: loading policy configuration from
14 /etc/security/selinux/src/policy.conf
15 make: *** [/etc/security/selinux/policy.15] Error 1
16
17
18 any ideas?
19 i'm not sure if there's any other information that would be useful for
20 diagnosing/fixing the problem. i just dove into selinux head first a few
21 days ago.
22
23 unrelated side note:
24 during the selinux conversion process, i ran into a slight snag when
25 remerging pwdb (0.62). the merge was successful, but during the build,
26 ld failed to link libattr (-lattr). merging attr (previously
27 uninstalled) and then remerging pwdb again fixed the problem. i'm not
28 sure if it's a selinux related bug or not, but it seems like something
29 should have complained loudly and failed instead of my having to got
30 lucky and caught the problem as it went by on the screen.
31
32 thanks,
33
34 j.
35
36
37 --
38 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] selinux-dhcp policy problem Chris PeBenito <pebenito@g.o>