On Fri, Feb 1, 2013 at 12:37 PM, Stefan G. Weichinger <li...@xunil.at> wrote: > Am 2013-01-31 19:54, schrieb Canek Peláez Valdés: > >> sshd.service, ssh@.service, systemd-update-utmp-runlevel.service, and >> systemd-update-utmp-shutdown.service have auditd.service in their >> After= field; several others have plymouth services. After= 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= field anyway. To make a unit depend on another, you need >> Require=. >> >> You can mask the services you don't have by creating a soft link to >> /dev/null: >> >> # 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. > > Ok, so I don't need auditd or plymouth, right?
No, you don't. >> 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. > > Tried that as well, same problems after .... :-( > >> Also, you have USE=pam for polkit, right? > > Yes. > > [I] sys-auth/polkit > Available versions: 0.107-r1 0.110 {examples gtk +introspection > kde nls pam selinux systemd} > Installed versions: 0.110(19:19:55 30.01.2013)(gtk introspection > nls pam systemd -examples -kde -selinux) > >> And could you post the >> output from "journalctl -b /usr/lib/polkit-1/polkitd"? > > That is empty! That's weird. *At least* it should tell you that it started and compiled the available rules. OK, let's try to see the problem outside systemd. First, stop polkit with: systemctl stop polkit.service and immediately after start it from the command line directly: /usr/lib/polkit-1/polkitd --replace the "immediately" thing is because polkit is dbus started, so it can be started by systemd if anything asks for its service. Then in another terminal stop gdm: systemctl stop gdm.service and start it from the command line: /usr/bin/gdm --no-daemon &> gdm.log Since you still have the Enable=true in the [debug] section of its config, it will spew quite a lot of info, hence the redirection to a log file. I'm more interested in polkit's output when you try to log in, could you send that? By default polkit doesn't log almost anything, and I'm pretty sure the problem is with polkit refusing gdm to log you (or create a console for you, or something like that). Having an empty log is also weird; mine says: Jan 30 01:19:20 centurion polkitd[1614]: Started polkitd version 0.110 Jan 30 01:19:22 centurion polkitd[1614]: Loading rules from directory /etc/polkit-1/rules.d Jan 30 01:19:22 centurion polkitd[1614]: Loading rules from directory /usr/share/polkit-1/rules.d Jan 30 01:19:22 centurion polkitd[1614]: Finished loading, compiling and executing 3 rules Jan 30 01:19:22 centurion polkitd[1614]: Acquired the name org.freedesktop.PolicyKit1 on the system bus Jan 30 01:19:30 centurion polkitd[1614]: Registered Authentication Agent for unix-session:1 (system bus name :1.30 [gnome-shell --mode=gdm], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) Jan 30 01:19:39 centurion polkitd[1614]: Unregistered Authentication Agent for unix-session:1 (system bus name :1.30, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) (disconnected from bus) Jan 30 01:19:55 centurion polkitd[1614]: Registered Authentication Agent for unix-session:2 (system bus name :1.58 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México