Gentoo Archives: gentoo-user

From: Francesco Turco <fturco@××××××××.fm>
To: gentoo-user@l.g.o
Subject: [gentoo-user] gnome-keyring-daemon processes running as root
Date: Sun, 15 Jun 2014 09:08:13
Message-Id: 1402823287.24720.128922517.5D9CE96C@webmail.messagingengine.com
1 Hello. I'm a GNOME 3.12 user with a couple of problems that could depend
2 on GNOME keyring running as root instead of a non-privileged user.
3
4 This is the situation before logging in with GDM:
5
6 $ ps aux | grep keyring
7 root 458 0.0 0.0 115220 2808 ? Sl 10:53 0:00
8 /usr/bin/gnome-keyring-daemon --daemonize --login
9 fturco 474 0.0 0.0 10572 2212 tty1 S+ 10:53 0:00 grep
10 --colour=auto keyring
11
12 This is the situation after logging in with GDM:
13
14 $ ps aux | grep keyring
15 root 458 0.0 0.0 115220 2808 ? Sl 10:53 0:00
16 /usr/bin/gnome-keyring-daemon --daemonize --login
17 root 495 0.0 0.0 115220 2784 ? Sl 10:53 0:00
18 /usr/bin/gnome-keyring-daemon --daemonize --login
19 root 499 0.0 0.0 115248 3672 ? Sl 10:53 0:00
20 /usr/bin/gnome-keyring-daemon --daemonize --login
21 root 534 0.0 0.1 294352 8692 ? Sl 10:53 0:00
22 /usr/bin/gnome-keyring-daemon --start --components=ssh
23 root 550 0.0 0.1 359888 8636 ? Sl 10:53 0:00
24 /usr/bin/gnome-keyring-daemon --start --components=pkcs11
25 root 558 0.0 0.1 359888 8480 ? Sl 10:53 0:00
26 /usr/bin/gnome-keyring-daemon --start --components=secrets
27 root 568 0.0 0.1 294356 8560 ? Sl 10:53 0:00
28 /usr/bin/gnome-keyring-daemon --start --components=gpg
29 fturco 753 0.0 0.0 10576 2236 pts/0 S+ 10:54 0:00 grep
30 --colour=auto keyring
31
32 As you can see I have many gnome-keyring-daemon processes running as
33 root. I also noted that on my system /usr/bin/gnome-keyring-daemon has
34 the setuid bit set:
35
36 $ ls -l /usr/bin/gnome-keyring-daemon
37 -rws--x--x 1 root root 940184 Jun 8 16:18 /usr/bin/gnome-keyring-daemon
38
39 Some directories are owned by root:
40
41 $ ls -ld /run/user/1000/keyring/
42 drwx------ 2 root fturco 100 Jun 15 10:55 /run/user/1000/keyring/
43
44 $ ls -ld /home/fturco/.local/share/keyrings
45 drwx------ 2 root fturco 4096 Jun 9 18:53
46 /home/fturco/.local/share/keyrings
47
48 Is all of this normal?
49
50 P.S. At the beginning I hinted at a couple of problem I'm having: 1) I
51 cannot access my e-mail account with Evolution; 2) I also cannot connect
52 to my VPN with Network Manager. In both cases I get the following error
53 message in journalctl:
54
55 > Error calling StartServiceByName for org.freedesktop.secrets: Timeout was reached
56
57 There are two bugs on GNOME bugzilla describing these problems, one for
58 Evolution and the other one for Network Manager:
59
60 - https://bugzilla.gnome.org/show_bug.cgi?id=728469
61 - https://bugzilla.gnome.org/show_bug.cgi?id=731372
62
63 Thank you.

Replies

Subject Author
Re: [gentoo-user] gnome-keyring-daemon processes running as root Francesco Turco <fturco@××××××××.fm>