Re: How to start NetworkManager development

On 2017/10/30 18:34, Thomas Haller wrote:> check

You don't need to rebuild the applet, unless you have specific reasons
to do so. Either don't use the applet at all (nmcli), or just use the
one provided by your installation. Older client versions are compatible
with newer server versions, so, the applet provided by your
distribution will work, unless you want to work on a server version
that is older (which would be odd to do).

NetworkManager gets D-Bus activated. So, if you just `systemctl disable
NetworkManager` in order to start the version that you built on your
own, then it might be restarted again, and conflict. You could for
example `systemctl mask NetworkManager`. See `man systemctl`.

You can install NM in a separate path, and run it from the terminal
with --debug option, so that it doesn't fork to background.

You could configure with
        --prefix=/opt/test \
        --localstatedir=/var \
        --sysconfdir=/etc \

There is also --run-from-build-dir configure option, so you can run it
from the build directory.

Thank you Thomas!

I will try.

Masashi Honma.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]