https://bugzilla.redhat.com/show_bug.cgi?id=893722 (Red Hat Enterprise Linux 6)
Description of problem: During the yum update from 2.2.0-16 to 3.0.0-20 I'm seeing this: Updating : ipa-server-3.0.0-20.el6.x86_64 43/86 Cannot move CRL file to new directory: [Errno 2] No such file or directory: '/var/lib/ipa/pki-ca/publish/MasterCRL.bin' Updating : ipa-server-selinux-3.0.0-20.el6.x86_64 44/86 But, afterwards, I do see that: [root@rhel6-1 ipa-upgrade]# ls -ld /var/lib/ipa/pki-ca/publish/MasterCRL.bin lrwxrwxrwx. 1 root root 57 Jan 9 11:55 /var/lib/ipa/pki-ca/publish/MasterCRL.bin -> /var/lib/ipa/pki-ca/publish/MasterCRL-20130109-113944.der [root@rhel6-1 ipa-upgrade]# file /var/lib/ipa/pki-ca/publish/MasterCRL-20130109-113944.der /var/lib/ipa/pki-ca/publish/MasterCRL-20130109-113944.der: data Looking at the /var/log/ipaupgrade.log file: 2013-01-09T17:55:42Z DEBUG copy_crl_file: /var/lib/pki-ca/publish/MasterCRL.bin -> /var/lib/ipa/pki-ca/publish/MasterCRL.bin 2013-01-09T17:55:42Z DEBUG copy_crl_file: Create symlink /var/lib/ipa/pki-ca/publish/MasterCRL.bin -> /var/lib/ipa/pki-ca/publish/MasterCRL-20130109-113944.der 2013-01-09T17:55:42Z ERROR Cannot move CRL file to new directory: [Errno 2] No such file or directory: '/var/lib/ipa/pki-ca/publish/MasterCRL.bin' 2013-01-09T17:55:42Z DEBUG copy_crl_file: /var/lib/pki-ca/publish/MasterCRL-20130109-113944.der -> /var/lib/ipa/pki-ca/publish/MasterCRL-20130109-113944.der It looks like it's failing because it tries to create the symlink before copying the .der file to the new location? Version-Release number of selected component (if applicable): 2.2.0 to 3.0.0 yum update 'ipa*' How reproducible: always Steps to Reproduce: 1. setup rhel 6.3 IPA master server 2. point to rhel 6.4 repos for yum 3. yum update 'ipa*' Actual results: works but see this error: Updating : ipa-server-3.0.0-20.el6.x86_64 43/86 Cannot move CRL file to new directory: [Errno 2] No such file or directory: '/var/lib/ipa/pki-ca/publish/MasterCRL.bin' Updating : ipa-server-selinux-3.0.0-20.el6.x86_64 44/86 Expected results: Files copied in appropriate order and no error should be seen here? Additional info: see above in description.
attachment freeipa-mkosek-347-avoid-crl-migration-error-message.patch
Patch freeipa-mkosek-347-avoid-crl-migration-error-message.patch sent for review
This bug was found during 3.0 testing and has a fix ready. Autotriaging the issue to 3.0.2 milestone.
master: 79bcf90[[BR]] ipa-3-1: d911484[[BR]] ipa-3-0: 1fc0d12
Metadata Update from @mkosek: - Issue assigned to mkosek - Issue set to the milestone: FreeIPA 3.0.2
Login to comment on this ticket.