From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.77)
	(envelope-from <gentoo-user+bounces-140003-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1SsCZU-0005WM-0p
	for garchives@archives.gentoo.org; Fri, 20 Jul 2012 12:44:40 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 78339E0160;
	Fri, 20 Jul 2012 12:44:26 +0000 (UTC)
Received: from mail-gh0-f181.google.com (mail-gh0-f181.google.com [209.85.160.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id F1929E0605
	for <gentoo-user@lists.gentoo.org>; Fri, 20 Jul 2012 12:43:06 +0000 (UTC)
Received: by ghbz13 with SMTP id z13so4241294ghb.40
        for <gentoo-user@lists.gentoo.org>; Fri, 20 Jul 2012 05:43:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        bh=2t71myA/uZzhEk8DhFP+faITvRTexkunHqH1zbsfk68=;
        b=OikPutxUKlFhwqfVuzVYbIge9bBf/1z3ZmfXciVUm5KBObMxga0N+XmBYgFYG3WJxv
         t0wT6b01rzMIcikPLtrE8NQDhbmKi/mZIvGPxz41HYCQUii7Fh81mS3DWtaxR6+ZOM7h
         /JfzNqJiGTJd4NPSnxx/nXSLZy4WMiQaw1kJJA+e5A5J1M4M0FRYI3RxhkNsNm3hHicz
         MNJ9FXy673oAb05R6woGUvj7Kihh/PO/lnWf1G7LN1O68QyXoj19LiE2gIDTHwwQgoEL
         Nhh1Jl8pQCsHOZUN/Ru9352Qp9PnBSgwj/S2cZT0N5v1pnZOypUVckX885WmynHkIYp6
         unMQ==
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.50.47.231 with SMTP id g7mr4169488ign.62.1342788186089; Fri,
 20 Jul 2012 05:43:06 -0700 (PDT)
Received: by 10.42.115.133 with HTTP; Fri, 20 Jul 2012 05:43:06 -0700 (PDT)
In-Reply-To: <500939CE.4050104@gmail.com>
References: <50092B4E.3000307@xunil.at>
	<500939CE.4050104@gmail.com>
Date: Fri, 20 Jul 2012 14:43:06 +0200
Message-ID: <CADNdRzFrwPWeY9qruf90ppJJKC27jY4XVZNO_zGsWGoZfXr95w@mail.gmail.com>
Subject: Re: [gentoo-user] systemd and gnome3
From: Peter Alfredsen <peter.alfredsen@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
X-Archives-Salt: 91daa57e-c924-44fa-a1e8-5fae669099a3
X-Archives-Hash: f3fc7046fca5b29f62282d047b51b5e4

(I am assuming that you are using systemd-186 -- all earlier releases
I checked have bugs I ran into)

If it's right after logging in, then I would suspect some PAM
deficiency. I wrote a bit about this on G+ yesterday:
"For anyone battling the trifecta of PAM, systemd and gnome on Gentoo,
take note that once you've gotten rid of consolekit, you need to add
the line:
-session        optional        pam_systemd.so
to system-auth, system-login and system-services in /etc/pam.d
The first two are documented elsewhere but the last one ensures that
gdm-welcome registers with systemd-logind, which fixed reboot from gdm
and gnome not working for me."

And, you need to get USE=-consolekit and mask consolekit, and you need
to get pulseaudio rebuilt after installing systemd and you need to get
>=polkit-0.107 working. That last bit was a bit hairy for those who
lived through it, but now I think it should do to:
chown -R polkitd:polkitd /var/lib/polkit-1

Generally, as long as you start services the right way:
systemctl start gdm.service (for example)
and they start without error, the dependency checking should get all
the dependencies started also.

FWIW, here's the output of "find /etc/systemd/system", but those are
all symlinks to /usr/lib/systemd/system
/etc/systemd/system/
/etc/systemd/system/bluetooth.target.wants
/etc/systemd/system/bluetooth.target.wants/bluetooth.service
/etc/systemd/system/default.target
/etc/systemd/system/graphical.target.wants
/etc/systemd/system/graphical.target.wants/rtkit-daemon.service
/etc/systemd/system/graphical.target.wants/gdm.service
/etc/systemd/system/multi-user.target.wants
/etc/systemd/system/multi-user.target.wants/remote-fs.target
/etc/systemd/system/multi-user.target.wants/ntpd.service
/etc/systemd/system/multi-user.target.wants/NetworkManager.service
/etc/systemd/system/getty.target.wants
/etc/systemd/system/getty.target.wants/getty@tty1.service
/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service
/etc/systemd/system/local-fs.target.wants
/etc/systemd/system/sysinit.target.wants
/etc/systemd/system/network.target.wants
/etc/systemd/system/network.target.wants/NetworkManager-wait-online.service

/Peter