Skip to content

A fix to get resolved to start in userns#4323

Merged
poettering merged 2 commits intosystemd:masterfrom
keszybz:resolved-in-userns
Oct 10, 2016
Merged

A fix to get resolved to start in userns#4323
poettering merged 2 commits intosystemd:masterfrom
keszybz:resolved-in-userns

Conversation

@keszybz
Copy link
Member

@keszybz keszybz commented Oct 9, 2016

No description provided.

Make sure an error is always printed… When systemd-resolved is started in a
user namespace without private network, it would fail on setsockopt, but the
error wouldn't be particularly informative:
"Failed to start manager: permission denied."
When running in a user namespace without private networking, resolved would
fail to start. There isn't much difference between EADDRINUSE and EPERM,
so treat them the same, except for the warning message text.
@keszybz keszybz force-pushed the resolved-in-userns branch from 5999a05 to 0f4db36 Compare October 10, 2016 01:25
@poettering poettering merged commit 7a9ee77 into systemd:master Oct 10, 2016
@keszybz keszybz deleted the resolved-in-userns branch October 10, 2016 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants