Re: [PATCH v2] settings: Resolve path if hostname is a sym-link

2016-01-27 Thread Joel Holdsworth
Hi Joel, Hi diff --git a/src/settings/nm-settings.c b/src/settings/nm-settings.c index f6f8c37..fc2eb29 100644 --- a/src/settings/nm-settings.c +++ b/src/settings/nm-settings.c @@ -1532,11 +1532,11 @@ write_hostname (NMSettingsPrivate *priv, const char *hostname) char

Re: [PATCH v2] settings: Resolve path if hostname is a sym-link

2016-01-27 Thread Joel Holdsworth
Thereby, it would also be interesting how you run NetworkManager with a read-only /etc. Do you set keyfile.path configuration option? Is the hostname thing your only remaining issue, or do you have other issues NM and a read-only /etc? How does it work with handling resolv.conf? So at the

[PATCH v3] settings: Resolve path if hostname is a sym-link

2016-01-26 Thread Joel Holdsworth
If the hostname file is a symbolic link, follow it to find where the real file is located, otherwise g_file_set_contents will attempt to replace the link with a plain file. --- src/settings/nm-settings.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git

[PATCH v2] settings: Resolve path if hostname is a sym-link

2016-01-25 Thread Joel Holdsworth
If the hostname file is a symbolic link, follow it to find where the real file is located, otherwise g_file_set_contents will attempt to replace the link with a plain file. --- src/settings/nm-settings.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git

[PATCH] settings: Resolve path if hostname is a sym-link

2016-01-25 Thread Joel Holdsworth
If the hostname file is a symbolic link, resolve the link until the real file is located, otherwise g_file_set_contents will attempt to replace the link with a plain file. --- src/settings/nm-settings.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git

[PATCH 2/2] Added OpenSSL crypto backend

2015-11-18 Thread Joel Holdsworth
c @@ -0,0 +1,324 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ + +/* + * Joel Holdsworth <joel.holdswo...@vcatechnology.com> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Publi

[PATCH 1/2] crypto_gnutls: Removed dead code

2015-11-18 Thread Joel Holdsworth
--- libnm-core/crypto_gnutls.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/libnm-core/crypto_gnutls.c b/libnm-core/crypto_gnutls.c index 08047bd..3f90c77 100644 --- a/libnm-core/crypto_gnutls.c +++ b/libnm-core/crypto_gnutls.c @@ -184,18 +184,15 @@ crypto_encrypt

[PATCH] nmcli: Made nmcli build optional

2015-11-18 Thread Joel Holdsworth
--- clients/cli/Makefile.am | 4 configure.ac| 13 ++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/clients/cli/Makefile.am b/clients/cli/Makefile.am index eef99cb..a2250ad 100644 --- a/clients/cli/Makefile.am +++ b/clients/cli/Makefile.am @@ -1,3

Re: [PATCH] nmcli: Made nmcli build optional

2015-11-15 Thread Joel Holdsworth
Sure. I'll do it tomorrow. Thanks Joel On 15 Nov 2015 09:54, "Dan Williams" <d...@redhat.com> wrote: > On Fri, 2015-11-13 at 19:35 +0000, Joel Holdsworth wrote: > > Hi, here's a patch to make the nmcli build optional. In my use-case I > > need to cross-build N

[PATCH] nmcli: Made nmcli build optional

2015-11-13 Thread Joel Holdsworth
Hi, here's a patch to make the nmcli build optional. In my use-case I need to cross-build NetworkManager, and I don't want to have to cross-build GNU readline for a binary I don't need. Best Regards Joel Holdsworth >From 6e0b258f7cea23834677be4f4ea85d46d7316114 Mon Sep 17 00:00:00 2001 F