You are not logged in.

#1 2011-05-01 14:57:34

twilightning
Member
Registered: 2007-11-04
Posts: 49

[DOWNGRADED] Networkmanager/polkit/udisks update messed up policies

I made an update today with the main server and I have the following issues:

1) I cant mount removable devices as a user
2) Cant connect to any network and network settings were lost (Networkmanager)

I am using KDE 4.6.2

This is my .xinitrc

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

# exec gnome-session
# exec startkde
exec ck-launch-session wm
# exec startxfce4

my rc.conf:

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Athens"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(powernow-k7 ath5k fuse vhba acerhk vboxdrv vboxnetadp)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="Pollux"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (wlan0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
wlan0="wlan0"
INTERFACES=(wlan0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.1.1"
ROUTES=(!gateway)
 
# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
#
 This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng @crond @acpid dbus @cpufreq !wicd @networkmanager !samba @bluetooth !avahi-daemon @ufw @cdemud @alsa)

My /etc/hosts file:

#
# /etc/hosts: static lookup table for host names
#

#<ip-address>   <hostname.domain.org>   <hostname>
127.0.0.1       localhost.localdomain   localhost       Pollux

# End of file

Last edited by twilightning (2011-05-05 11:38:14)

Offline

#2 2011-05-01 15:14:27

twilightning
Member
Registered: 2007-11-04
Posts: 49

Re: [DOWNGRADED] Networkmanager/polkit/udisks update messed up policies

Offline

#3 2011-05-01 15:52:12

OdinEidolon
Member
From: Belluno - Italy
Registered: 2011-01-31
Posts: 489

Re: [DOWNGRADED] Networkmanager/polkit/udisks update messed up policies

That does not explain anything. I can not connect either with wicd or networkmanager now, reverting networkmanager package(s) does nothing.
Networkmanager states "Invalid state". It just does nothing when I click on a connection, or asks for the password and just does nothing.
Wicd cannot connect, it says the password is wrong. I dunno, how can they get out such untested packages? Many have this problem or problems connected with polkit/networkmanager/kdeplasma-applets-networkmanager.
[This is probably a polkit bug looking at the fact that wicd does not work too.]


Hardware: 2016 Dell XPS15 - matte FullHD - i5-6300HQ - 32GB DDR4 - Nvidia GTX960M - Samsung 840EVO 250GB SSD - 56Wh
Software: Plasma 5 - rEFInd - linux-ck - preload - prelink - verynice - psd - bumblebee

Offline

#4 2011-05-01 16:01:28

twilightning
Member
Registered: 2007-11-04
Posts: 49

Re: [DOWNGRADED] Networkmanager/polkit/udisks update messed up policies

OdinEidolon wrote:

That does not explain anything. I can not connect either with wicd or networkmanager now, reverting networkmanager package(s) does nothing.
Networkmanager states "Invalid state". It just does nothing when I click on a connection, or asks for the password and just does nothing.
Wicd cannot connect, it says the password is wrong. I dunno, how can they get out such untested packages? Many have this problem or problems connected with polkit/networkmanager/kdeplasma-applets-networkmanager.
[This is probably a polkit bug looking at the fact that wicd does not work too.]

I tried to downgrade polkit with no positive results and reinstalled wicd to make it worked, plus purging the settings out of it. I even had to mount my external USB hard drive with fstab to work-around. I think this bug is much related to the last updates.

Offline

#5 2011-05-01 16:14:12

OdinEidolon
Member
From: Belluno - Italy
Registered: 2011-01-31
Posts: 489

Re: [DOWNGRADED] Networkmanager/polkit/udisks update messed up policies

twilightning wrote:
OdinEidolon wrote:

That does not explain anything. I can not connect either with wicd or networkmanager now, reverting networkmanager package(s) does nothing.
Networkmanager states "Invalid state". It just does nothing when I click on a connection, or asks for the password and just does nothing.
Wicd cannot connect, it says the password is wrong. I dunno, how can they get out such untested packages? Many have this problem or problems connected with polkit/networkmanager/kdeplasma-applets-networkmanager.
[This is probably a polkit bug looking at the fact that wicd does not work too.]

I tried to downgrade polkit with no positive results and reinstalled wicd to make it worked, plus purging the settings out of it. I even had to mount my external USB hard drive with fstab to work-around. I think this bug is much related to the last updates.

Latest updates of what?
I reinstalled wicd with no result. I reinstalled kdeplasma-applets-networkmanager, it did not change anything. I reverted it, it did not change anything. I did the same with networkmanager with the same poor results. I don't know what to do!


Hardware: 2016 Dell XPS15 - matte FullHD - i5-6300HQ - 32GB DDR4 - Nvidia GTX960M - Samsung 840EVO 250GB SSD - 56Wh
Software: Plasma 5 - rEFInd - linux-ck - preload - prelink - verynice - psd - bumblebee

Offline

#6 2011-05-01 16:17:42

twilightning
Member
Registered: 2007-11-04
Posts: 49

Re: [DOWNGRADED] Networkmanager/polkit/udisks update messed up policies

cat /var/log/pacman.log:

[2011-05-01 15:26] Running 'pacman -Sy'
[2011-05-01 15:26] synchronizing package lists
[2011-05-01 15:26] starting full system upgrade
[2011-05-01 15:27] Running 'pacman -S -u'
[2011-05-01 15:27] starting full system upgrade
[2011-05-01 15:29] upgraded glib2 (2.26.1-1 -> 2.28.6-1)
[2011-05-01 15:29] upgraded atk (1.32.0-1 -> 2.0.0-1)
[2011-05-01 15:29] upgraded avahi (0.6.30-1 -> 0.6.30-2)
[2011-05-01 15:29] upgraded libnice (0.0.13-3 -> 0.1.0-1)
[2011-05-01 15:29] upgraded gobject-introspection (0.9.12-1 -> 0.10.8-1)
[2011-05-01 15:29] installed pygobject-devel (2.28.4-1)
[2011-05-01 15:29] upgraded pygobject (2.26.0-2 -> 2.28.4-1)
[2011-05-01 15:29] upgraded farsight2 (0.0.22-1 -> 0.0.26-1)
[2011-05-01 15:29] upgraded polkit (0.99-1 -> 0.101-2)
[2011-05-01 15:29] upgraded gdk-pixbuf2 (2.22.1-2 -> 2.23.3-1)
[2011-05-01 15:29] installed gtk-update-icon-cache (2.24.4-1)
[2011-05-01 15:30] installed gtk3 (3.0.9-1)
[2011-05-01 15:30] upgraded gconf (2.32.0-1 -> 2.32.3-1)
[2011-05-01 15:30] upgraded gtk2 (2.22.1-1 -> 2.24.4-1)
[2011-05-01 15:30] upgraded librsvg (2.32.1-2 -> 2.34.0-1)
[2011-05-01 15:30] upgraded pygtk (2.22.0-3 -> 2.24.0-1)
[2011-05-01 15:30] upgraded gimp (2.6.11-3 -> 2.6.11-5)
[2011-05-01 15:30] upgraded networkmanager (0.8.3-0.20110113 -> 0.8.998-2)
[2011-05-01 15:30] upgraded kdeplasma-applets-networkmanagement (git20110418-1 -> git20110418-2)
[2011-05-01 15:30] upgraded libcanberra (0.26-3 -> 0.26-5)
[2011-05-01 15:30] upgraded libgnome-keyring (2.32.0-1 -> 3.0.1-1)
[2011-05-01 15:30] upgraded libgtop (2.28.2-1 -> 2.28.3-1)
[2011-05-01 15:30] upgraded libnotify (0.7.1-1.1 -> 0.7.2-1)
[2011-05-01 15:30] upgraded libotr (3.2.0-1 -> 3.2.0-2)
[2011-05-01 15:30] upgraded libwnck (2.30.6-1 -> 2.30.6-2)
[2011-05-01 15:31] upgraded libxklavier (5.0-1 -> 5.1-1)
[2011-05-01 15:31] upgraded orc (0.4.13-1 -> 0.4.14-1)
[2011-05-01 15:31] upgraded telepathy-glib (0.12.7-1 -> 0.14.5-1)
[2011-05-01 15:31] upgraded telepathy-farsight (0.0.15-2 -> 0.0.17-1)
[2011-05-01 15:31] upgraded telepathy-qt4 (0.4.2-1 -> 0.5.15-1)
[2011-05-01 15:31] upgraded udisks (1.0.2-2 -> 1.0.3-1)
[2011-05-01 15:31] upgraded upower (0.9.8-2 -> 0.9.9-1)
[2011-05-01 15:31] upgraded zip (3.0-1.1 -> 3.0-2)

These updates...

Offline

#7 2011-05-01 16:20:24

Aphanic
Member
From: Verín or Madrid (Spain)
Registered: 2008-12-31
Posts: 27

Re: [DOWNGRADED] Networkmanager/polkit/udisks update messed up policies

I'd suggest you check if either polkit-gnome-authentication-agent-1 or polkit-kde-authentication-agent-1 is running.

In Gnome 2 even though there's an autostart entry I have another one with a delay of 10 secs before starting to make sure it is running.

Last edited by Aphanic (2011-05-01 16:28:39)

Offline

#8 2011-05-01 16:22:52

twilightning
Member
Registered: 2007-11-04
Posts: 49

Re: [DOWNGRADED] Networkmanager/polkit/udisks update messed up policies

How do I run these agents? Can you provide me an example of an autostart file? (I know where to place it)

Thanks for the input Aphanic.

Offline

#9 2011-05-01 16:38:19

Aphanic
Member
From: Verín or Madrid (Spain)
Registered: 2008-12-31
Posts: 27

Re: [DOWNGRADED] Networkmanager/polkit/udisks update messed up policies

Sure, those are provided by polkit-gnome or polkit-kde and the agents reside in /usr/lib/polkit-gnome or /usr/lib/kde4/libexec respectively.

Autostart files are also provided by these packages, in /etc/xdg/autostart the Gnome one and in /usr/share/autostart the KDE one, but you may put yours in your home directory I think (in Gnome the dir would be ~/.config/autostart).

I have 2 files for the delayed execution, polkit (executable one) and polkit.desktop (the autostart file); here are the contents:

#!/bin/bash
sleep 10
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
#!/usr/bin/env xdg-open

[Desktop Entry]
Type=Application
Exec=polkit
Hidden=false
X-GNOME-Autostart-enabled=true
Name=Delayed PolicyKit Authentication Agent
Comment=Delayed execution of the authentication agent ensuring it starts.

It can also be launched manually or maybe you can edit the current autostart file to look exec "sleep 10 && polkit-XXX-authentication-agent-1", but I have not tried that.

Hope that helps.

Offline

#10 2011-05-01 16:45:53

twilightning
Member
Registered: 2007-11-04
Posts: 49

Re: [DOWNGRADED] Networkmanager/polkit/udisks update messed up policies

/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1 
unnamed app(13835): KUniqueApplication: Cannot find the D-Bus session server:  "/usr/bin/dbus-launch terminated abnormally with the following error: No protocol specified
Autolaunch error: X11 initialization failed.
" 

unnamed app(13831): KUniqueApplication: Pipe closed unexpectedly.

EDIT: Had to run it as user:

PolicyKitKDE is already running!

Last edited by twilightning (2011-05-01 16:52:15)

Offline

#11 2011-05-01 16:57:10

Aphanic
Member
From: Verín or Madrid (Spain)
Registered: 2008-12-31
Posts: 27

Re: [DOWNGRADED] Networkmanager/polkit/udisks update messed up policies

I'm sorry, I don't know then, both polkit and polkit-gnome were updated at the same time with version 0.101 but polkit-kde is 0.99 (no newer version upstream).

Is there any KDE user experiencing the same as you after the polkit 0.101 update?

Offline

#12 2011-05-01 17:09:08

twilightning
Member
Registered: 2007-11-04
Posts: 49

Re: [DOWNGRADED] Networkmanager/polkit/udisks update messed up policies

Aphanic wrote:

polkit-kde is 0.99 (no newer version upstream)

It could be this generating the problem.

Offline

#13 2011-05-01 22:07:04

twilight0
Member
From: Greece
Registered: 2011-05-01
Posts: 227
Website

Re: [DOWNGRADED] Networkmanager/polkit/udisks update messed up policies

I would probably wait for an update to come.


Proud Arch Linux user since 2007.

Offline

#14 2011-05-02 09:53:28

divansantana
Member
Registered: 2011-01-21
Posts: 117

Re: [DOWNGRADED] Networkmanager/polkit/udisks update messed up policies

Same issue here.

Offline

#15 2011-05-03 00:04:37

twilight0
Member
From: Greece
Registered: 2011-05-01
Posts: 227
Website

Re: [DOWNGRADED] Networkmanager/polkit/udisks update messed up policies

For the time being I downgraded:

[2011-05-03 02:40] Running 'pacman -U http://arm.konnichi.com/extra/os/i686/networkmanager-0.8.3-0.20110113-i686.pkg.tar.xz'
[2011-05-03 02:41] Running 'pacman -U http://arm.konnichi.com/extra/os/i686/networkmanager-0.8.3-0.20110113-i686.pkg.tar.xz'
[2011-05-03 02:42] Running 'pacman -U http://arm.konnichi.com/extra/os/i686/networkmanager-0.8.3-0.20110113-i686.pkg.tar.xz'
[2011-05-03 02:43] Running 'pacman -U http://arm.konnichi.com/extra/os/i686/networkmanager-0.8.3-0.20110113-i686.pkg.tar.xz'
[2011-05-03 02:48] Running 'pacman -U http://arm.konnichi.com/2011/01/30/extra/os/i686/networkmanager-0.8.3-0.20110113-i686.pkg.tar.xz'
[2011-05-03 02:49] warning: directory permissions differ on var/run/NetworkManager/
filesystem: 755  package: 700
[2011-05-03 02:49] upgraded networkmanager (0.8.998-3 -> 0.8.3-0.20110113)
[2011-05-03 02:52] Running 'pacman -U http://arm.konnichi.com/2011/04/19/extra/os/i686/kdeplasma-applets-networkmanagement-git20110418-1-i686.pkg.tar.xz'
[2011-05-03 02:53] upgraded kdeplasma-applets-networkmanagement (git20110502-1 -> git20110418-1)
[2011-05-03 02:53] Running 'pacman -U http://arm.konnichi.com/2011/04/19/extra/os/i686/polkit-0.99-1-i686.pkg.tar.xz'
[2011-05-03 02:53] upgraded polkit (0.101-2 -> 0.99-1)
[2011-05-03 02:54] Running 'pacman -U http://arm.konnichi.com/2011/04/19/extra/os/i686/polkit-qt-0.99.0-1-i686.pkg.tar.xz'
[2011-05-03 02:54] Running 'pacman -U http://arm.konnichi.com/2011/04/19/extra/os/i686/polkit-kde-0.99.0-1-i686.pkg.tar.xz'
[2011-05-03 02:55] Running 'pacman -U http://arm.konnichi.com/2011/04/19/extra/os/i686/udisks-1.0.2-2-i686.pkg.tar.xz'
[2011-05-03 02:55] upgraded udisks (1.0.3-1 -> 1.0.2-2)

Everything worked as before including the mounting of the usb drives.


Proud Arch Linux user since 2007.

Offline

Board footer

Powered by FluxBB