Bug 959488 - Duplicate declaration in module
Summary: Duplicate declaration in module
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 19
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Ben Levenson
URL:
Whiteboard:
: 959498 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-03 15:31 UTC by Dean Hunter
Modified: 2013-07-21 17:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-21 17:29:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dean Hunter 2013-05-03 15:31:57 UTC
Description of problem:

yum distro-sync to Fedora 19 fails in selinux-policy-targeted.


Version-Release number of selected component (if applicable):

selinux-policy-targeted-3.12.1-34.fc19.noarch


How reproducible: Consistent


Steps to Reproduce:

1. Build a VM from the Fedora 18 x86-64 DVD
2. yum update --assumeyes
3. reboot
4. yum update yum
5. yum clean all
6. yum --releasever=19 distro-sync --nogpgcheck -y
7. reboot

  
Actual results:

  Updating   : selinux-policy-targeted-3.12.1-34.fc19.noarch           631/2927 
libsepol.scope_copy_callback: l2tpd: Duplicate declaration in module: type/attribute l2tpd_var_run_t (No such file or directory).
libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory).
/usr/sbin/semodule:  Failed!
*******************************************************************************************************************************************
  Updating   : dnsmasq-2.66-1rc1.fc19.x86_64                           632/2927 


Expected results:

  Updating   : selinux-policy-targeted-3.12.1-34.fc19.noarch           631/2927 
  Updating   : dnsmasq-2.66-1rc1.fc19.x86_64                           632/2927 


Additional info:

Comment 1 Rob Crittenden 2013-05-03 18:24:57 UTC
*** Bug 959498 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Grepl 2013-05-06 06:50:04 UTC
This is an upgrade issue. I will try to test your scenario.

Could you try to execute

# rm -rf /etc/selinux/targeted/modules/active/modules/l2tpd.pp
# yum reinstall selinux-policy-targeted

Comment 3 Dean Hunter 2013-05-07 15:31:03 UTC
????!!!!

I have tried twice to reproduce the problem and have been unsuccessful. Last week the error occurred twice. The first time I did not save the output so I had to repeat it to get the results for this bug report.

Comment 4 Dean Hunter 2013-05-07 20:45:43 UTC
Ah hah! I forgot that it was a FreeIPA server I had attempted to update.

Steps to Reproduce:

1. Build a VM from the Fedora 18 x86-64 DVD
2. yum update --assumeyes
3. reboot
4. yum install bind bind-dyndb-ldap freeipa-server
5. ipa-server-install ....
6. reboot
7. yum update yum
8. yum clean all
9. yum --releasever=19 distro-sync --nogpgcheck -y
10. reboot

Now I execute your request:

[root@ipa ~]# rm -rf /etc/selinux/targeted/modules/active/modules/l2tpd.pp
[root@ipa ~]# yum reinstall selinux-policy-targeted
Loaded plugins: langpacks, refresh-packagekit
Existing lock /var/run/yum.pid: another copy is running as pid 2181.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 193 M RSS (602 MB VSZ)
    Started: Tue May  7 15:34:38 2013 - 09:31 ago
    State  : Running, pid: 2181
Resolving Dependencies
--> Running transaction check
---> Package audit-libs.x86_64 0:2.2.3-2.fc19 will be updated
--> Processing Dependency: audit-libs = 2.2.3-2.fc19 for package: audit-2.2.3-2.fc19.x86_64
--> Processing Dependency: audit-libs = 2.2.3-2.fc19 for package: audit-libs-python-2.2.3-2.fc19.x86_64
---> Package audit-libs.x86_64 0:2.3-2.fc19 will be an update
---> Package chkconfig.x86_64 0:1.3.60-1.fc19 will be updated
--> Processing Dependency: chkconfig = 1.3.60-1.fc19 for package: ntsysv-1.3.60-1.fc19.x86_64
---> Package chkconfig.x86_64 0:1.3.60-2.fc19 will be an update
---> Package device-mapper.x86_64 0:1.02.77-7.fc19 will be updated
--> Processing Dependency: device-mapper = 1.02.77-7.fc19 for package: device-mapper-event-1.02.77-7.fc19.x86_64
---> Package device-mapper.x86_64 0:1.02.77-8.fc19 will be an update
---> Package device-mapper-libs.x86_64 0:1.02.77-7.fc19 will be updated
---> Package device-mapper-libs.x86_64 0:1.02.77-8.fc19 will be an update
---> Package kmod-libs.x86_64 0:12-3.fc19 will be updated
---> Package kmod-libs.x86_64 0:13-2.fc19 will be an update
---> Package krb5-libs.x86_64 0:1.11.2-2.fc19 will be updated
--> Processing Dependency: krb5-libs = 1.11.2-2.fc19 for package: krb5-server-1.11.2-2.fc19.x86_64
--> Processing Dependency: krb5-libs = 1.11.2-2.fc19 for package: krb5-pkinit-1.11.2-2.fc19.x86_64
--> Processing Dependency: krb5-libs = 1.11.2-2.fc19 for package: krb5-workstation-1.11.2-2.fc19.x86_64
---> Package krb5-libs.x86_64 0:1.11.2-4.fc19 will be an update
---> Package libattr.x86_64 0:2.4.46-9.fc19 will be updated
--> Processing Dependency: libattr = 2.4.46-9.fc19 for package: attr-2.4.46-9.fc19.x86_64
---> Package libattr.x86_64 0:2.4.46-10.fc19 will be an update
---> Package libblkid.x86_64 0:2.23-0.3.fc19 will be updated
---> Package libblkid.x86_64 0:2.23-1.fc19 will be an update
---> Package libmicrohttpd.x86_64 0:0.9.24-2.fc19 will be updated
---> Package libmicrohttpd.x86_64 0:0.9.27-1.fc19 will be an update
---> Package libmount.x86_64 0:2.23-0.3.fc19 will be updated
---> Package libmount.x86_64 0:2.23-1.fc19 will be an update
---> Package libsemanage.x86_64 0:2.1.10-2.fc19 will be updated
--> Processing Dependency: libsemanage = 2.1.10-2.fc19 for package: libsemanage-python-2.1.10-2.fc19.x86_64
---> Package libsemanage.x86_64 0:2.1.10-4.fc19 will be an update
---> Package libuuid.x86_64 0:2.23-0.3.fc19 will be updated
---> Package libuuid.x86_64 0:2.23-1.fc19 will be an update
---> Package openldap.x86_64 0:2.4.35-1.fc19 will be updated
--> Processing Dependency: openldap(x86-64) = 2.4.35-1.fc19 for package: openldap-clients-2.4.35-1.fc19.x86_64
---> Package openldap.x86_64 0:2.4.35-3.fc19 will be an update
---> Package p11-kit.x86_64 0:0.18.0-1.fc19 will be updated
---> Package p11-kit.x86_64 0:0.18.1-1.fc19 will be an update
---> Package p11-kit-trust.x86_64 0:0.18.0-1.fc19 will be updated
---> Package p11-kit-trust.x86_64 0:0.18.1-1.fc19 will be an update
---> Package policycoreutils.x86_64 0:2.1.14-33.fc19 will be updated
--> Processing Dependency: policycoreutils = 2.1.14-33.fc19 for package: policycoreutils-python-2.1.14-33.fc19.x86_64
---> Package policycoreutils.x86_64 0:2.1.14-37.fc19 will be an update
---> Package python.x86_64 0:2.7.4-3.fc19 will be updated
---> Package python.x86_64 0:2.7.4-4.fc19 will be an update
---> Package python-libs.x86_64 0:2.7.4-3.fc19 will be updated
---> Package python-libs.x86_64 0:2.7.4-4.fc19 will be an update
---> Package selinux-policy.noarch 0:3.12.1-34.fc19 will be updated
--> Processing Dependency: selinux-policy = 3.12.1-34.fc19 for package: selinux-policy-targeted-3.12.1-34.fc19.noarch
--> Processing Dependency: selinux-policy = 3.12.1-34.fc19 for package: selinux-policy-targeted-3.12.1-34.fc19.noarch
--> Processing Dependency: selinux-policy = 3.12.1-34.fc19 for package: selinux-policy-targeted-3.12.1-34.fc19.noarch
--> Processing Dependency: selinux-policy = 3.12.1-34.fc19 for package: selinux-policy-targeted-3.12.1-34.fc19.noarch
---> Package selinux-policy.noarch 0:3.12.1-40.fc19 will be an update
---> Package selinux-policy-targeted.noarch 0:3.12.1-34.fc19 will be reinstalled
--> Processing Dependency: selinux-policy = 3.12.1-34.fc19 for package: selinux-policy-targeted-3.12.1-34.fc19.noarch
--> Processing Dependency: selinux-policy = 3.12.1-34.fc19 for package: selinux-policy-targeted-3.12.1-34.fc19.noarch
---> Package sqlite.x86_64 0:3.7.15.2-2.fc19 will be updated
---> Package sqlite.x86_64 0:3.7.16.2-1.fc19 will be an update
---> Package util-linux.x86_64 0:2.23-0.3.fc19 will be updated
---> Package util-linux.x86_64 0:2.23-1.fc19 will be an update
--> Running transaction check
---> Package attr.x86_64 0:2.4.46-9.fc19 will be updated
---> Package attr.x86_64 0:2.4.46-10.fc19 will be an update
---> Package audit.x86_64 0:2.2.3-2.fc19 will be updated
---> Package audit.x86_64 0:2.3-2.fc19 will be an update
---> Package audit-libs-python.x86_64 0:2.2.3-2.fc19 will be updated
---> Package audit-libs-python.x86_64 0:2.3-2.fc19 will be an update
---> Package device-mapper-event.x86_64 0:1.02.77-7.fc19 will be updated
---> Package device-mapper-event.x86_64 0:1.02.77-8.fc19 will be an update
--> Processing Dependency: device-mapper-event-libs = 1.02.77-8.fc19 for package: device-mapper-event-1.02.77-8.fc19.x86_64
---> Package krb5-pkinit.x86_64 0:1.11.2-2.fc19 will be updated
---> Package krb5-pkinit.x86_64 0:1.11.2-4.fc19 will be an update
---> Package krb5-server.x86_64 0:1.11.2-2.fc19 will be updated
---> Package krb5-server.x86_64 0:1.11.2-4.fc19 will be an update
updates/19/x86_64/filelists_db                           |  586 B     00:00     
updates-testing/19/x86_64/filelists_db                   | 9.9 MB     00:18     
---> Package krb5-workstation.x86_64 0:1.11.2-2.fc19 will be updated
---> Package krb5-workstation.x86_64 0:1.11.2-4.fc19 will be an update
---> Package libsemanage-python.x86_64 0:2.1.10-2.fc19 will be updated
---> Package libsemanage-python.x86_64 0:2.1.10-4.fc19 will be an update
---> Package ntsysv.x86_64 0:1.3.60-1.fc19 will be updated
---> Package ntsysv.x86_64 0:1.3.60-2.fc19 will be an update
---> Package openldap-clients.x86_64 0:2.4.35-1.fc19 will be updated
---> Package openldap-clients.x86_64 0:2.4.35-3.fc19 will be an update
---> Package policycoreutils-python.x86_64 0:2.1.14-33.fc19 will be updated
--> Processing Dependency: policycoreutils-python = 2.1.14-33.fc19 for package: policycoreutils-devel-2.1.14-33.fc19.x86_64
---> Package policycoreutils-python.x86_64 0:2.1.14-37.fc19 will be an update
---> Package selinux-policy.noarch 0:3.12.1-34.fc19 will be updated
--> Processing Dependency: selinux-policy = 3.12.1-34.fc19 for package: selinux-policy-targeted-3.12.1-34.fc19.noarch
--> Processing Dependency: selinux-policy = 3.12.1-34.fc19 for package: selinux-policy-targeted-3.12.1-34.fc19.noarch
---> Package selinux-policy-targeted.noarch 0:3.12.1-34.fc19 will be reinstalled
--> Processing Dependency: selinux-policy = 3.12.1-34.fc19 for package: selinux-policy-targeted-3.12.1-34.fc19.noarch
--> Processing Dependency: selinux-policy = 3.12.1-34.fc19 for package: selinux-policy-targeted-3.12.1-34.fc19.noarch
---> Package selinux-policy-targeted.noarch 0:3.12.1-34.fc19 will be updated
---> Package selinux-policy-targeted.noarch 0:3.12.1-40.fc19 will be an update
--> Running transaction check
---> Package device-mapper-event-libs.x86_64 0:1.02.77-7.fc19 will be updated
---> Package device-mapper-event-libs.x86_64 0:1.02.77-8.fc19 will be an update
---> Package policycoreutils-devel.x86_64 0:2.1.14-33.fc19 will be updated
---> Package policycoreutils-devel.x86_64 0:2.1.14-37.fc19 will be an update
---> Package selinux-policy.noarch 0:3.12.1-34.fc19 will be updated
--> Processing Dependency: selinux-policy = 3.12.1-34.fc19 for package: selinux-policy-targeted-3.12.1-34.fc19.noarch
--> Processing Dependency: selinux-policy = 3.12.1-34.fc19 for package: selinux-policy-targeted-3.12.1-34.fc19.noarch
---> Package selinux-policy-targeted.noarch 0:3.12.1-34.fc19 will be reinstalled
--> Processing Dependency: selinux-policy = 3.12.1-34.fc19 for package: selinux-policy-targeted-3.12.1-34.fc19.noarch
--> Processing Dependency: selinux-policy = 3.12.1-34.fc19 for package: selinux-policy-targeted-3.12.1-34.fc19.noarch
--> Finished Dependency Resolution
--> Finding unneeded leftover dependencies
Found and removing 0 unneeded dependencies
Error: Package: selinux-policy-targeted-3.12.1-34.fc19.noarch (fedora)
           Requires: selinux-policy = 3.12.1-34.fc19
           Removing: selinux-policy-3.12.1-34.fc19.noarch (@fedora)
               selinux-policy = 3.12.1-34.fc19
           Updated By: selinux-policy-3.12.1-40.fc19.noarch (updates-testing)
               selinux-policy = 3.12.1-40.fc19
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@ipa ~]#


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