moving modules into base
Due to problems with modules I want to compile a policy with amavis and clamav in base.pp.
I built the rpms but get the following when trying to install them:
libsepol.scope_copy_callback: amavis: Duplicate declaration in module:
type/attribute amavis_var_log_t libsemanage.semanage_link_sandbox: Link packages failed
semodule: Failed!
I then built a module with just clamav in base.pp and got the following:
libsepol.scope_copy_callback: clamav: Duplicate declaration in module:
type/attribute clamd_var_lib_t libsemanage.semanage_link_sandbox: Link packages failed
semodule: Failed!
This prevents the installation process from completing correctly.
Signature · 9 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 10 lines · Russell Coker
Due to problems with modules I want to compile a policy with amavis and clamav in base.pp.
I built the rpms but get the following when trying to install them:
libsepol.scope_copy_callback: amavis: Duplicate declaration in module:
type/attributeamavis_var_log_tlibsemanage.semanage_link_sandbox: Link packages failed
semodule: Failed!
Quoted 6 lines
I then built a module with just clamav in base.pp and got the following:
libsepol.scope_copy_callback: clamav: Duplicate declaration in module:
type/attributeclamd_var_lib_tlibsemanage.semanage_link_sandbox: Link packages failed
semodule: Failed!
Can you send a copy of the modules.conf?
Signature · 10 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 11 lines · Christopher J. PeBenito
Quoted 10 lines · Russell Coker
Due to problems with modules I want to compile a policy with amavis and clamav in base.pp.
I built the rpms but get the following when trying to install them:
libsepol.scope_copy_callback: amavis: Duplicate declaration in module:
type/attributeamavis_var_log_tlibsemanage.semanage_link_sandbox: Link packages failed
semodule: Failed!
Quoted 8 lines
Quoted 6 lines
I then built a module with just clamav in base.pp and got the following:
libsepol.scope_copy_callback: clamav: Duplicate declaration in module:
type/attributeclamd_var_lib_tlibsemanage.semanage_link_sandbox: Link packages failed
semodule: Failed!Can you send a copy of the modules.conf?
I've attached the patch against the default Red Hat package.
Signature · 4 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page
modules-targeted.conf renamed from modules-targeted.conf.orig +10 -3
@@ -1053,16 +1053,16 @@ # Layer: services # Module: amavis # -# Anti-virus +# Amavis anti-virus framework for Email virus scanning # -amavis = module +amavis = base # Layer: services # Module: clamav # # ClamAV Virus Scanner # -clamav = module +clamav = base # Layer: system # Module: setrans
@@ -1078,3 +1078,10 @@ # Policy for OPENVPN full-featured SSL VPN solution # openvpn = base + +# Layer: services +# Module: postgrey +# +# Policy for Postfix Gray-listing daemon +# +postgrey = base
Quoted 1 line
Quoted 1 line
Quoted 1 line
I then built a module with just clamav in base.pp and got the following:
Did you _remove_ the old clamav.pp module before installing the new base?
You should be able to do it in one pass, but make sure you removed clamav.pp
e.g. semodule -r clamav -b /path/to/base.pp
best regards,
Erich Schubert
Signature · 11 lines
erich@(vitavonni.de|debian.org) -- GPG Key ID: 4B3A135C (o_
The infinite! No other question has ever moved so profoundly //\
the spirit of man. --- David Hilbert V_/_
Es lohnt sich nicht, die Augen aufzumachen,
wenn der Kopf im Sand steckt.
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.