Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437102 - selinux-chromium-9999 fails to build (mcs-policy)
Summary: selinux-chromium-9999 fails to build (mcs-policy)
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard: sec-policy r6
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-03 21:19 UTC by Hinnerk van Bruinehsen
Modified: 2012-11-18 15:26 UTC (History)
1 user (show)

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 Hinnerk van Bruinehsen 2012-10-03 21:19:31 UTC
Error is:

Compiling mcs chromium module
/usr/bin/checkmodule:  loading policy configuration from tmp/chromium.tmp  
chromium.te":190:ERROR 'syntax error' at token ':' on line 9895:
#line 190
        allow  { chromium_t_dbusd_t self }:dbus send_msg; 
/usr/bin/checkmodule:  error(s) encountered while parsing configuration


This error occurs to me since about last thursday and I think it's related to dgrift's changes to the dbus-related stuff in refpolicy.

I'm using ~arch, hardened-dev overlay and just live-ebuilds for the policy.

I haven't attached the build log, since there's not much more than in the snippet I pasted above, but if I should either test something or give more information on the issue feel free to ask.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2012-10-03 21:45:36 UTC
Most likely because of the extra "_t" in it: "chromium_t_dbusd_t" isntead of "chromium_dbusd_t". Looking at it now.
Comment 2 Hinnerk van Bruinehsen 2012-10-04 18:37:47 UTC
Todays fix to the policy fixed it for me. Thank you!
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2012-10-10 20:53:10 UTC
Ok, thanks
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2012-11-18 15:26:34 UTC
In main tree, ~arch'ed