You are not logged in.

#1 2015-11-07 11:57:43

Wizzardich
Member
Registered: 2014-08-15
Posts: 6

[SOLVED] Problems with AccountsServices and Glib 2.46

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

#2 2015-11-08 08:32:59

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: [SOLVED] Problems with AccountsServices and Glib 2.46

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?


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#3 2015-11-08 10:52:45

Wizzardich
Member
Registered: 2014-08-15
Posts: 6

Re: [SOLVED] Problems with AccountsServices and Glib 2.46

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

#4 2015-11-08 11:26:13

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: [SOLVED] Problems with AccountsServices and Glib 2.46

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'

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)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#5 2015-11-08 11:28:52

Wizzardich
Member
Registered: 2014-08-15
Posts: 6

Re: [SOLVED] Problems with AccountsServices and Glib 2.46

mauritiusdadd wrote:

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 smile
pacman.conf is the default one right now.

Offline

#6 2015-11-08 11:44:19

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: [SOLVED] Problems with AccountsServices and Glib 2.46

I don't have any clue then... well, what happens if you remove that library and redo a full system update?


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#7 2015-11-08 11:58:42

Wizzardich
Member
Registered: 2014-08-15
Posts: 6

Re: [SOLVED] Problems with AccountsServices and Glib 2.46

Unfortunately, same stuff persists. polkit won't start after the bootup sequence, disabling login manager %)

Offline

#8 2015-11-08 15:42:48

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: [SOLVED] Problems with AccountsServices and Glib 2.46

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)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#9 2015-11-08 15:51:11

Wizzardich
Member
Registered: 2014-08-15
Posts: 6

Re: [SOLVED] Problems with AccountsServices and Glib 2.46

mauritiusdadd wrote:

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 smile

Last edited by Wizzardich (2015-11-08 15:52:00)

Offline

#10 2015-11-08 15:54:30

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: [SOLVED] Problems with AccountsServices and Glib 2.46

You're welcome smile
Please, remember to mark the thread as [SOLVED]: https://bbs.archlinux.org/viewtopic.php?id=130309


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

Board footer

Powered by FluxBB