From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3B8A213839C for ; Sun, 27 Oct 2013 18:05:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48513E0D17; Sun, 27 Oct 2013 18:05:49 +0000 (UTC) Received: from mail-bk0-f43.google.com (mail-bk0-f43.google.com [209.85.214.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 309B3E0B00 for ; Sun, 27 Oct 2013 18:05:47 +0000 (UTC) Received: by mail-bk0-f43.google.com with SMTP id mz13so1468062bkb.16 for ; Sun, 27 Oct 2013 11:05:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:content-type; bh=mBEfVChQJT9IuG73Vru0w4XOcfFWFNW/tvJKGNNtPzE=; b=Og/YN4R7KsTTBQJZq3BjM80y4LI7gQ9q9ufBDCZfnJXRN8wrLnpvFAY51ZzTmRL5XB 9Vu65vaEdfSUG4HBHz7gBBndwLhz+FBh/oL63xrZlQ+cmW1pUN8w+2ioigbxXwOttMAK 0WiqSPMlMrzc1/Tx9TlqFE99CAcd6RUYyHrk4J6Qw5iUC+ztQVF0XrZLCt/B7i3v6xaL 2CQQAvsYIvoeBRVz66XsOwauer4nfTXJgTn83Ifc9YOzDFN/vx59J/1xpk58JEZ5k5Qy w0twIyosY/yq3WP0LWkc4CbqYNXA5sLH2COIVTSbqmjNMLRrUyg/9rUf5S9vhWYVQWAO ncDA== X-Received: by 10.204.68.142 with SMTP id v14mr7546890bki.18.1382897146694; Sun, 27 Oct 2013 11:05:46 -0700 (PDT) Received: from melforce.localnet (melforce.xtsubasa.org. [2a02:578:5002:8062::2]) by mx.google.com with ESMTPSA id qg7sm9765873bkb.6.2013.10.27.11.05.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 27 Oct 2013 11:05:46 -0700 (PDT) From: Pavel Volkov To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] DBus and network namespaces Date: Sun, 27 Oct 2013 22:05:43 +0400 Message-ID: <1752276.65OiTjBk8G@melforce> User-Agent: KMail/4.11.2 (Linux/3.10.17-gentoomelf; KDE/4.11.2; x86_64; ; ) In-Reply-To: <20130916085958.39dcc9d1@digimed.co.uk> References: <2146189.4I2WfZIFx2@melforce> <20130916085958.39dcc9d1@digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: 64a1b7bb-9261-4b6b-a0b2-381cfa8f1dbd X-Archives-Hash: 489cbb4acef2975c2d0aa70e88fc1e53 On Monday 16 September 2013 08:59:58 Neil Bothwick wrote: > On Sun, 01 Sep 2013 09:50:10 +0400, Pavel Volkov wrote: > > I launch some apps from inside a network namespace in order to force > > them to communicate through my VPN interface only. > > > > But they fail to use DBus then. Some examples of what goes wrong: > > 1. Chromium cannot launch system proxy settings dialog. > > 2. Most apps from KDE SC crash right away. > > 3. No app can use ibus input methods. > > Have you tried exporting DBUS_SESION_ADDRESS within the namespace? I tried it now. The name is DBUS_SESSION_BUS_ADDRESS. Still no luck: $ ktorrent unnamed app(19646): KUniqueApplication: Cannot find the D-Bus session server: "Failed to connect to socket /tmp/dbus-CM8HloGVTk: Connection refused" unnamed app(19645): KUniqueApplication: Pipe closed unexpectedly.