Configuring network interface via liboobs when NetworkManager is running.

Forest Bond <[email protected]> Mon, 31 Aug 2009 18:13:30 -0400
Newsgroups gmane.comp.gnome.system-tools
Message-ID <20090831221330.GC21454__3751.38331805847$1251756830$gmane$org@alittletooquiet.net>
--===============1663234979==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z"
Content-Disposition: inline


--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I'm just trying to get my head around how the network device is managed bet=
ween
GST, liboobs, NetworkManager, and dhcdbd.  I'm currently working with Ubuntu
8.04, so the software versions I'm dealing with are a little bit old at this
point.

I've been looking at the source for each of these components.  It looks lik=
e NM
handles the device for DHCP configurations only.  Otherwise, GST configures=
 the
device via liboobs and then does a sleep/wake cycle with NM so that it sees=
 that
things have changed.

However, I can't see how this approach wouldn't be vulnerable to race
conditions.  If NM is currently managing the interface, and I switch it to a
static config, it seems like dhclient might change the config after the sta=
tic
config is applied but before NM is cycled (which I assume would cause dhcli=
ent
to be killed via dhcdbd).

Is this as racy as it seems it is?

Thanks,
Forest
--=20
Forest Bond
http://www.alittletooquiet.net
http://www.pytagsfs.org

--Nq2Wo0NMKNjxTN9z
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFKnEsKRO4fQQdv5AwRAu7rAJ4llKuOBPQDH8m9dluXpg0rLMTDHACgyc+y
+IGw6Fl6wHn6+9kelJqQ/ZQ=
=zuoR
-----END PGP SIGNATURE-----

--Nq2Wo0NMKNjxTN9z--

--===============1663234979==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
system-tools-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/system-tools-list

--===============1663234979==--