Re: [gentoo-user] Re: [HEADSUP] Beware of today's update to polkit-1.98.0

2012-06-10 Thread Stefan G. Weichinger
Am 08.06.2012 17:36, schrieb Allan Gottlieb:
 Thanks to you I ran
 
 emerge -1 =polkit-0.105 =udisks-1.97.0-r1
 
 and it works.

Did that on my main workstation, here it works.

On my thinkpad it doesn't work, I don't know why ...

Gnome3 starts into a Oh no! Something has gone wrong. screen, ah, ok,
disk full ... solved that.

-

For now I only get fallback-mode, and glxinfo tells me software
renderer regardless what I set eselect mesa to (using classic).

eselect opengl list shows xorg-x11

Re-built the xorg-drivers etc.

-

I don't know, this thinkpad worked perfectly well with gnome-shell and
hw-acceleration.

At least I can use it with Gnome3 in fallback-mode for now, but it would
be nice to get full Gnome3 again (yes, I already tried switching back to
standard mode, didn't help ...)

Any idea?

Thanks, Stefan





Re: [gentoo-user] Re: [HEADSUP] Beware of today's update to polkit-1.98.0

2012-06-10 Thread Keith Dart
Re jqsvb2$3a0$1@dough.gmane.orgjqsvb2$3a0$1...@dough.gmane.org, walt said:
 For reasons I don't know, the polkit daemon wasn't actually running.
 Dunno if it failed to start or somebody forgot to start it.  Either
 way the system was broken, so I'll let the experts figure it out.
 


I had the same problem. I figured out what it was. :) 

This new polkitd creates a new psuedo-user named polkitd. It sets this
with a home directory of /dev/null. which is usually fine. But polkitd
attempts to chdir to that home directory when it starts, and of course
fails since it's not a directory. So it bails.

My quick and dirty solution was to change it's home directory
to /var/empty.


polkitd:x:122:987:added by portage for polkit:/var/empty:/sbin/nologin

Now it will start. That's probably not the best place since it is
actually used by and installed by sshd, but it works if you also have
sshd installed. Or you can just make it. 

Now, my next project is to get rid of gnome...



-- Keith


-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =



Re: [gentoo-user] Re: [HEADSUP] Beware of today's update to polkit-1.98.0

2012-06-10 Thread Stefan G. Weichinger
Am 2012-06-10 13:43, schrieb Keith Dart:

 My quick and dirty solution was to change it's home directory to 
 /var/empty.
 
 
 polkitd:x:122:987:added by portage for 
 polkit:/var/empty:/sbin/nologin
 
 Now it will start. That's probably not the best place since it is 
 actually used by and installed by sshd, but it works if you also have
 sshd installed. Or you can just make it.

Did that as well already (found that when I googled for solutions).

But this seems not to be the reason for my current problem of having
only software-rendering available.

Stefan



Re: [gentoo-user] Re: [HEADSUP] Beware of today's update to polkit-1.98.0

2012-06-10 Thread Stefan G. Weichinger
Am 2012-06-10 12:43, schrieb Stefan G. Weichinger:

 I don't know, this thinkpad worked perfectly well with gnome-shell and
 hw-acceleration.
 
 At least I can use it with Gnome3 in fallback-mode for now, but it would
 be nice to get full Gnome3 again (yes, I already tried switching back to
 standard mode, didn't help ...)

Could it be related to the kernel?

Earlier today I compiled git-sources-3.5.0-rc2 and booted once.

This is ~amd64, my former kernel is 3.4.0, gcc-4.7.0

Additional issue: even with fallback-mode, metacity does not get started.

Wanna see my .xsession-errors ?

-

http://nopaste.info/e6f34a6680.html

cleaning up those autostart-files now.





Re: [gentoo-user] Re: [HEADSUP] Beware of today's update to polkit-1.98.0

2012-06-10 Thread Stefan G. Weichinger

See these lines in Xorg.0.log:

[  1661.605] (==) Matched intel as autoconfigured driver 0
[  1661.605] (II) LoadModule: intel
[  1661.605] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[  1661.606] (EE) Failed to load
/usr/lib64/xorg/modules/drivers/intel_drv.so:
/usr/lib64/xorg/modules/drivers/intel_drv.so: undefined symbol: .L307
[  1661.606] (II) UnloadModule: intel


this is with xorg-server-1.11.4-r1, after rebuilding the x11-drivers, sure.

I also get this with xorg-server-1.12.2, btw, only a slightly different
undefined symbol: .L509 or so.

I still don't have an idea what I did wrong ...

Stefan



Re: [gentoo-user] Re: [HEADSUP] Beware of today's update to polkit-1.98.0 (SOLVED FOR ME)

2012-06-10 Thread Stefan G. Weichinger
Am 2012-06-10 19:49, schrieb Stefan G. Weichinger:

 I still don't have an idea what I did wrong ...

Solved so far.

Had to add some lines to my package.env as I run the LTO-enabled
gcc-setup suggested by Nikos lately (had to disable lto for the drivers
and mesa).

Re-compiled the graphics-drivers after editing my make.conf:

VIDEO_CARDS=intel i915 i965

This might be redundant, yes, but I will look what I have to use for
this card:

# lspci -v

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core
Processor Family Integrated Graphics Controller (rev 09) (prog-if 00
[VGA controller])
Subsystem: Lenovo Device 21dd
Flags: bus master, fast devsel, latency 0, IRQ 40
Memory at f000 (64-bit, non-prefetchable) [size=4M]
Memory at d000 (64-bit, prefetchable) [size=256M]
I/O ports at 1800 [size=64]
Expansion ROM at unassigned [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915

For now I have gnome-shell up in standard mode again, phew.

Thanks for watching ;-)

Stefan



Re: [gentoo-user] Re: [HEADSUP] Beware of today's update to polkit-1.98.0

2012-06-08 Thread Allan Gottlieb
On Fri, Jun 08 2012, walt wrote:

 On 06/08/2012 06:39 AM, walt wrote:
 I just updated one of my ~amd64 machines and something in gnome is
 badly broken now.  I'm about to update another ~amd64 machine but
 I'll do it one package at a time until I can identify the culprit.
 
 The symptom is that every application icon I click on starts in
 the background but never appears on the gnome desktop :/  Almost
 like they're being displayed on a remote X server instead of my
 local machine.  Weird.

 Turned out to be the update of polkit from 1.0.5 to 1.0.6, which
 was dragged in by the update of udisks from 1.97.0 to 1.98.0.

 For reasons I don't know, the polkit daemon wasn't actually running.
 Dunno if it failed to start or somebody forgot to start it.  Either
 way the system was broken, so I'll let the experts figure it out.

I have different systems (X / gdm) doesn't start, but also have the new
polkit.  My main system with the older polkit 105 does work.
There are bug reports on polkit, e.g. 42013.

Thanks to you I ran

   emerge -1 =polkit-0.105 =udisks-1.97.0-r1

and it works.

thanks for the headsup!

allan