Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358657 - =kde-misc/polkit-kde-kcmodules-0.98_pre20120917 stable request
Summary: =kde-misc/polkit-kde-kcmodules-0.98_pre20120917 stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: All Linux
: Normal enhancement with 2 votes (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard: was: kde-misc/polkit-kde-kcmodules do...
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2011-03-13 07:17 UTC by Martux
Modified: 2012-11-16 12:57 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Live ebuild for newer version (polkit-kde-kcmodules-9999.ebuild,738 bytes, text/plain)
2012-09-17 07:25 UTC, Alexander Mezin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martux 2011-03-13 07:17:30 UTC
When running polkit-kde-kcmodules from systemsettings and giving root password, changing policies and saving them, nothing is saved.

Reproducible: Always

Steps to Reproduce:
1.open polkit-kde-kcmodules
2.adjust settings
3.save
Actual Results:  
settings are not saved

Expected Results:  
settings are saved permanently

This even doesn't work if I klog into KDE as root and try to set permissions for my user.

emerge --info
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.13-r2, 2.6.37-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-r2-x86_64-Intel-R-_Core-TM-_i7_CPU_M_620_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 13 Mar 2011 06:00:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:     4.2_p7
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.68
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=5 --load-average=5.0 --with-bdeps=y --keep-going"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/distfiles/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/  http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 asf bash-completion berkdb bluetooth branding bzip2 cairo cdda cdparanoia cdr cli consolekit cracklib css cups cxx dbus dri dts dvd dvdr emboss encode fam ffmpeg firefox flac fortran fuse gdbm gdu gif glib glibc-omitfp gpm gstreamer hddtemp iconv id3tag java jpeg jpeg2k kde kipi lame lcms libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pch pcre pdf perl pic png policykit ppds pppd python python3 qt3support qt4 quicktime readline sdl semantic-desktop session smp spell sse sse2 ssl ssse3 startup-notification svg symlink sysfs taglib tcpd theora threads tiff truetype twolame udev unicode usb v4l2 vcd vdpau vorbis wavpack x264 xcb xcomposite xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Eugene Shalygin 2011-03-18 01:22:20 UTC
And KCM module does not see manualy created local policies
Comment 2 Martux 2011-03-18 10:48:27 UTC
According to this thread: http://forum.kde.org/viewtopic.php?f=66&t=94139&sid=302fa9adc60f0a37361a68e0c0186019&p=191581#p191581
it is not a polkit / kcm problem but a distribution specific one.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2011-04-08 19:47:49 UTC
Which kde version are you using?
How about 4.6.2?
Comment 4 Martux 2011-04-09 19:16:49 UTC
(In reply to comment #3)
> Which kde version are you using?
> How about 4.6.2?

It is also not working here with 4.6.2. 
Strange: It flawlessly works with usb sticks, cdroms but totally not with my esata drive which gets recognized as "system internal disk". Mounts after giving the password manually. Does not save the password and the kcm module forgets about it right after systemsettings are closed.
Comment 5 Martux 2011-05-29 08:13:19 UTC
Still no progress with 4.6.3 and various udisks versions later... Has anyone fixed this so far?
Comment 6 Martux 2011-06-27 07:11:21 UTC
Bump.
Still not working with KDE-4.6.4
This seems to get a never ending story?
Comment 7 Martux 2011-08-20 19:24:28 UTC
(In reply to comment #6)
> Bump.
> Still not working with KDE-4.6.4
> This seems to get a never ending story?

Also still present in KDE-4.7.0.
Comment 8 Johannes Huber (RETIRED) gentoo-dev 2011-11-11 17:42:58 UTC
Can you test it in KDE 4.7.3?
Comment 9 Denis 2011-11-11 17:53:18 UTC
(In reply to comment #8)
> Can you test it in KDE 4.7.3?

I have KDE 4.7.3 installed. This bug is still present here.
Comment 10 Martux 2011-11-12 09:44:22 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > Can you test it in KDE 4.7.3?
> 
> I have KDE 4.7.3 installed. This bug is still present here.

For me too with KDE-4.7.3
Comment 11 sulfinu 2011-11-14 11:30:18 UTC
Funny thing, I only experience a problem with PolicyKit AFTER upgrading to 4.7.3. The system log file (/var/log/messages) says:

dbus[2246]: [system] Activating service name='org.kde.kcontrol.kcmkdm' (using servicehelper)               
dbus[2246]: [system] Successfully activated service 'org.kde.kcontrol.kcmkdm'

when trying to change settings in the "Login screen" section of KDE settings, but a popup says
"Unable to authenticate/execute the action:  (code 4)"
and my changes are not saved.

What's more is that I cannot log out, reboot, power off from KDE. Most options in the "Leave" part of the main menu have no effect (not even in log files).
What can I check?
Comment 12 sulfinu 2011-12-23 10:07:16 UTC
I should add that it works now, I'm running KDE 4.7.4.
Comment 13 Denis 2011-12-23 12:20:53 UTC
(In reply to comment #12)
> I should add that it works now, I'm running KDE 4.7.4.

I'm running 4.7.4 too but nothing has changed for me.
Comment 14 Michael Mair-Keimberger (iamnr3) 2012-08-07 08:29:04 UTC
I can confirm that problem. It didn't work with 4.8.* and now also not in 4.9.

Might worth to mention:
There are two kcm modules from polkit: kcm_polkitactions and kcm_polkitconfig. First i saw that none of them saved the settings i made. After testing around i found that downgrading to sys-auth/polkit-0.104-r1 kcm_polkitconfig actually saved the changes. Even after updating again to the latest version, changes still gonna be saved.
Though it only helped for the kcm_polkitconfig. kcm_polkitactions still don't work.
Comment 15 Serge Gavrilov 2012-09-09 23:10:00 UTC
Confirm the problem (kde 4.9)
Comment 16 Alexander Mezin 2012-09-17 07:25:36 UTC
Created attachment 324076 [details]
Live ebuild for newer version

This bug is fixed upstream year ago: https://projects.kde.org/projects/extragear/base/polkit-kde-kcmodules-1/repository/revisions/600bd94954c846e9694c303902d6ac7f9bc897fa 

I'm using live ebuild with revision EGIT_COMMIT="9814f614fe56758f29fa3a1839f66342178b2f94", and everything works for me (Gentoo Stable, KDE 4.8.5). Someone just need to update the ebuild in portage.
Comment 17 Johannes Huber (RETIRED) gentoo-dev 2012-09-17 13:34:42 UTC
Comment on attachment 324076 [details]
Live ebuild for newer version

There is already a live ebuild in the kde overlay.
Comment 18 Johannes Huber (RETIRED) gentoo-dev 2012-09-17 13:39:38 UTC
> This bug is fixed upstream year ago:
> https://projects.kde.org/projects/extragear/base/polkit-kde-kcmodules-1/
> repository/revisions/600bd94954c846e9694c303902d6ac7f9bc897fa 

Thanks for spotting this. New snapshot in tree available. Please test.

+  17 Sep 2012; Johannes Huber <johu@gentoo.org>
+  +polkit-kde-kcmodules-0.98_pre20120917.ebuild:
+  New snapshot fixes bug #358657.(In reply to comment #16)
Comment 19 Alexander Mezin 2012-09-17 14:48:17 UTC
Yes, for me it fixes the bug.
Comment 20 Martux 2012-09-17 19:53:06 UTC
works for me too, ~amd64 everything.
Comment 21 Johannes Huber (RETIRED) gentoo-dev 2012-09-17 20:15:40 UTC
(In reply to comment #19)
> Yes, for me it fixes the bug.

(In reply to comment #20)
> works for me too, ~amd64 everything.

Thanks for testing, will be stabilized in a month.
Comment 22 Michael Palimaka (kensington) gentoo-dev 2012-10-17 13:36:27 UTC
Archs, please test and stabilise =kde-misc/polkit-kde-kcmodules-0.98_pre20120917.

Target KEYWORDS="amd64 ~arm ppc ~ppc64 x86".

Thanks!
Comment 23 Agostino Sarubbo gentoo-dev 2012-10-18 08:19:28 UTC
amd64 stable
Comment 24 Markus Meier gentoo-dev 2012-10-21 08:54:18 UTC
x86 stable
Comment 25 Anthony Basile gentoo-dev 2012-11-16 12:57:27 UTC
stable ppc, last arch closing