Re: How to start NetworkManager development

On Mon, 2017-11-06 at 11:12 +0100, Thomas Haller wrote:
On Mon, 2017-11-06 at 05:24 +0900, Masashi Honma wrote:

On 2017/11/04 18:13, Thomas Haller wrote:

it's not clear why you would need that.

When you build NM from source, you also build and install nm-
helper (in libexecdir, whatever that directory is). And if you
NetworkManager, it will spawn dhclient in a way that makes use of
right nm-dhcp-helper.

Because I'm not doing "make install".


then you need to run NM with

  ./src/NetworkManager --run-from-build-dir


I think, --run-from-build-dir is not used much (anybody?).
So, while it fixes the path to nm-dhcp-helper, there might be other
bugs with it, which nobody noticed, because usually we don't run NM
that way.

So, if you want to avoid such issues, don't run NM from the build-tree,
but install it in your own --prefix.

(on Fedora/RHEL, you can also build a RPM package with
`./contrib/fedora/rpm/ -g`).


Attachment: signature.asc
Description: This is a digitally signed message part

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