Gentoo Archives: gentoo-user

From: Keith Dart <keith@×××××××××.biz>
To: gentoo-user@l.g.o
Cc: w41ter@×××××.com
Subject: Re: [gentoo-user] Re: [HEADSUP] Beware of today's update to polkit-1.98.0
Date: Sun, 10 Jun 2012 11:44:56
Message-Id: 20120610044309.75cd379d@dartworks.biz
In Reply to: [gentoo-user] Re: [HEADSUP] Beware of today's update to polkit-1.98.0 by walt
1 Re jqsvb2$3a0$1@×××××××××××.orgjqsvb2$3a0$1@×××××××××××.org, walt said:
2 > For reasons I don't know, the polkit daemon wasn't actually running.
3 > Dunno if it failed to start or somebody forgot to start it. Either
4 > way the system was broken, so I'll let the experts figure it out.
5 >
6
7
8 I had the same problem. I figured out what it was. :)
9
10 This new polkitd creates a new psuedo-user named polkitd. It sets this
11 with a home directory of /dev/null. which is usually fine. But polkitd
12 attempts to chdir to that home directory when it starts, and of course
13 fails since it's not a directory. So it bails.
14
15 My quick and dirty solution was to change it's home directory
16 to /var/empty.
17
18
19 polkitd:x:122:987:added by portage for polkit:/var/empty:/sbin/nologin
20
21 Now it will start. That's probably not the best place since it is
22 actually used by and installed by sshd, but it works if you also have
23 sshd installed. Or you can just make it.
24
25 Now, my next project is to get rid of gnome...
26
27
28
29 -- Keith
30
31
32 --
33
34 -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35 Keith Dart <keith@×××××××××.biz>
36 public key: ID: 19017044
37 <http://www.dartworks.biz/>
38 =====================================================================

Replies

Subject Author
Re: [gentoo-user] Re: [HEADSUP] Beware of today's update to polkit-1.98.0 "Stefan G. Weichinger" <lists@×××××.at>