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


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.