Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

stage1: fix unit file detection #1873

Merged
merged 1 commit into from Dec 15, 2015

Conversation

iaguis
Copy link
Member

@iaguis iaguis commented Dec 15, 2015

libsystemd.so is not part of some default installations. For example,
Fedora includes that file as a part of systemd-devel.

Use libsystemd.so.0 and treat failures to open it as errors instead of
assuming we're not running systemd. Use util.IsRunningSystemd() to check
if we're actually running systemd.

Fixes #1867

libsystemd.so is not part of some default installations. For example,
Fedora includes that file as a part of systemd-devel.

Use libsystemd.so.0 and treat failures to open it as errors instead of
assuming we're not running systemd. Use util.IsRunningSystemd() to check
if we're actually running systemd.
@alban
Copy link
Member

alban commented Dec 15, 2015

LGTM

alban added a commit that referenced this pull request Dec 15, 2015
@alban alban merged commit 0cdca6d into rkt:master Dec 15, 2015
@jonboulle
Copy link
Contributor

@jonboulle
Copy link
Contributor

I propose replacing this with the latest cut of coreos/go-systemd#87

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants