Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517804 - sys-auth/consolekit: Restore support for HPPA (because Linux 3.15+ now has CONFIG_AUDITSYSCALL support for parisc)
Summary: sys-auth/consolekit: Restore support for HPPA (because Linux 3.15+ now has CO...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: Normal enhancement (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords: KEYWORDREQ
: 519866 519870 519872 519874 (view as bug list)
Depends on: 438368
Blocks:
  Show dependency tree
 
Reported: 2014-07-22 18:40 UTC by Samuli Suominen (RETIRED)
Modified: 2014-08-17 08:59 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2014-07-22 18:40:14 UTC
Looks like HPPA (parisc) now has required kernel support for sys-auth/consolekit.
As in, the keywording was dropped because this was missing, but it's there now:

# grep HAVE_ARCH_AUDITSYSCALL /usr/src/linux-3.15.6/arch/parisc/Kconfig
select HAVE_ARCH_AUDITSYSCALL

Since sys-auth/consolekit was stable for 'hppa' at some point, I recommend directly committing stable keyword to sys-auth/consolekit

And these should be removed from profiles/arch/hppa/use.mask after stabilization:

# Jeroen Roovers <jer@gentoo.org> (15 Oct 2012)
# sys-auth/consolekit does not work without CONFIG_AUDITSYSCALL,
# which is not supported on HPPA (bug #438368)
consolekit




And you might want to look into dropping this as well, if you can stabilize sys-auth/polkit as well:

arch/hppa/use.mask: policykit
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2014-07-22 18:44:58 UTC
Up to you of course, if you don't want to restore the support. If you don't want to, then I suggest to update the mask message in profiles to reflect current situation, at least
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-22 18:59:02 UTC
It has had that support for a while. It doesn't mean that it's now suddenly ready for desktop Linux.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-07-22 19:13:23 UTC
(In reply to Jeroen Roovers from comment #2)
> It has had that support for a while. It doesn't mean that it's now suddenly
> ready for desktop Linux.

What do you mean? This particular kernel feature is used to provide one /proc entry to gain 'sessionid' from for the pam_ck_connector.so module
A trivial task
And HPPA has had sys-auth/consolekit before
So I'd say it's very much ready

I'm not sure about sys-auth/polkit however because it now requires dev-lang/spidermonkey, that's different story, and requires testing
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-30 11:09:16 UTC
I'll give it a spin when I have the time.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2014-07-30 12:44:04 UTC
like said, it's of course up to you... i'm filing this bug only because i've reviewed auditsyscall status for *all* arches and went thru *all* arches in profiles/

that's how I stumbled upon the message...

# sys-auth/consolekit does not work without CONFIG_AUDITSYSCALL,
# which is not supported on HPPA (bug #438368)
consolekit

so either change that to eg.

# We don't _want_ to support ConsoleKit or PolicyKit on HPPA wrt bug #517804
consolekit
policykit

or...

compile test sys-auth/consolekit and sys-auth/policykit (this will require dev-lang/spidermonkey) and remove both USE masks, consolekit and policykit

HPPA is currently supporting Xfce, so at least these 2 packages would be useful for use of Xfce, if for nothing else, then just to get "Shutdown/Logout" available in the panel, logout menu, application menu, ...

whatever you decide, thanks for looking into it!
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-13 12:04:27 UTC
What is blocking unmasking/keywording right now is that polkit wants a specific version of spidermonkey.

RepoMan scours the neighborhood...
  dependency.bad                4
   sys-auth/polkit/polkit-0.112-r1.ebuild: DEPEND: ~hppa(default/linux/hppa/13.0) ['dev-lang/spidermonkey:17[-debug]']
   sys-auth/polkit/polkit-0.112-r1.ebuild: RDEPEND: ~hppa(default/linux/hppa/13.0) ['dev-lang/spidermonkey:17[-debug]']
   sys-auth/polkit/polkit-0.112-r2.ebuild: DEPEND: ~hppa(default/linux/hppa/13.0) ['dev-lang/spidermonkey:17[-debug,jit=]']
   sys-auth/polkit/polkit-0.112-r2.ebuild: RDEPEND: ~hppa(default/linux/hppa/13.0) ['dev-lang/spidermonkey:17[-debug,jit=]']
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-13 12:13:55 UTC
omg it has KEYWORDS as USE flags.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-14 12:35:28 UTC
*** Bug 519870 has been marked as a duplicate of this bug. ***
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-14 12:35:47 UTC
*** Bug 519866 has been marked as a duplicate of this bug. ***
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-14 12:35:57 UTC
*** Bug 519874 has been marked as a duplicate of this bug. ***
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-14 12:36:42 UTC
*** Bug 519872 has been marked as a duplicate of this bug. ***
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2014-08-14 14:17:56 UTC
(In reply to Jeroen Roovers from comment #7)
> omg it has KEYWORDS as USE flags.

right, it's because of how spidermonkey is released (some versions are for specific arches only)

http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/polkit/polkit-0.112-r2.ebuild?r1=1.3&r2=1.4

don't let the package name confuse, this is _plain_ GTK+ policykit agent:

gnome-extra/polkit-gnome

then you could drop this:

$ grep -r polkit *
package.use.mask:sys-auth/polkit gtk

it's a small gtk+ dialog that provides the password entry dialog when you try to do something that requires polkit root authorization

otherwise this bug looks done :)   thanks