Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd: don't make NetworkManager D-Bus activatable #230

Merged
merged 1 commit into from Oct 12, 2018

Conversation

lkundrak
Copy link
Member

If the NetworkManager daemon has been stopped manually we don't want it
to be autostarted by a client request.

[lkundrak@v3.sk: The auto-activation is probably more surprising than useful.
Services that need NetworkManager API should depend on NetworkManager service
directly.

I have no idea what purpose does the D-Bus service file serve nowadays,
but it looks rather hacky (really, activating /bin/false) and the comment
in it suggests that the autoactivating behavior was not intended anyway.
Debian has been shipping this for quite some time and no complains have been
heard.]

Copy link
Member

@thom311 thom311 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks right to me. But don't you want to delete the file data/org.freedesktop.NetworkManager.service.in as well?

@lkundrak
Copy link
Member Author

But don't you want to delete the file data/org.freedesktop.NetworkManager.service.in as well?

Oh, good catch, I indeed intended to.

I think I did a git rm data/org.freedesktop.NetworkManager.service without realizing the file is templated. Why was it even templated, there's nothing to expand there...

If the NetworkManager daemon has been stopped manually we don't want it
to be autostarted by a client request.

[lkundrak@v3.sk: The auto-activation is probably more surprising than useful.
Services that need NetworkManager API should depend on NetworkManager service
directly.

I have no idea what purpose does the D-Bus service file serve nowadays,
but it looks rather hacky (really, activating /bin/false) and the comment
in it suggests that the autoactivating behavior was not intended anyway.
Debian has been shipping this for quite some time and no complains have been
heard.]

NetworkManager#230
@lkundrak lkundrak merged commit 90f71c0 into NetworkManager:master Oct 12, 2018
@thom311 thom311 self-requested a review February 24, 2019 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants