View previous topic :: View next topic |
Author |
Message |
Shamus397 Apprentice
Joined: 03 Apr 2005 Posts: 218 Location: Ur-th
|
Posted: Thu Oct 30, 2014 5:42 pm Post subject: |
|
|
Well it seems that the latest KDE (4.14.2) wants to pull in PolicyKit and ConsoleKit via kdm (which pulls in kdepasswd, which pulls in accountsservice which pulls in policykit & etc). Removing kdepasswd from the kdm ebuild allows KDE to build sans *kit, and so far it seems the only thing missing is the ability to apply changes to the "Login Screen" settings in systemsettings (which is expected).
Looking into a workaround for kdepasswd ATM; I can't believe that the only way to do this is through *kit.
EDIT: It looks like there is no hard dependency on accountsservice by kdepasswd, it builds and installs just fine without it. And looking at the code of kdepasswd, I can see that it's pretty much just calling the system's 'passwd' in a PTY, so the dependency on accountsservice makes absolutely no sense to me. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Sun Nov 02, 2014 12:08 pm Post subject: |
|
|
Shamus397 wrote: | ..kdm which pulls in kdepasswd, which pulls in accountsservice which pulls in policykit etc. Removing kdepasswd from the kdm ebuild allows KDE to build sans *kit, and so far it seems the only thing missing is the ability to apply changes to the "Login Screen" settings in systemsettings (which is expected).
Looking into a workaround for kdepasswd ATM; I can't believe that the only way to do this is through *kit. :P
EDIT: It looks like there is no hard dependency on accountsservice by kdepasswd, it builds and installs just fine without it. And looking at the code of kdepasswd, I can see that it's pretty much just calling the system's 'passwd' in a PTY, so the dependency on accountsservice makes absolutely no sense to me. :P |
Nice work Shamus :-) So all we need to do is remove the dud dependency?
Bug please :) |
|
Back to top |
|
|
Shamus397 Apprentice
Joined: 03 Apr 2005 Posts: 218 Location: Ur-th
|
Posted: Mon Nov 03, 2014 3:41 pm Post subject: |
|
|
So, looking at the configuration module, it seems that it uses it there. However, it worked before without that requirement so it seems to me that it should be possible to fix it so that it works without it. Stupid dependency if you ask me. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Mon Nov 03, 2014 5:23 pm Post subject: |
|
|
Shamus397 wrote: | So, looking at the configuration module, it seems that it uses it there. However, it worked before without that requirement so it seems to me that it should be possible to fix it so that it works without it. Stupid dependency if you ask me. :P |
Yeah, stupid/dud if it justs calls the system's 'passwd' in a PTY.
Might be an indication of where they're going, but I don't see the point; it's hardly like actions which require privilege are the norm, including configuration of kdepasswd itself, which I guess might be as-user, but that shouldn't be triggerable any other way but the DE gui. I don't see the point in opening it up to bus-activation, whatsoever; it just sounds like another attack-vector waiting to happen.
Anyway, definitely one to rip out, and patch up after if we feel like it. ;) |
|
Back to top |
|
|
Gatsby Tux's lil' helper
Joined: 18 Jan 2010 Posts: 121 Location: 127.0.0.1
|
Posted: Mon Dec 22, 2014 2:43 pm Post subject: |
|
|
As a workaround I use kde-base/kdepasswd-4.13.3 which is so far the last version that does not depend on accountsservice and thus pulls no *kit into kde.
Code: | /etc/portage/package.mask/kde/kdepasswd
<kde-base/kdepasswd-4.13.3
>kde-base/kdepasswd-4.13.3
|
Works fine with a *kit-less KDE- 4.14.3. _________________ "Its your Gentoo, your way. When it breaks, you can keep all the pieces."
-- NeddySeagoon@forums.gentoo.org |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3522
|
Posted: Sun Jan 11, 2015 1:52 pm Post subject: |
|
|
Userspace mounting options ??
I've finally been purging my experimental system of *kit, etc. Yesterday I got rid of all of the emul-x86 libs (except for qtlibs) and am thinking of propagating this to other systems in the house. It's down to mounting USB (and other) drives, and W.A.F. Right now on my wife's system, thunar does the job for her. Obviously that won't fly without *kit. I've also build with USE="-dbus", then added it back where absolutely necessary. So on this system thunar not only doesn't automount, it's not managing desktop icons. My wife never really used them anyway.
So I need a mounting tool, basically for someone who doesn't really know what mounting is or why it's necessary. I might be able to work up some instructions for pmount-gui, but I'm mildly annoyed that it needs two different invocations, one way to mount, another way to umount. IMHO I'd rather see removables with state-distinct icons, and click it to flip its status.
In my search the other day, in addition to pmount-gui I found another mounting tool that sits in the systray, and might be what I'm looking for. But now I can't find it, and I don't remember the name.
Again, looking for hints, experience, etc. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Sun Jan 11, 2015 4:59 pm Post subject: |
|
|
depontius wrote: | Yesterday I got rid of all of the emul-x86 libs (except for qtlibs) and am thinking of propagating this to other systems in the house.
..
So I need a mounting tool, basically for someone who doesn't really know what mounting is or why it's necessary. I might be able to work up some instructions for pmount-gui, but I'm mildly annoyed that it needs two different invocations, one way to mount, another way to umount. IMHO I'd rather see removables with state-distinct icons, and click it to flip its status.
In my search the other day, in addition to pmount-gui I found another mounting tool that sits in the systray, and might be what I'm looking for. But now I can't find it, and I don't remember the name. |
You mentioned you're using Qt, so you might want to look at creaker's tool for that.
Not sure if that's the one you meant (seems a bit unlikely) but he's definitely the guy to talk with, ime.
There's also soka's setup (last post) for Mate, though that's not specifically about mounting, rather than the whole desktop afaict.
HTH,
steveL |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3522
|
Posted: Sun Jan 11, 2015 5:16 pm Post subject: |
|
|
steveL wrote: |
You mentioned you're using Qt, so you might want to look at creaker's tool for that.
Not sure if that's the one you meant (seems a bit unlikely) but he's definitely the guy to talk with, ime.
There's also soka's setup (last post) for Mate, though that's not specifically about mounting, rather than the whole desktop afaict.
HTH,
steveL |
That does look good, pretty much what I'm after. I'm not wedded to any particular toolkit, I install stuff I'm interested in, and that drags the toolkit. The only other factor would be that gtk3 is a potential path into the systemd quagmire, and gtk2 is supposedly going to go away. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
|
|
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
|
|