Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Date: Thu, 31 Jan 2013 18:54:48
Message-Id: CADPrc81QRpY-5GrwnZ=QG9SFkFjQ2E3G581QusjJSXjqEPq-fg@mail.gmail.com
In Reply to: Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2 by "Stefan G. Weichinger"
1 On Thu, Jan 31, 2013 at 12:35 PM, Stefan G. Weichinger <lists@×××××.at> wrote:
2 > Am 31.01.2013 19:26, schrieb Canek Peláez Valdés:
3 >
4 >> And I suppose both sgw and gdm are in the video group (the later is
5 >> done by the ebuild, if I'm not mistaken).
6 >
7 > Yes, they are:
8 >
9 > # getent group video
10 > video:x:27:root,mythtv,sgw,gdm
11 >
12 >> What is the uid and gid of
13 >> gdm?
14 >
15 > # getent passwd gdm
16 > gdm:x:104:446:added by portage for gdm:/var/lib/gdm:/sbin/nologin
17 >
18 >> Also, did GDM (the same version) worked with OpenRC, or did you
19 >> installed systemd and upgraded gdm at the same time?
20 >
21 > hmm. No upgrade of gdm, but a re-build as it changed USE-flags
22 > (-consolekit systemd).
23 >
24 >> What does "systemctl --all --full" says, which units are in red?
25 >
26 >
27 > # systemctl --all --full | grep erro
28 > auditd.service
29 > error inactive dead
30 > auditd.service
31 >
32 > plymouth-quit-wait.service
33 > error inactive dead
34 > plymouth-quit-wait.service
35 >
36 > plymouth-start.service
37 > error inactive dead
38 > plymouth-start.service
39 >
40 > syslog.service
41 > error inactive dead
42 > syslog.service
43 >
44 >
45 > # systemctl --all --full | grep fail
46 > gdm.service
47 > loaded failed failed Gnome
48 > Display Manager
49 >
50 > I dont't have plymouth or sys-process/audit ... nothing pulled that in.
51
52 sshd.service, ssh@.service, systemd-update-utmp-runlevel.service, and
53 systemd-update-utmp-shutdown.service have auditd.service in their
54 After= field; several others have plymouth services. After= is just
55 for ordering of units, is not a requirement; systemd detects that
56 auditd.service doesn't exists, and it starts the units that have it in
57 ther After= field anyway. To make a unit depend on another, you need
58 Require=.
59
60 You can mask the services you don't have by creating a soft link to /dev/null:
61
62 # ll /etc/systemd/system/rc-local.service
63 lrwxrwxrwx 1 root root 9 Aug 16 13:51
64 /etc/systemd/system/rc-local.service -> /dev/null
65
66 It cleans up the output of systemctl --full --all.
67
68 >> And lastly, how did you set gdm as your display manager? Do you have:
69 >>
70 >> # ls -l /etc/systemd/system/display-manager.service
71 >> lrwxrwxrwx 1 root root 37 Dec 6 00:40
72 >> /etc/systemd/system/display-manager.service ->
73 >> /usr/lib64/systemd/system/gdm.service
74 >>
75 >> ?
76 >
77 > Right now it links to xdm, but I had it the way you posted and tested that.
78 >
79 > When I test, I switch to a text console:
80 >
81 > systemctl stop xdm
82 > systemctl start gdm
83
84 Well, I have no idea why your gdm is not letting you log in; obviously
85 it's related to polkit (since it started when you changed from
86 consolekit to polkit), but nothing in your config seems to differ from
87 mine. It is not impossible that somehow the configuration files of the
88 gdm user got messed up when the change happened. I don't know how this
89 could happen, but as a hail Mary you could delete /var/lib/gdm, and
90 reemerge it so it gets a clean install.
91
92 Also, you have USE=pam for polkit, right? And could you post the
93 output from "journalctl -b /usr/lib/polkit-1/polkitd"?
94
95 Regards.
96 --
97 Canek Peláez Valdés
98 Posgrado en Ciencia e Ingeniería de la Computación
99 Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2 "Stefan G. Weichinger" <lists@×××××.at>