Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Force Disable ConsoleKit?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Sun Apr 15, 2012 10:25 pm    Post subject: Force Disable ConsoleKit? Reply with quote

I can't seem to disable the ConsoleKit use flag. Here's my make.conf:

Code:
ACCEPT_KEYWORDS="~amd64"
ACCEPT_LICENSE="*"
ALSA_CARDS="hda-intel usb-audio"
CFLAGS="-O2 -march=native -floop-interchange -floop-strip-mine -floop-block -floop-parallelize-all -fgraphite-identity -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
LINGUAS="en"
MAKEOPTS="-j3"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="--extreme"
USE="osmesa -accessibility -acl -alsa -consolekit -dhcpcd -firefox -gnome -gnome-online-accounts -gtk3 -kde -ldap -libnotify -networkmanager -ppp -pppd -qt -qt4 -ruby -server X a52 aac bluetooth cdda cddb cdparanoia cdr cups dbus dhclient doc dvd dvdr ffmpeg gif graphite gsm gtk gtk2 gnome-keyring ipv6 jabber java joystick jpeg jpeg2k ladspa lame matroska mmx mmxext mp3 mp4 mpeg mplayer ncurses nptl nsplugin ogg opengl openmp pcmcia pdf png policykit pulseaudio python rar speex spell spice sse sse2 sse3 ssse3 sse41 ssl svg systemd theora threads tiff truetype udev unicode usb v4l vde vorbis vpx wicd x264 xmpp xv"
VIDEO_CARDS="intel"
VMWARE_GUEST="freebsd linux netware solaris windows winPre2k"

But emerge --info still has it's enabled.

I want to get rid of ConsoleKit and I want it out of my life. I am using systemd now.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Sun Apr 15, 2012 10:28 pm    Post subject: Reply with quote

You will need to change to desktop profile. See this topic (I have since reverted).
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Mon Apr 16, 2012 6:20 am    Post subject: Reply with quote

I went browsing through that thread and it seems to be about how to eliminate *Kit and u*, which isn't what I want to do. I want to maintain a modern system, and that happens to be u* and *Kit, except for ConsoleKit. Oh yeah, and systemd. So these are ingredients for the current modern GNU/Linux install...at least for the next few months (until Red Hat gets yet another brilliant idea).

But I did switch to a vanilla desktop profile...

So I've got a couple blockers and some ebuilds are complaining. First, setting USE="pam" for polkit causes ConsoleKit to be pulled in. Also, the polkit ebuild seems to be ignoring the fact that I have USE="systemd" set. For that matter, "equery uses polkit" doesn't show half the flags listed in the ebuild.

Any ideas?
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Mon Apr 16, 2012 9:09 am    Post subject: Reply with quote

wswartzendruber wrote:
Any ideas?
I suspect it might be an all or nothing situation. polkit, consolekit and pam seem quite interdependent and setting either of polkit or consolekit will pull in the other.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Mon Apr 16, 2012 9:31 am    Post subject: Reply with quote

Because 'sys-auth/polkit systemd' is masked in profiles/base/package.use.mask one should propably at least have this:

Code:

$ cat /etc/portage/profile/use.mask
-systemd
$ cat /etc/portage/package.use
sys-auth/polkit systemd


Notice that I don't use systemd myself but this is obvious if one takes a look inside polkit's ebuild.

Alternatively you can:

Code:

$ cat /etc/portage/profile/package.provided
sys-auth/consolekit-0.4.6


This will tell Portage ConsoleKit is already installed and then nothing will pull it in.

It's expected that one has to carry these sorts of hacks until systemd is integrated better into the Portage tree.
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Mon Apr 16, 2012 2:34 pm    Post subject: Reply with quote

Now that almost every major vendor has adopted ConsoleKit, it has been discontinued, but none of the other new stuff has.

As far as the whole USE masking, I appreciate that information.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum