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:
Hi,

it's not clear why you would need that.

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

Because I'm not doing "make install".

Hi,

then you need to run NM with

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


Hi,

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/build_clean.sh -g`).


best,
Thomas

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]