From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-144812-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 5439D13871B
	for <garchives@archives.gentoo.org>; Mon, 28 Jan 2013 21:27:51 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E054A21C092;
	Mon, 28 Jan 2013 21:27:41 +0000 (UTC)
Received: from mail-ia0-f174.google.com (mail-ia0-f174.google.com [209.85.210.174])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 3D15A21C002
	for <gentoo-user@lists.gentoo.org>; Mon, 28 Jan 2013 21:27:39 +0000 (UTC)
Received: by mail-ia0-f174.google.com with SMTP id o25so4931011iad.33
        for <gentoo-user@lists.gentoo.org>; Mon, 28 Jan 2013 13:27:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:x-received:in-reply-to:references:date:message-id
         :subject:from:to:content-type:content-transfer-encoding;
        bh=qrjL7NC46hU3TVDhv56TiDrI+uhr8UttKMkeD36cdKk=;
        b=Oq7Aens0kYX5C/x2ufUtrFyfoo/Nt0qPhDsV/WMcmwy6TlKubAmcyJKtPW/u7bDwKZ
         CB0JNJ+lJdaYhYX0juE4jQ23r/ZUdpVM3yHSbdvOv7GkfledK8iNgOuRqKdssqJvgXTR
         YN9mYmdW38+rRS1Ej92GG14WS84Rrn637vlNtQjvLDVcb6gEMIQ0q1YUO9wfccu63TWU
         PeU5hGe2we4kzPGos3U1yL52tIlkp7IPs92Kf6Fz2fMEQB1+oHAc1e5ifNELlZ72FN5+
         87pSlBJIKpJM1Xh8q6Z/D9wTdO/bQP5+AWShu1zLUfo75W9B5xi+JDVW23qd6UE6TfZN
         tBJA==
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
X-Received: by 10.50.53.161 with SMTP id c1mr5852259igp.95.1359408459455; Mon,
 28 Jan 2013 13:27:39 -0800 (PST)
Received: by 10.64.25.111 with HTTP; Mon, 28 Jan 2013 13:27:39 -0800 (PST)
In-Reply-To: <5106E8B0.2060909@xunil.at>
References: <CAP4tJZ+huW+9nNVLKa6nZy698-8og4J+w1ysYavW+mg16htowQ@mail.gmail.com>
	<CADPrc80w=pbfe=PULbFV-JK8v6ftEVzqS3t=proKFxFftW8yAQ@mail.gmail.com>
	<CAP4tJZ+QsYxAAct5w-1PF10de6mPp0U12Acd4xNgCyca8fg0Xg@mail.gmail.com>
	<CADPrc83g9GSJipFj4F4TEcJE8Tw7Fi1UMXeE48aGR_jo5efFgw@mail.gmail.com>
	<5106CB02.9040709@xunil.at>
	<CADPrc80Ursk+BCXOvdo-Dvzog0ciE+ZkJNz_GZRhE4+tJunYdA@mail.gmail.com>
	<5106D0B4.2040004@xunil.at>
	<CADPrc835uE3ZYj5gCx6_u+pcEiCNvbFZsWqifq-AN0oDJq8qkg@mail.gmail.com>
	<5106E8B0.2060909@xunil.at>
Date: Mon, 28 Jan 2013 15:27:39 -0600
Message-ID: <CADPrc82BdkoOThgxJRGu2eNLdgnCYNzrSrEdOV4bAyCJLjmbgg@mail.gmail.com>
Subject: Re: [gentoo-user] Systemd reaches "target Emergency Mode" every boot
From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: ac855c6a-a0a8-4160-ae2e-f8930caae0c9
X-Archives-Hash: ee41f55ff1eb8c1ebf14c9a1d6f18b01

On Mon, Jan 28, 2013 at 3:08 PM, Stefan G. Weichinger <lists@xunil.at> wrot=
e:
> Am 28.01.2013 20:34, schrieb Canek Pel=C3=A1ez Vald=C3=A9s:
>
>> My gdm USE-flags are:
>>
>> [ebuild   R   ~] gnome-base/gdm-3.6.2  USE=3D"audit fallback gnome-shell
>> introspection ipv6 ldap plymouth systemd tcpd -accessibility
>> -consolekit -debug -fprint (-selinux) -smartcard {-test} -xinerama" 0
>> kB
>>
>> The service file is the one the package provides. I have gdm.service
>> as display-manager.service:
>>
>> # ls -l /etc/systemd/system/display-manager.service
>> lrwxrwxrwx 1 root root 37 Oct 13 16:48
>> /etc/systemd/system/display-manager.service ->
>> /usr/lib64/systemd/system/gdm.service
>>
>> Nothing else, AFAICS.
>
> Thanks. Same here, afaik.
>
> I now get gdm up but I get thrown back after entering my (correct) passwo=
rd.
>
> with xdm.service I am able to start gnome.
>
> Do I have to take special care of polkit/consolekit/pam/whatever?

Yes, we had a long thread about that some months ago, around November.
Basically, there is lots of stuff that break if you mix up consolekit
and systemd (logind, actually). Maybe the situation has improved, but
in my case the simplest solution was to purge consolekit from my
systems (except in my media center, XBMC still uses its d-bus
interfaces). ConsoleKit is unmantained anyway.

I have USE=3D"-consolekit" where necessary (basically gdm, pambase and
bluez), and USE=3D"systemd" everywhere else. Please note that some
packages need to unmask the systemd flag:

# cat /etc/portage/profile/package.use.mask
media-sound/pulseaudio			-systemd
net-misc/networkmanager			-systemd
sys-auth/polkit				-systemd
sys-fs/udisks				-systemd
sys-power/upower			-systemd

I believe polkit is the most important, since it's the one controlling
what program can do what, but since I switched completely to systemd
years ago, I just use it everywhere. Things "just work"  most of the
time.

> Thanks, Stefan
>
> ps: my bigger hurdle will be the bridging-setup for running
> KVM-virtualization. This was one of the reasons to go back to openrc
> back then.

I have no experience with that, but if it works in OpenRC it should
work in systemd. Probably better, even.

Regards.
--=20
Canek Pel=C3=A1ez Vald=C3=A9s
Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n
Universidad Nacional Aut=C3=B3noma de M=C3=A9xico