Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Nie mam zielonego pojęcia o co może chodzić ale z niewyjaśnionych przyczyn coś się schrzaniło z consolekit. Początkowo myślałem, że to może aktualizacja mi rozjechała coś bo niby:
[UPGRADE] dbus:amd64 1.8.2-1 -> 1.8.4-1 [UPGRADE] dbus-x11:amd64 1.8.2-1 -> 1.8.4-1 [UPGRADE] libdbus-1-3:amd64 1.8.2-1 -> 1.8.4-1 .... [UPGRADE] sysv-rc:amd64 2.88dsf-53 -> 2.88dsf-53.2 [UPGRADE] sysvinit:amd64 2.88dsf-53 -> 2.88dsf-53.2 [UPGRADE] sysvinit-core:amd64 2.88dsf-53 -> 2.88dsf-53.2 [UPGRADE] sysvinit-utils:amd64 2.88dsf-53 -> 2.88dsf-53.2
ale nawet cofnięcie systemu do stanu sprzed tej aktualizacji nie poprawia stanu consolekit. Cofnąłem nawet o tydzień i błąd dalej ten sam. Nowy user, to samo. Także skończyły mi się pomysły. xD
Problem jest widoczny w logach sysloga po zalogowaniu się użytkownika do systemu, widnieją takie komunikaty:
Jun 14 18:08:10 morfikownia login[4722]: pam_unix(login:session): session opened for user morfik by LOGIN(uid=0) Jun 14 18:08:10 morfikownia dbus[4391]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper) Jun 14 18:08:10 morfikownia dbus[4391]: [system] Activated service 'org.freedesktop.ConsoleKit' failed: Failed to execute program org.freedesktop.ConsoleKit: Success ... Jun 14 18:08:19 morfikownia pulseaudio[4855]: [pulseaudio] sink.c: Default and alternate sample rates are the same. Jun 14 18:08:19 morfikownia pulseaudio[4855]: [pulseaudio] source.c: Default and alternate sample rates are the same. Jun 14 18:08:20 morfikownia dbus[4391]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper) Jun 14 18:08:20 morfikownia dbus[4391]: [system] Activated service 'org.freedesktop.ConsoleKit' failed: Failed to execute program org.freedesktop.ConsoleKit: Success Jun 14 18:08:20 morfikownia pulseaudio[4855]: [pulseaudio] module-console-kit.c: GetSessionsForUnixUser() call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ConsoleKit: Success Jun 14 18:08:20 morfikownia pulseaudio[4855]: [pulseaudio] module.c: Failed to load module "module-console-kit" (argument: ""): initialization failed. Jun 14 18:08:20 morfikownia pulseaudio[4855]: [pulseaudio] main.c: Module load failed. Jun 14 18:08:20 morfikownia pulseaudio[4855]: [pulseaudio] main.c: Failed to initialize daemon.
Dodatkowo za każdym "su" dostaje w logu:
Jun 14 18:08:50 morfikownia su[6043]: Successful su for root by morfik Jun 14 18:08:50 morfikownia su[6043]: + /dev/pts/2 morfik:root Jun 14 18:08:50 morfikownia su[6043]: pam_unix(su:session): session opened for user root by (uid=1000) Jun 14 18:08:50 morfikownia dbus[4391]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper) Jun 14 18:08:50 morfikownia dbus[4391]: [system] Activated service 'org.freedesktop.ConsoleKit' failed: Failed to execute program org.freedesktop.ConsoleKit: Success
Problem z pulseaudio sobie poprawiłem póki co przez wykomentowanie:
### If autoexit on idle is enabled we want to make sure we only quit ### when no local session needs us anymore. #.ifexists module-console-kit.so #load-module module-console-kit #.endif #.ifexists module-systemd-login.so #load-module module-systemd-login #.endif
Ale tego pozostałego draństwa nie mogę ruszyć.
Demon consolekit leży, przy próbie jego podnoszenia się dostaje:
# /usr/sbin/console-kit-daemon --debug Jun 14 18:15:36 morfikownia console-kit-daemon[12547]: DEBUG: Debugging enabled Jun 14 18:15:36 morfikownia console-kit-daemon[12547]: DEBUG: initializing console-kit-daemon 0.4.6 Jun 14 18:15:36 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for log writing Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating seat /org/freedesktop/ConsoleKit/Seat1 with 0 devices Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Current VT: tty7 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT 1:on Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT 2:on Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT 3:on Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT 4:on Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT 5:on Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT 6:on Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT 7:on Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT 8:off Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT 9:off Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT 10:off Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT 11:off Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT 12:off Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT 13:off Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT 14:off Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT 15:off Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT 16:off Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 1 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 2 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 3 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 4 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 5 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 6 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 8 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 9 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 10 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 11 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 12 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 13 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 14 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 15 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 16 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 17 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 18 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 19 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 20 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 21 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 22 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 23 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 24 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 25 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 26 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 27 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 28 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 29 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 30 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 31 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 32 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 33 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 34 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 35 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 36 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 31 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 32 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 33 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 37 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 38 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 39 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 40 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 41 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 42 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 43 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 44 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 45 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 13 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 19 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 20 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 21 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 22 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 34 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 11 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 14 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 16 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 15 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 17 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 5 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 35 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 18 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 46 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 47 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 48 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 49 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 50 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 51 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 52 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 53 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 54 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 55 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 52 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 26 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 4 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 27 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 24 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 28 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 12 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 29 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 25 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 23 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 56 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 57 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 58 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 59 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 60 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 61 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Creating thread for vt 62 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 30 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 8 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 39 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 9 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 38 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 37 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 50 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Added seat: /org/freedesktop/ConsoleKit/Seat1 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 6 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 36 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 41 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 42 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 43 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 51 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 48 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 49 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 10 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 3 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 40 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 45 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Running programs in /etc/ConsoleKit/run-seat.d for action seat_added Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 2 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 46 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 47 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 53 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 54 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 55 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 56 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 57 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 58 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 59 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 60 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 61 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 62 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 1 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: VT_WAITACTIVE for vt 44 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Running programs in /usr/lib/ConsoleKit/run-seat.d for action seat_added Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Allocated ChildData 0x23c5a70 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Waiting for child with pid 12610 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: In _child_watch for pid 12610 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Done waiting for child with pid 12610 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Freeing ChildData 0x23c5a70 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Allocated ChildData 0x23c5a70 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Waiting for child with pid 12612 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: In _child_watch for pid 12612 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Done waiting for child with pid 12612 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Freeing ChildData 0x23c5a70 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Emitting seat-added: /org/freedesktop/ConsoleKit/Seat1 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Writing log for event: 1402762537.180 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0 Jun 14 18:15:37 morfikownia dbus[4391]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper) Jun 14 18:15:37 morfikownia dbus[4391]: [system] Activated service 'org.freedesktop.PolicyKit1' failed: Failed to execute program org.freedesktop.PolicyKit1: Success Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: WARNING: polkit_authority_get: Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.PolicyKit1: Success Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Cleaning up /var/run/console Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Couldn't open directory /var/run/console: Error opening directory '/var/run/console': No such file or directory Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: NameOwnerChanged: service_name='org.freedesktop.ConsoleKit', old_service_name='' new_service_name=':1.46' Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: Removing sessions for service name: :1.47 Jun 14 18:15:37 morfikownia console-kit-daemon[12547]: DEBUG: NameOwnerChanged: service_name=':1.47', old_service_name=':1.47' new_service_name=''
No i:
$ ck-list-sessions ** (ck-list-sessions:15584): WARNING **: Failed to get list of seats: Failed to execute program org.freedesktop.ConsoleKit: Success
Wiem, że ten consolekit nie jest zbytnio już aktywnie rozwijany ale jak obejść to zjawisko, i jak odpalać teraz openboxa? xD
Offline
Wygląda na to, że Consolekit stracił praktyczną umiejętność gadania z Dbusem, a właściwie komunikowania się z PolicyKit przez Dbusa.
Ostatnio edytowany przez Jacekalex (2014-06-14 18:47:21)
Offline
http://pld.users.pl.narkive.com/8cZiCcXY/walni-ty-gdm-czy-co-oko-o
Wygląda na to, że musisz sprawę przedyskutować z Dbusem. ;)
Offline
Chyba naprawiłem, choć nie mam zielonego pojęcia jaki to może mieć wpływ na system.
Odpaliłem:
# pam-auth-update
i tam jest:
PAM profiles to enable [ ] encfs encrypted home directories [*] Unix authentication [ ] Mount volumes for user [*] GNOME Keyring Daemon - Login keyring management [ ] ConsoleKit Session Management [ ] Inheritable Capabilities Management
Odznaczyłem ConsoleKit Session Management , teraz się już nie pluje przy "su", a openboxa z .xinitrc zmieniłem na:
#exec ck-launch-session dbus-launch --sh-syntax --exit-with-session openbox-session exec openbox-session
Co takie przestawienie może popsuć? xD
Offline
Jest pierwszy odczuwalny bug. xD
Nie wiem czemu ale gdy przestawię uruchamianie openboxa na:
#exec ck-launch-session dbus-launch --sh-syntax --exit-with-session openbox-session exec openbox-session
to mi programiki nie chcą się łączyć z gnome-keyringiem, mimo, że ten się inicjuje i rejestruje zmienne jak trza:
$ env | grep -i gnome GNOME_KEYRING_CONTROL=/home/morfik/.cache/keyring-85gjJg GNOME_KEYRING_PID=9831 GNOME_DESKTOP_SESSION_ID=1 morfik:~$ env | grep -i gpg GPG_AGENT_INFO=/tmp/gpg-g0rJoh/S.gpg-agent:9904:1 SSH_AUTH_SOCK=/tmp/gpg-YDQdHJ/S.gpg-agent.ssh GPG_TTY=/dev/pts/5 morfik:~$ cat /home/morfik/.gpg-agent-info GPG_AGENT_INFO=/tmp/gpg-g0rJoh/S.gpg-agent:9904:1 SSH_AUTH_SOCK=/tmp/gpg-YDQdHJ/S.gpg-agent.ssh SSH_AGENT_PID=9904 morfik:~$ ps -eo pid,args | grep -i gnome 9831 /usr/bin/gnome-keyring-daemon --daemonize --login morfik:~$ ps -eo pid,args | grep -i gpg 9904 gpg-agent --daemon --enable-ssh-support --write-env-file /home/morfik/.gpg-agent-info
Ale jak przestawie uruchamianie openboxa przez ten ck-launch-session to nagle magicznie wszystko wraca do normy, trochę to dziwne, bo ck-list-sessions ciągle wywala:
$ ck-list-sessions ** (ck-list-sessions:18551): WARNING **: Failed to get list of seats: Failed to execute program org.freedesktop.ConsoleKit: Permission denied
Offline
Chyba poprawiłem w końcu te błędy na dobre. Pewnie by mnie to wcale nie ruszyło nawet ale są straszne problemy z eventami od acpi, bo ja teraz muszę siedzieć na laptopie sporo i co 90s około mi wyrzucało błędy od console kit, np. przy ładowaniu baterii i trochę mnie szlag z tym trafiał.
Problemem był ten polkit od matiego -- nie mogłem go zmusić do współpracy z consolekit, więc wróciłem z nim do wersji debianowej. To, z kolei, zainstalowało:
[INSTALL, DEPENDENCIES] libpam-systemd:amd64 [INSTALL, DEPENDENCIES] systemd:amd64 [DOWNGRADE] libpolkit-agent-1-0:amd64 0.105-6+systemdfree -> 0.105-6 [DOWNGRADE] libpolkit-backend-1-0:amd64 0.105-6+systemdfree -> 0.105-6 [DOWNGRADE] libpolkit-gobject-1-0:amd64 0.105-6+systemdfree -> 0.105-6 [DOWNGRADE] policykit-1:amd64 0.105-6+systemdfree -> 0.105-6
Problemy w logu z consolekit znikły ale się pojawiły problemy z systemd, w logu widoczne jako:
Jun 21 09:43:27 morfikownia dbus[3962]: [system] Activating service name='org.freedesktop.login1' (using servicehelper) Jun 21 09:43:27 morfikownia dbus[3962]: [system] Activated service 'org.freedesktop.login1' failed: Failed to execute program org.freedesktop.login1: Success
Rzut okiem na pam-auth-update
[ ] encfs encrypted home directories [*] Unix authentication [ ] Mount volumes for user [*] Register user sessions in the systemd control group hierarchy [*] GNOME Keyring Daemon - Login keyring management [ ] ConsoleKit Session Management [ ] Inheritable Capabilities Management
Po odznaczeniu Register user sessions in the systemd control group hierarchy , błąd zniknął. Ale wciąż mi wyrzucało sporo komunikatów typu:
Jun 21 09:22:54 morfikownia su[10757]: Successful su for morfik by root Jun 21 09:22:54 morfikownia su[10757]: + ??? root:morfik Jun 21 09:22:54 morfikownia su[10757]: pam_unix(su:session): session opened for user morfik by (uid=0) Jun 21 09:22:54 morfikownia su[10757]: pam_unix(su:session): session closed for user morfikt
i to zniknęło po wywaleniu consolekit z systemu i odpalaniu openboxa przez "exec openbox-session" z .xinitrc .
Póki co log się oczyścił i jadę dalej na starym init a nie na systemd, także chyba to dobry kompromis, jedyne co to mi gnomowski keyring nie działa i raczej nic z tym nie zrobię.
Offline
ja jadę też na sysv i od matiego mam polkita i udisksa i wszystko ładnie bezproblemowo to bangla jak na razie..
Ostatnio edytowany przez menel (2014-06-21 20:02:41)
Offline
Może nie jesteś świadom, że ci coś nie działa? xD Pokaż:
# pam-auth-update # cat /var/log/syslog* | grep -i consolekit # ps -eo args | grep -i console # /usr/sbin/console-kit-daemon --debug $ ck-list-sessions
Offline
pam-auth-update
[*] Unix authentication [*] GNOME Keyring Daemon - Login keyring management [*] ConsoleKit Session Management [*] Inheritable Capabilities Management
root@shodan:~# cat /var/log/syslog* | grep -i consolekit Jun 21 21:20:48 shodan console-kit-daemon[13310]: DEBUG: Creating seat /org/freedesktop/ConsoleKit/Seat1 with 0 devices Jun 21 21:20:48 shodan console-kit-daemon[13310]: DEBUG: Added seat: /org/freedesktop/ConsoleKit/Seat1 Jun 21 21:20:48 shodan console-kit-daemon[13310]: DEBUG: Running programs in /etc/ConsoleKit/run-seat.d for action seat_added Jun 21 21:20:48 shodan console-kit-daemon[13310]: DEBUG: Running programs in /usr/lib/ConsoleKit/run-seat.d for action seat_added Jun 21 21:20:48 shodan console-kit-daemon[13310]: DEBUG: Emitting seat-added: /org/freedesktop/ConsoleKit/Seat1 Jun 21 21:20:48 shodan console-kit-daemon[13310]: WARNING: Failed to acquire org.freedesktop.ConsoleKit Jun 21 21:22:03 shodan dbus[1745]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper) Jun 21 21:22:04 shodan dbus[1745]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
root@shodan:~# ps -eo args | grep -i console /usr/sbin/console-kit-daemon --no-daemon grep --color=auto -i console
daimyo@shodan:~$ ck-list-sessions Session1: unix-user = '1000' realname = 'daimyo' seat = 'Seat1' session-type = '' active = FALSE x11-display = '' x11-display-device = '' display-device = '/dev/tty1' remote-host-name = '' is-local = TRUE on-since = '2014-06-21T19:22:04.405376Z' login-session-id = '1' Session2: unix-user = '1000' realname = 'daimyo' seat = 'Seat1' session-type = '' active = TRUE x11-display = ':0' x11-display-device = '/dev/tty7' display-device = '/dev/tty1' remote-host-name = '' is-local = TRUE on-since = '2014-06-21T19:22:08.158748Z' login-session-id = '1'
no chyba mu coś krzyczy w logach consolekit rzeczywiście ale jaki to ma wpływ??, ogólnie wszystko czego używam to mi działa bez zarzutu..
Ostatnio edytowany przez menel (2014-06-21 21:33:12)
Offline
nie używaju dma, a consolekit jakie masz to z testinga? ja mam sidowe
daimyo@shodan:~$ ac policy consolekit consolekit: Zainstalowana: 0.4.6-5 Kandydująca: 0.4.6-5 Tabela wersji: *** 0.4.6-5 0 500 http://ftp.pl.debian.org/debian/ unstable/main amd64 Packages 100 /var/lib/dpkg/status 0.4.6-4 0 130 http://ftp.pl.debian.org/debian/ testing/main amd64 Packages
Ostatnio edytowany przez menel (2014-06-21 22:30:57)
Offline
U mnie to nie ma znaczenia, czegoś musi mi brakować w pakietach chyba.
Pokaż
dpkg -l | grep -i pam dpkg -l | grep -i console dpkg -l | grep -i gnome
Co ci odpala tego console-kit-daemon ? Przeleć skrypty startowe, może coś trafi się:
egrep -i console-kit-daemon /etc/init.d/*
Ostatnio edytowany przez morfik (2014-06-21 22:46:27)
Offline
daimyo@shodan:~$ dpkg -l | grep -i pam ii icedove 30.0~b1-1 amd64 mail/news client with RSS and integrated spam filter support ii libpam-cap:amd64 1:2.22-1.2 amd64 PAM module for implementing capabilities ii libpam-ck-connector:amd64 0.4.6-5 amd64 ConsoleKit PAM module ii libpam-gnome-keyring 3.12.0-2 amd64 PAM module to unlock the GNOME keyring upon login ii libpam-modules:amd64 1.1.8-3 amd64 Pluggable Authentication Modules for PAM ii libpam-modules-bin 1.1.8-3 amd64 Pluggable Authentication Modules for PAM - helper binaries ii libpam-runtime 1.1.8-3 all Runtime support for the PAM library ii libpam0g:amd64 1.1.8-3 amd64 Pluggable Authentication Modules library
daimyo@shodan:~$ dpkg -l | grep -i console ii console-setup 1.108 all console font and keymap setup program ii console-setup-linux 1.108 all Linux specific part of console-setup ii consolekit 0.4.6-5 amd64 framework for defining and tracking users, sessions and seats ii gftp 2.0.19-4 all X/GTK+ and console FTP client (metapackage) ii kbd 1.15.5-1 amd64 Linux console font and keytable utilities ii libck-connector0:amd64 0.4.6-5 amd64 ConsoleKit libraries ii libkdesu5 4:4.13.1-1 amd64 Console-mode Authentication Library for the KDE Platform ii libpam-ck-connector:amd64 0.4.6-5 amd64 ConsoleKit PAM module ii sidplay-base 1.0.9-6 amd64 Music player for tunes from C64 and C128 (console)
daimyo@shodan:~$ dpkg -l | grep -i gnome ii brasero 3.10.0-1 amd64 CD/DVD burning application for GNOME ii file-roller 3.12.2-1 amd64 archive manager for GNOME ii gconf-service 3.2.6-2 amd64 GNOME configuration database system (D-Bus service) ii gconf2 3.2.6-2 amd64 GNOME configuration database system (support tools) ii gconf2-common 3.2.6-2 all GNOME configuration database system (common files) ii gcr 3.12.2-1 amd64 GNOME crypto services (daemon and tools) ii gedit 3.12.1-1+b1 amd64 official text editor of the GNOME desktop environment ii gedit-common 3.12.1-1 all official text editor of the GNOME desktop environment (support files) ii gnome-icon-theme 3.12.0-1 all GNOME Desktop icon theme ii gnome-icon-theme-symbolic 3.12.0-1 all GNOME desktop icon theme (symbolic icons) ii gnome-js-common 0.1.2-1 all Common modules for GNOME JavaScript interpreters ii gnome-keyring 3.12.0-2 amd64 GNOME keyring services (daemon and tools) ii gnome-mplayer 1.0.9-1 amd64 GTK+ interface for MPlayer ii gnome-themes-standard:amd64 3.12.0-1 amd64 Standard GNOME themes ii gnome-themes-standard-data 3.12.0-1 all Data files for GNOME standard themes ii gparted 0.19.0-1 amd64 GNOME partition editor ii libbrasero-media3-1 3.10.0-1 amd64 CD/DVD burning library for GNOME - runtime ii libgail-3-0:amd64 3.12.2-1+b1 amd64 GNOME Accessibility Implementation Library -- shared libraries ii libgconf-2-4:amd64 3.2.6-2 amd64 GNOME configuration database system (shared libraries) ii libgconf2-4:amd64 3.2.6-2 amd64 GNOME configuration database system (dummy package) ii libgmlib1:amd64 1.0.9-1 amd64 gnome-mplayer library (shared library) ii libgmtk1:amd64 1.0.9-1 amd64 gnome-mplayer toolkit (shared library) ii libgmtk1-data 1.0.9-1 all gnome-mplayer toolkit (common files) ii libgnome-keyring-common 3.8.0-2 all GNOME keyring services library - data files ii libgnome-keyring0:amd64 3.8.0-2 amd64 GNOME keyring services library ii libpam-gnome-keyring 3.12.0-2 amd64 PAM module to unlock the GNOME keyring upon login ii libsoup-gnome2.4-1:amd64 2.46.0-2 amd64 HTTP library implementation in C -- GNOME support library ii libxml2:amd64 2.9.1+dfsg1-3 amd64 GNOME XML library ii libxml2-dev:amd64 2.9.1+dfsg1-3 amd64 Development files for the GNOME XML library ii openoffice-gnome-integration 4.1.0-18 amd64 Gnome integration module for Apache OpenOffice 4.1.0 ii python-libxml2 2.9.1+dfsg1-3 amd64 Python bindings for the GNOME XML library
Ostatnio edytowany przez menel (2014-06-21 23:07:23)
Offline
Nie wiem. xD Skończyły mi się pomysły. Może to coś lokalnego, może przydałoby się sprawdzić na czystej maszynie.
EDIT:
Mógłbyś sprawdzić spod tty przy zgaszonych X-ach, czy z roota poniższe polecenie ci startuje bez żadnych błedów?
# /usr/sbin/console-kit-daemon --no-daemon
Ostatnio edytowany przez morfik (2014-06-21 23:18:12)
Offline
spod tty z wyłączonymi iksami
(process:2250): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed missing action console-kit-daemon[2187]: WARNING: Failed to acquire org.freedesktop.ConsoleKit console-kit-daemon[2187]: WARNING: Could not acquire name; bailing out
Offline
Czyli nie wiem wtf xD Postawie sobie jeszcze nowy system i zobaczę czy tam się będzie rzucać, może znowu coś mi gdzieś namieszało w uprawnieniach... Wszystko zdaje się działać poprawnie, nawet sesje są wypisywane, ale ten demon mi coś nie chce startować z automatu, no i wyrzuca tego błęda.
Ostatnio edytowany przez morfik (2014-06-21 23:41:10)
Offline
Postawiłem nowy testowy system -- działa. Porównałem pakiety z tym na starym systemie -- takie same. Konfiguracja (pliki), którą zmieniałem, wgrana na testowy system -- działa... Zaorałem system, działa... WTF? xD
Jun 22 16:09:53 morfikownia login[4560]: pam_unix(login:session): session opened for user morfik by LOGIN(uid=0) Jun 22 16:09:53 morfikownia dbus[4103]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper) Jun 22 16:09:53 morfikownia dbus[4103]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper) Jun 22 16:09:53 morfikownia polkitd[4637]: started daemon version 0.105 using authority implementation `local' version `0.105' Jun 22 16:09:53 morfikownia dbus[4103]: [system] Successfully activated service 'org.freedesktop.PolicyKit1' Jun 22 16:09:53 morfikownia dbus[4103]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
Offline
Time (s) | Query |
---|---|
0.00013 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00098 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.147.71.175' WHERE u.id=1 |
0.00063 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.147.71.175', 1732867546) |
0.00042 | SELECT * FROM punbb_online WHERE logged<1732867246 |
0.00045 | SELECT topic_id FROM punbb_posts WHERE id=270170 |
0.00137 | SELECT id FROM punbb_posts WHERE topic_id=25978 ORDER BY posted |
0.00056 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=25978 AND t.moved_to IS NULL |
0.00014 | SELECT search_for, replace_with FROM punbb_censoring |
0.00167 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=25978 ORDER BY p.id LIMIT 0,25 |
0.00076 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=25978 |
Total query time: 0.00715 s |