Bug 1084052 - /run/lock missing, opencryptoki fails to install in Koji
Summary: /run/lock missing, opencryptoki fails to install in Koji
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Schmidt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 952372 1083627
TreeView+ depends on / blocked
 
Reported: 2014-04-03 13:55 UTC by Michal Schmidt
Modified: 2014-07-30 06:56 UTC (History)
9 users (show)

Fixed In Version: systemd-208-21.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-30 06:56:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michal Schmidt 2014-04-03 13:55:08 UTC
Description of problem:
I am unable to build tpm-tools in Koji. tpm-tools BuildRequires opencryptoki-devel. The Koji build fails with:

DEBUG util.py:281:  Error unpacking rpm package opencryptoki-3.0-9.fc20.x86_64
DEBUG util.py:281:  error: unpacking of archive failed on file /var/lock/opencryptoki: cpio: mkdir
DEBUG util.py:281:  error: opencryptoki-3.0-9.fc20.x86_64: install failed

For the full log, see:
http://koji.fedoraproject.org/koji/getfile?taskID=6702795&name=root.log

I tried f20 and f21 builds and they both failed with the same error.

For some reason I am not seeing this error with local mockbuilds.

Version-Release number of selected component (if applicable):
opencryptoki-3.0-9.fc20.x86_64

How reproducible:
always

Steps to Reproduce:
1. Try to rebuild tpm-tools in Koji.
2.
3.

Actual results:
Build fails with the above error in root.log.

Expected results:
Build succeeds.

Comment 1 Dan Horák 2014-04-12 09:23:31 UTC
hm, this is the problem with the tmpfs backed directories (/run & co) not being created in the chroots, it has been already solved AFAIK. It might be that koji still uses older mock than your workstation.

Comment 2 Michal Schmidt 2014-07-24 13:05:04 UTC
It works now for F21 Koji builds, but not for F20. The difference is due to systemd now creating the tmpfiles in F21 in %post. Bug 1101983 and discussions in the BZs referenced from there explain a lot.
I'll see if we can have systemd do the same thing in F20.

Comment 3 Fedora Update System 2014-07-24 15:59:48 UTC
systemd-208-21.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/systemd-208-21.fc20

Comment 4 Fedora Update System 2014-07-25 10:09:15 UTC
Package systemd-208-21.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-208-21.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-8860/systemd-208-21.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-07-30 06:56:36 UTC
systemd-208-21.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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