Bug 1372161 - Couldn't start daemon: Error setting up sysroot: /ostree/repo: openat: No such file or directory
Summary: Couldn't start daemon: Error setting up sysroot: /ostree/repo: openat: No suc...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm-ostree
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-01 05:13 UTC by lnie
Modified: 2017-11-03 13:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-03 13:31:00 UTC
Type: Bug


Attachments (Terms of Use)
journalctl -b -1 (179.16 KB, text/plain)
2016-09-01 05:13 UTC, lnie
no flags Details

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.


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