You are not logged in.
Yesterday I ran an update first time in a couple of month. When I rebooted back into my system I was greeted by a black screen yelling "Failed to start Accounts Service." at me. I started digging into the system and found out, that downgrading glib2 to my previous version (2.44.1) from the new one (2.46.1) actually restored PolKit functionality back to normal and I was again able to login. Unfortunately, now half of the stuff installed works only with glib2.46 in place, and other half - only with glib2.44.
This is what happens:
Nov 07 12:35:49 VTAN systemd[1]: Starting Accounts Service...
-- Subject: Unit accounts-daemon.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit accounts-daemon.service has begun starting up.
Nov 07 12:35:49 VTAN accounts-daemon[715]: /usr/lib/accountsservice/accounts-daemon: symbol lookup error: /usr/lib/gio/modules/libgiofam.so: undefined symbol: g_local_directory_monitor_get_type
Nov 07 12:35:49 VTAN systemd[1]: accounts-daemon.service: Main process exited, code=exited, status=127/n/a
Nov 07 12:35:49 VTAN systemd[1]: Failed to start Accounts Service.
-- Subject: Unit accounts-daemon.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit accounts-daemon.service has failed.
--
-- The result is failed.
Nov 07 12:35:49 VTAN systemd[1]: accounts-daemon.service: Unit entered failed state.
Nov 07 12:35:49 VTAN systemd[1]: accounts-daemon.service: Failed with result 'exit-code'.
Stuff that requires glib 2.46 behaves like this on glib 2.44
└──╼ nm-applet
nm-applet: symbol lookup error: /usr/lib/libgtk-3.so.0: undefined symbol: g_param_spec_get_name_quark
Stuff that requires glib 2.44 behaves like this on glib 2.46
└──╼ thunderbird
thunderbird: symbol lookup error: /usr/lib/gio/modules/libgiofam.so: undefined symbol: g_local_directory_monitor_get_type
└──╼ sudo /usr/lib/polkit-1/polkitd
Successfully changed to user polkitd
/usr/lib/polkit-1/polkitd: symbol lookup error: /usr/lib/gio/modules/libgiofam.so: undefined symbol: g_local_directory_monitor_get_type
Any help will be appreciated, for now I'm just juggling this libs at the runtime %)
Last edited by Wizzardich (2015-11-08 15:56:18)
Offline
Did you do a full system update, right? What is the output of
$ checkupdates
$ pacman -Qo /usr/lib/gio/modules/libgiofam.so
? Can you also post your /var/log/pacman.log?
Offline
Yes, I did a full system update.
└──╼ checkupdates
at-spi2-core
docker
lirc
sudo
└──╼ pacman -Qo /usr/lib/gio/modules/libgiofam.so
error: No package owns /usr/lib/gio/modules/libgiofam.so
└──╼ pacman -Qo /usr/lib/gio/modules/
/usr/lib/gio/modules/ is owned by dconf 0.24.0-1
/usr/lib/gio/modules/ is owned by gconf 3.2.6-3
/usr/lib/gio/modules/ is owned by glib-networking 2.46.1-1
/usr/lib/gio/modules/ is owned by gvfs 1.26.1.1-1
Gist of pacman.log
Thanks for you help. The first thing I did was to check the owners of this lib, but it just appears that the lib file is independent? How could that be?
Offline
Maybe it is a leftover of glib2-fam?
[2015-11-07 04:06] [PACMAN] Running 'pacman -S glib2-fam' [2015-11-07 04:06] [PACMAN] Running 'pacman -S lib32-glib2-fam'
I can't find those packages neither in the official repositories nor in the AUR (but I get some hits from google and it seems that the package could indeed provides that library: rpmfind.net//linux/RPM/fedora/devel/raw … .i686.html), do you use any third party repository? Can you post your /etc/pacman.conf?
Last edited by mauritiusdadd (2015-11-08 11:27:07)
Offline
Maybe it is a leftover of glib2-fam?
pacman.log wrote:[2015-11-07 04:06] [PACMAN] Running 'pacman -S glib2-fam' [2015-11-07 04:06] [PACMAN] Running 'pacman -S lib32-glib2-fam'
Nah, it was just me messing around with pacman, trying to find that same file library
pacman.conf is the default one right now.
Offline
I don't have any clue then... well, what happens if you remove that library and redo a full system update?
Offline
Unfortunately, same stuff persists. polkit won't start after the bootup sequence, disabling login manager %)
Offline
And does it still complain about /usr/lib/gio/modules/libgiofam.so even if it was removed, or there is a different error message?
--edit:
maybe it's time for a full sanity check: can you post the output of
$ pacman -Qkk
?
Last edited by mauritiusdadd (2015-11-08 15:46:39)
Offline
And does it still complain about /usr/lib/gio/modules/libgiofam.so even if it was removed, or there is a different error message?
Whoa. I think you just solved my problem. I should've tried removing a seemingly unneeded library %)
Everything work now, using updated glib2 files. Thank you very much
Last edited by Wizzardich (2015-11-08 15:52:00)
Offline
You're welcome
Please, remember to mark the thread as [SOLVED]: https://bbs.archlinux.org/viewtopic.php?id=130309
Offline