Skip to content

daemon: If we encounter a startup error, set it as our unit status text#2933

Merged
lucab merged 1 commit into
coreos:mainfrom
cgwalters:unit-status-err
Jun 28, 2021
Merged

daemon: If we encounter a startup error, set it as our unit status text#2933
lucab merged 1 commit into
coreos:mainfrom
cgwalters:unit-status-err

Conversation

@cgwalters
Copy link
Copy Markdown
Member

This is a much smaller patch related to
#2932
which is about ensuring the client gets the actual errors instead
of generic DBus activation failure.

The obvious step then would be to have the client ask systemd
for the status text, but that's slightly messy right now and
I think I'd anyways prefer to go the socket route.

But I think this is a useful pattern; basically systemd's StatusText
facility is useful.

This is a much smaller patch related to
coreos#2932
which is about ensuring the client gets the actual errors instead
of generic DBus activation failure.

The obvious step then would be to have the client ask systemd
for the status text, but that's slightly messy right now and
I think I'd anyways prefer to go the socket route.

But I think this is a useful pattern; basically systemd's `StatusText`
facility is useful.
@lucab lucab merged commit a16729a into coreos:main Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants