From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-144912-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 B1C6F1387A4
	for <garchives@archives.gentoo.org>; Thu, 31 Jan 2013 18:54:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 419DE21C054;
	Thu, 31 Jan 2013 18:54:40 +0000 (UTC)
Received: from mail-ia0-f170.google.com (mail-ia0-f170.google.com [209.85.210.170])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id A7DC6E0684
	for <gentoo-user@lists.gentoo.org>; Thu, 31 Jan 2013 18:54:38 +0000 (UTC)
Received: by mail-ia0-f170.google.com with SMTP id k20so4315292iak.15
        for <gentoo-user@lists.gentoo.org>; Thu, 31 Jan 2013 10:54:37 -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=SJ1SJvX8YMRkkbsJWcywT2up+MkoRnuGmaoaEOrlXRw=;
        b=uhaooLzlf1a5KN2K8vJxoEXfoygSUzMVgHfKHcEec1riW4dnQBdVHaIVuJNhfvv/l1
         3O0ydCjwQi3sXAE7YImPThSfQUrLq+c38rFbIWaHrmxbolpaLmIAJALH9DAi34lfYgGQ
         lvnru7wDv02Csz3Ixx5fcccUEbOpvZm41FKVVXpeZzso2mB8maf4XZA3T2kN6s5D79rz
         Dx9s9nHVvQDv/4c68HIn0S45GznE+2qfi3VrXvNQLKLRatP84XNHaQkifFrUELcbEP36
         4vBIggtTR6JvyirtaaBqC25e3YbsoEnDnEnZv7vLcGfQPkeXVaO4klDnzouZ580L2mQo
         IZ7g==
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.42.121.14 with SMTP id h14mr7773567icr.27.1359658477886;
 Thu, 31 Jan 2013 10:54:37 -0800 (PST)
Received: by 10.64.25.111 with HTTP; Thu, 31 Jan 2013 10:54:37 -0800 (PST)
In-Reply-To: <510AB985.7080708@xunil.at>
References: <5109521C.3030207@xunil.at>
	<20130130173615.GA10408@BIFROST.zedat.fu-berlin.de>
	<51095D00.2040100@xunil.at>
	<CADPrc835006jxpzQx6Y+jCaesFnob82zy8b3+znNpAid73Oo_g@mail.gmail.com>
	<51095EBB.3070709@xunil.at>
	<CADPrc83U5yvF7bm1No=fxCbyb4pmmATFPzCgYwhbDS8r7BMdpA@mail.gmail.com>
	<510962CF.7000107@xunil.at>
	<51096750.6010002@xunil.at>
	<CADPrc83yFM+GJ5CAO=n6jsoyi-XBXiZusBW_z+nyr98d-b98hw@mail.gmail.com>
	<51096BA0.6060809@xunil.at>
	<CADPrc83koVDNc-QNn1DzWSJiHDpMzXf9ZPFK-QvFTfKM6J2qjw@mail.gmail.com>
	<510972F6.7040306@xunil.at>
	<51098123.2010507@xunil.at>
	<CADPrc815Z0XYTXD2t-tRauT2ZT7oicRuxrZdPTTFzjPGfS6LtA@mail.gmail.com>
	<510AB530.6060401@xunil.at>
	<CADPrc82dnsiPhcgaN_2aAy2hAs+eja6Aj=S0PfvA5rvHuX4qYg@mail.gmail.com>
	<510AB985.7080708@xunil.at>
Date: Thu, 31 Jan 2013 12:54:37 -0600
Message-ID: <CADPrc81QRpY-5GrwnZ=QG9SFkFjQ2E3G581QusjJSXjqEPq-fg@mail.gmail.com>
Subject: Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
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: b7cc5610-e436-4d17-a5ea-138d3992ee21
X-Archives-Hash: 17cb51d88209f2769ed5115bfbcf6f71

On Thu, Jan 31, 2013 at 12:35 PM, Stefan G. Weichinger <lists@xunil.at> wro=
te:
> Am 31.01.2013 19:26, schrieb Canek Pel=C3=A1ez Vald=C3=A9s:
>
>> And I suppose both sgw and gdm are in the video group (the later is
>> done by the ebuild, if I'm not mistaken).
>
> Yes, they are:
>
> # getent group video
> video:x:27:root,mythtv,sgw,gdm
>
>> What is the uid and gid of
>> gdm?
>
> # getent passwd gdm
> gdm:x:104:446:added by portage for gdm:/var/lib/gdm:/sbin/nologin
>
>> Also, did GDM (the same version) worked with OpenRC, or did you
>> installed systemd and upgraded gdm at the same time?
>
> hmm. No upgrade of gdm, but a re-build as it changed USE-flags
> (-consolekit systemd).
>
>> What does "systemctl --all --full" says, which units are in red?
>
>
> # systemctl --all --full | grep erro
> auditd.service
>                                          error  inactive dead
> auditd.service
>
> plymouth-quit-wait.service
>                                          error  inactive dead
> plymouth-quit-wait.service
>
> plymouth-start.service
>                                          error  inactive dead
> plymouth-start.service
>
> syslog.service
>                                          error  inactive dead
> syslog.service
>
>
> # systemctl --all --full | grep fail
> gdm.service
>                                          loaded failed   failed    Gnome
> Display Manager
>
> I dont't have plymouth or sys-process/audit ... nothing pulled that in.

sshd.service, ssh@.service, systemd-update-utmp-runlevel.service, and
systemd-update-utmp-shutdown.service have auditd.service in their
After=3D field; several others have plymouth services. After=3D is just
for ordering of units, is not a requirement; systemd detects that
auditd.service doesn't exists, and it starts the units that have it in
ther After=3D field anyway. To make a unit depend on another, you need
Require=3D.

You can mask the services you don't have by creating a soft link to /dev/nu=
ll:

# ll /etc/systemd/system/rc-local.service
lrwxrwxrwx 1 root root 9 Aug 16 13:51
/etc/systemd/system/rc-local.service -> /dev/null

It cleans up the output of systemctl --full --all.

>> And lastly, how did you set gdm as your display manager? Do you have:
>>
>> # ls -l /etc/systemd/system/display-manager.service
>> lrwxrwxrwx 1 root root 37 Dec  6 00:40
>> /etc/systemd/system/display-manager.service ->
>> /usr/lib64/systemd/system/gdm.service
>>
>> ?
>
> Right now it links to xdm, but I had it the way you posted and tested tha=
t.
>
> When I test, I switch to a text console:
>
> systemctl stop xdm
> systemctl start gdm

Well, I have no idea why your gdm is not letting you log in; obviously
it's related to polkit (since it started when you changed from
consolekit to polkit), but nothing in your config seems to differ from
mine. It is not impossible that somehow the configuration files of the
gdm user got messed up when the change happened. I don't know how this
could happen, but as a hail Mary you could delete /var/lib/gdm, and
reemerge it so it gets a clean install.

Also, you have USE=3Dpam for polkit, right? And could you post the
output from "journalctl -b /usr/lib/polkit-1/polkitd"?

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