Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1408530 - Unable to install cronie-anacron package
Summary: Unable to install cronie-anacron package
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cronie
Version: 25
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1352154
TreeView+ depends on / blocked
 
Reported: 2016-12-24 10:16 UTC by J. Sastre
Modified: 2017-02-14 16:59 UTC (History)
8 users (show)

Fixed In Version: cronie-1.5.1-4.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-14 16:59:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description J. Sastre 2016-12-24 10:16:31 UTC
Description of problem:

cronie-anacron package install fails on fedora-atomic-25

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


How reproducible:


Steps to Reproduce:
1. sudo rpm-ostree install cronie-anacron


Actual results:
	"Running %post for cronie-anacron...... error: Running %post for cronie-anacron: Executing bwrap: Child process exited with code 1"


Expected results:


Additional info:
journalctl -xe
	rpm-ostreed[2363]: touch: cannot touch '/var/spool/anacron/cron.daily': Read-only file system
	rpm-ostreed[2363]: touch: cannot touch '/var/spool/anacron/cron.weekly': Read-only file system
	rpm-ostreed[2363]: touch: cannot touch '/var/spool/anacron/cron.monthly': Read-only file system

Comment 1 Colin Walters 2016-12-24 12:12:54 UTC
To be compatible with the ostree model, cronie should support an empty /var, and the daemon should create those files while it's running.  Basically treat ENOENT as equivalent to an empty file.


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