Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83926 - problem with sec-policy/selinux-base-policy
Summary: problem with sec-policy/selinux-base-policy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-03 02:10 UTC by Paul de Vrieze (RETIRED)
Modified: 2005-03-03 05:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul de Vrieze (RETIRED) gentoo-dev 2005-03-03 02:10:31 UTC
Hi, there again. Now I have the following problem with my policy:
/usr/bin/checkpolicy:  loading policy configuration from policy.conf
domains/program/mount.te:15:ERROR 'attribute sysadm_file_type is not declared' at token ';' on line 51661:
#line 15
type sysadm_mount_source_t, file_type, sysadmfile, sysadm_file_type;
/usr/bin/checkpolicy:  error(s) encountered while parsing configuration
make: *** [policy.18] Error 1

This sysadm_file_type indeed does not exist. sysadm_r_file_type does exist.
Comment 1 petre rodan (RETIRED) gentoo-dev 2005-03-03 04:04:19 UTC
emerge selinux-base-policy-20050224, make sure you etc-update macros/admin_macros.te, macros/user_macros.te and domains/admin.te. then

make -C /etc/security/selinux/src/policy clean reload

please close the bug if your problem has gone away after that
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2005-03-03 05:09:58 UTC
Somehow with putting back some files the problem went away. Thanks for the help