Bug 1013274 - error while updating selinux-policy via yum
Summary: error while updating selinux-policy via yum
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-29 02:23 UTC by Amit Shah
Modified: 2015-02-17 17:24 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-02-17 17:24:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Amit Shah 2013-09-29 02:23:59 UTC
Description of problem:

During the recent update, this error pops up while updating selinux-policy:

  Updating   : selinux-policy-3.12.1-74.4.fc19.noarch                                      102/1172 
libsepol.scope_copy_callback: entropyd: Duplicate declaration in module: type/attribute entropyd_var_run_t (No such file or directory).
libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory).
semodule:  Failed!

Comment 1 Amit Shah 2013-09-29 02:41:29 UTC
Might be possibly related to bug 1013273

Comment 2 Daniel Walsh 2013-09-29 12:05:29 UTC
Looks like you might have a bad module on your machine?

Could you 
locate audio_entropy.pp 
locate audioentropy.pp

Comment 3 Amit Shah 2013-10-28 18:20:24 UTC
(In reply to Daniel Walsh from comment #2)
> Looks like you might have a bad module on your machine?
> 
> Could you 
> locate audio_entropy.pp 
> locate audioentropy.pp

No result on either.

Comment 4 Daniel Walsh 2013-10-29 15:36:07 UTC
What is the output of

rpm -qf /etc/selinux/targeted/modules/active/modules/*.pp | grep -v selinux-policy-targeted

Comment 5 Amit Shah 2013-10-31 18:09:08 UTC
(In reply to Daniel Walsh from comment #4)
> What is the output of
> 
> rpm -qf /etc/selinux/targeted/modules/active/modules/*.pp | grep -v
> selinux-policy-targeted

This machine has been upgraded to every subsequent Fedora release since a long time back.

# rpm -qf /etc/selinux/targeted/modules/active/modules/*.pp | grep -v selinux-policy-targeted
file /etc/selinux/targeted/modules/active/modules/ada.pp is not owned by any package
file /etc/selinux/targeted/modules/active/modules/audioentropy.pp is not owned by any package
file /etc/selinux/targeted/modules/active/modules/BackupPC.pp is not owned by any package
file /etc/selinux/targeted/modules/active/modules/execmem.pp is not owned by any package
file /etc/selinux/targeted/modules/active/modules/hal.pp is not owned by any package
file /etc/selinux/targeted/modules/active/modules/hotplug.pp is not owned by any package
file /etc/selinux/targeted/modules/active/modules/howl.pp is not owned by any package
file /etc/selinux/targeted/modules/active/modules/java.pp is not owned by any package
file /etc/selinux/targeted/modules/active/modules/kerneloops.pp is not owned by any package
file /etc/selinux/targeted/modules/active/modules/kudzu.pp is not owned by any package
file /etc/selinux/targeted/modules/active/modules/mono.pp is not owned by any package
file /etc/selinux/targeted/modules/active/modules/openoffice.pp is not owned by any package
file /etc/selinux/targeted/modules/active/modules/qpidd.pp is not owned by any package
file /etc/selinux/targeted/modules/active/modules/tzdata.pp is not owned by any package
file /etc/selinux/targeted/modules/active/modules/xfs.pp is not owned by any package

Comment 7 Daniel Walsh 2013-11-01 15:14:31 UTC
Amit, rm everyone of those pp files that are not owned.  The selinux-policy package is supposed to delete these on update.  

After you remove them run

# semodule -B

And you should be all set.

Comment 8 Daniel Walsh 2013-11-01 15:54:53 UTC
Miroslav out post install scripts are broken.  We should have removed these files on update.  Which I will remove out of the check for rebuild.

No harm on doing that, but I do not believe this whole section is working properly.

Comment 9 Fedora End Of Life 2015-01-09 20:01:28 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 Fedora End Of Life 2015-02-17 17:24:01 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.