Bug 1372161

Summary: Couldn't start daemon: Error setting up sysroot: /ostree/repo: openat: No such file or directory
Product: [Fedora] Fedora Reporter: lnie <lnie>
Component: rpm-ostreeAssignee: Colin Walters <walters>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: jlebon, mattdm, stillcdg, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-03 13:31:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
journalctl -b -1 none

Description lnie 2016-09-01 05:13:19 UTC
Created attachment 1196593 [details]
journalctl -b -1

Description of problem:
add a disk using virt-manager after a clean installation
got:
Sep 01 12:59:36 localhost.localdomain rpm-ostreed[1773]: Couldn't start daemon: Error setting up sysroot: /ostree/repo: openat: No such file or directory
whenever I try to create a luks partition using cockpit.
Not sure if this is rpm-ostree's fault as I got some other errors at the same time:
Sep 01 12:59:36 localhost.localdomain rpm-ostreed[1773]: Couldn't start daemon: Error setting up sysroot: /ostree/repo: openat: No such file or directory
Sep 01 12:59:39 localhost.localdomain setroubleshoot[1789]: SELinux is preventing systemd from getattr access on the blk_file /run/systemd/inaccessible/blk. For complete SELinux messages. run sealert -l 66bc034b-0d73-4718-b682-591fc456b35a
Sep 01 13:00:11 localhost.localdomain systemd-cryptsetup[1808]: crypt_init() failed: Block device required
Sep 01 13:00:11 localhost.localdomain systemd[1]: Failed to start Cryptography Setup for luks-1d4e0321-ad2e-41e6-85bc-eb969eb76423.
Sep 01 13:00:15 localhost.localdomain setroubleshoot[1821]: SELinux is preventing systemd from getattr access on the blk_file /run/systemd/inaccessible/blk. For complete SELinux messages. run sealert -l 66bc034b-0d73-4718-b682-591fc456b35a
if not,please feel free to reassign,thanks.

Version-Release number of selected component (if applicable):
rpm-ostree-2016.5-1.fc25

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Colin Walters 2017-11-03 13:31:00 UTC
This should be fixed in master, we now use ConditionPathExists=/ostree.