Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384851 - sec-policy/selinux-mta contains a conflicting declaration with sec-policy/selinux-base-policy
Summary: sec-policy/selinux-mta contains a conflicting declaration with sec-policy/sel...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-28 21:55 UTC by William Keaney
Modified: 2011-11-11 17:52 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 William Keaney 2011-09-28 21:55:26 UTC
Attempting to install sec-policy/selinux-mta fails during postinst:
------
 * Inserting the following modules into the strict module store: mta
libsepol.scope_copy_callback: mta: Duplicate declaration in module: type/attribute auditadm_mail_tmp_t (No such file or directory).
libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory).
semodule:  Failed!
------
auditadm_mail_tmp_t is declared in /usr/share/selinux/strict/base.pp, provided by sec-policy/selinux-base-policy.
It is also declared in /usr/share/selinux/strict/mta.pp, provided by sec-policy/selinux-mta.



Reproducible: Always

Steps to Reproduce:
1. Emerge selinux-base-policy on an selinux-enabled system.
2. Emerge selinux-mta.
3.
Actual Results:  
selinux-mta fails in postinst due to a conflicting module declaration.

Expected Results:  
Any given module should only be declared in one policy package, preventing declaration conflicts.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2011-10-02 17:26:27 UTC
Thanks. Indeed, mta is marked as part of the base module so no separate package should exist. I'll see to get the package removed.
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2011-10-07 18:36:44 UTC
There do not seem to be any dependencies on selinux-mta anywhere in the portage tree, so I'm going to remove it
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2011-10-07 18:48:42 UTC
Package masked and last rites sent. ETA for removal beginning of november.
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2011-11-11 17:52:39 UTC
Removed from portage tree.