From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: NetworkManager doesn't "Connect automatically" Date: Sat, 17 Dec 2016 01:51:04 -0800 Message-ID: <87r356hojb.fsf@gmail.com> References: <87shpsuxsu.fsf@gmail.com> <1481639851.2533.4.camel@redhat.com> <87a8by97gn.fsf@gmail.com> <1481749686.3423.19.camel@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIBe5-0006lS-DO for guix-devel@gnu.org; Sat, 17 Dec 2016 04:51:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIBe4-0004if-7N for guix-devel@gnu.org; Sat, 17 Dec 2016 04:51:13 -0500 In-Reply-To: <1481749686.3423.19.camel@redhat.com> (Thomas Haller's message of "Wed, 14 Dec 2016 22:08:06 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Thomas Haller Cc: guix-devel@gnu.org, rennes@openmailbox.org, networkmanager-list@gnome.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thomas Haller writes: > On Wed, 2016-12-14 at 01:38 -0800, Chris Marusich wrote: >> Hi Thomas, >>=20 >> Thank you for the quick response! >>=20 >> Thomas Haller writes: >>=20 >> > Did you build NetworkManager yourself? Is session-tracking properly >> > enabled to use systemd-logind or consolekit. >>=20 >> Yes, I'm building it from source [1].=C2=A0=C2=A0It looks like we might = need to >> adjust the way we build it to enable session-tracking, like you've >> suggested.=C2=A0=C2=A0Am I correct in understanding that I should only n= eed to >> pass the option "--with-systemd-logind=3Dyes" to the configure script >> to >> enable session tracking via systemd-logind?=C2=A0=C2=A0Is anything else >> required? > > Hi, > > No, that should be enough. > > Possibly it was already enabled before, detected automatically? > > Thomas OK. Thank you for confirming my understanding. In GuixSD, we actually use elogind [1] instead of systemd for session tracking. This requires us to patch the NetworkManager source to use elogind instead of systemd libraries. For example, we do this sort of patching successfully when packaging polkit [2]. I tried the same thing with NetworkManager [3], but it didn't quite work out. There are a lot of references to systemd in NetworkManager, and I think I'm just not familiar enough with NetworkManager, systemd, or elogind to know for sure what needs to be patched to trick NetworkManager into using elogind instead of systemd for session management. For now, we've committed the package definition as-is, but until somebody figures out exactly how to patch it to work with elogind, users must use the previously mentioned work-around (make the connection available to all users) if they want to enable automatic connection. Thank you again for your help. Hopefully soon we'll figure out how to get NetworkManager working with elogind in GuixSD! [1] https://github.com/wingo/elogind [2] http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/polkit.scm?= id=3D51b1d5398793bf717a9d2cb6478efc7a173754fa#n53 [3] http://git.savannah.gnu.org/cgit/guix.git/commit/gnu/packages/gnome.scm= ?id=3Dfd070f35d3db24ecdfe68a18332339827bb7a259 =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlhVCogACgkQ3UCaFdgi Rp2tHRAA0MpHUviDswdNn8/eqOs9nQuiekrQlG0rEiAm1GzFqmcGNbKWkZcVyfo7 vA5toBn/hUuueFHo+tPONlq2f1aQfSIDM8Le3YH6ik6m5ub86ntajROvCJG+zyah RmkaP5m4i/ColG/hs0pDy3ZJAE5vl3njJZyjv57i2YiME1UEdOrDT/DLZTrlYrPx mNsDHJN9GbgsYd7WNMm0BP5LGSDqvfqoBt7sikOECeQusjNWIHc+y8Z6imRg5Xzn cJ9Wok8fwviVkqvjDHASFggJKogwzS0/74ndWNIoHptbLG04sQ2j8duxqG9hxW4B zlUtRWiBb9qOBNhFQDB2bik2yJQiHMBWD2R5z1fan0sifBSUlniaGjJwKfK5so49 141fKS4WePbj4nIS7kOVzhOInd/uIuX4t7Q0M5qARoXWyUm+NNubd18YsLX71VNx 5ZWI1isZ50qDvfldNX9b2QJRzt8VHQdMJ/Pe6H2tST+kVMqmwtvQZm9uPowPJknu KirgvkmpPX7nDwu+/6WH164PigfK62s4YEFFjwM4fMfaAnVIks/L5aiZb+B+4Gnq aqe66hr/qTEUolGUC9kOv0Nm6k3KG78TTAG38cvYB9cvM8HAHx1e/o1GqRYfYHnD X59Dtifn5p2O3sYvW0paIlGGp5SOUWAYizt4/jxgCYu57DhnUsY= =uF+U -----END PGP SIGNATURE----- --=-=-=--