1 |
On Fri, Feb 1, 2013 at 12:37 PM, Stefan G. Weichinger <lists@×××××.at> wrote: |
2 |
> Am 2013-01-31 19:54, schrieb Canek Peláez Valdés: |
3 |
> |
4 |
>> sshd.service, ssh@.service, systemd-update-utmp-runlevel.service, and |
5 |
>> systemd-update-utmp-shutdown.service have auditd.service in their |
6 |
>> After= field; several others have plymouth services. After= is just |
7 |
>> for ordering of units, is not a requirement; systemd detects that |
8 |
>> auditd.service doesn't exists, and it starts the units that have it in |
9 |
>> ther After= field anyway. To make a unit depend on another, you need |
10 |
>> Require=. |
11 |
>> |
12 |
>> You can mask the services you don't have by creating a soft link to /dev/null: |
13 |
>> |
14 |
>> # ll /etc/systemd/system/rc-local.service |
15 |
>> lrwxrwxrwx 1 root root 9 Aug 16 13:51 |
16 |
>> /etc/systemd/system/rc-local.service -> /dev/null |
17 |
>> |
18 |
>> It cleans up the output of systemctl --full --all. |
19 |
> |
20 |
> Ok, so I don't need auditd or plymouth, right? |
21 |
|
22 |
No, you don't. |
23 |
|
24 |
>> Well, I have no idea why your gdm is not letting you log in; obviously |
25 |
>> it's related to polkit (since it started when you changed from |
26 |
>> consolekit to polkit), but nothing in your config seems to differ from |
27 |
>> mine. It is not impossible that somehow the configuration files of the |
28 |
>> gdm user got messed up when the change happened. I don't know how this |
29 |
>> could happen, but as a hail Mary you could delete /var/lib/gdm, and |
30 |
>> reemerge it so it gets a clean install. |
31 |
> |
32 |
> Tried that as well, same problems after .... :-( |
33 |
> |
34 |
>> Also, you have USE=pam for polkit, right? |
35 |
> |
36 |
> Yes. |
37 |
> |
38 |
> [I] sys-auth/polkit |
39 |
> Available versions: 0.107-r1 0.110 {examples gtk +introspection |
40 |
> kde nls pam selinux systemd} |
41 |
> Installed versions: 0.110(19:19:55 30.01.2013)(gtk introspection |
42 |
> nls pam systemd -examples -kde -selinux) |
43 |
> |
44 |
>> And could you post the |
45 |
>> output from "journalctl -b /usr/lib/polkit-1/polkitd"? |
46 |
> |
47 |
> That is empty! |
48 |
|
49 |
That's weird. *At least* it should tell you that it started and |
50 |
compiled the available rules. OK, let's try to see the problem outside |
51 |
systemd. First, stop polkit with: |
52 |
|
53 |
systemctl stop polkit.service |
54 |
|
55 |
and immediately after start it from the command line directly: |
56 |
|
57 |
/usr/lib/polkit-1/polkitd --replace |
58 |
|
59 |
the "immediately" thing is because polkit is dbus started, so it can |
60 |
be started by systemd if anything asks for its service. Then in |
61 |
another terminal stop gdm: |
62 |
|
63 |
systemctl stop gdm.service |
64 |
|
65 |
and start it from the command line: |
66 |
|
67 |
/usr/bin/gdm --no-daemon &> gdm.log |
68 |
|
69 |
Since you still have the Enable=true in the [debug] section of its |
70 |
config, it will spew quite a lot of info, hence the redirection to a |
71 |
log file. I'm more interested in polkit's output when you try to log |
72 |
in, could you send that? By default polkit doesn't log almost |
73 |
anything, and I'm pretty sure the problem is with polkit refusing gdm |
74 |
to log you (or create a console for you, or something like that). |
75 |
Having an empty log is also weird; mine says: |
76 |
|
77 |
Jan 30 01:19:20 centurion polkitd[1614]: Started polkitd version 0.110 |
78 |
Jan 30 01:19:22 centurion polkitd[1614]: Loading rules from directory |
79 |
/etc/polkit-1/rules.d |
80 |
Jan 30 01:19:22 centurion polkitd[1614]: Loading rules from directory |
81 |
/usr/share/polkit-1/rules.d |
82 |
Jan 30 01:19:22 centurion polkitd[1614]: Finished loading, compiling |
83 |
and executing 3 rules |
84 |
Jan 30 01:19:22 centurion polkitd[1614]: Acquired the name |
85 |
org.freedesktop.PolicyKit1 on the system bus |
86 |
Jan 30 01:19:30 centurion polkitd[1614]: Registered Authentication |
87 |
Agent for unix-session:1 (system bus name :1.30 [gnome-shell |
88 |
--mode=gdm], object path |
89 |
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) |
90 |
Jan 30 01:19:39 centurion polkitd[1614]: Unregistered Authentication |
91 |
Agent for unix-session:1 (system bus name :1.30, object path |
92 |
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) |
93 |
(disconnected from bus) |
94 |
Jan 30 01:19:55 centurion polkitd[1614]: Registered Authentication |
95 |
Agent for unix-session:2 (system bus name :1.58 |
96 |
[/usr/bin/gnome-shell], object path |
97 |
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) |
98 |
|
99 |
Regards. |
100 |
-- |
101 |
Canek Peláez Valdés |
102 |
Posgrado en Ciencia e Ingeniería de la Computación |
103 |
Universidad Nacional Autónoma de México |