Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367003 - net-wireless/urfkill (new package) - Handler for rfkill events in userspace
Summary: net-wireless/urfkill (new package) - Handler for rfkill events in userspace
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.freedesktop.org/wiki/Softw...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 16:33 UTC by Marco Paolone
Modified: 2011-06-12 07:58 UTC (History)
1 user (show)

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


Attachments
urfkill ebuild (urfkill-0.1.1.ebuild,1.71 KB, text/plain)
2011-05-12 16:33 UTC, Marco Paolone
Details
init.d urfkill script (urfkilld.rc,519 bytes, text/plain)
2011-05-12 16:34 UTC, Marco Paolone
Details
xdg autostart file (urfkill-startup.desktop,156 bytes, application/x-desktop)
2011-05-12 16:34 UTC, Marco Paolone
Details
startup script for X session (ping-urfkilld,120 bytes, application/x-shellscript)
2011-05-12 16:35 UTC, Marco Paolone
Details
urfkill ebuild fixed (urfkill-0.1.1.ebuild,1.53 KB, text/plain)
2011-05-16 18:31 UTC, Marco Paolone
Details
new fix for urfkill ebuild (urfkill-0.1.1.ebuild,1.54 KB, text/plain)
2011-05-16 20:25 UTC, Marco Paolone
Details
init.d urfkilld script fixed (urfkilld.rc,492 bytes, text/plain)
2011-05-16 20:26 UTC, Marco Paolone
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Paolone 2011-05-12 16:33:10 UTC
urfkill is a new handler for rfkill switch in userspace, with support for dbus, glib and polkit.

This ebuild has a small check for CONFIG_RFKILL, a simple init script (it covers only start and stop functions) and startup files for X sessions.

Reproducible: Always
Comment 1 Marco Paolone 2011-05-12 16:33:41 UTC
Created attachment 272951 [details]
urfkill ebuild
Comment 2 Marco Paolone 2011-05-12 16:34:19 UTC
Created attachment 272953 [details]
init.d urfkill script
Comment 3 Marco Paolone 2011-05-12 16:34:48 UTC
Created attachment 272955 [details]
xdg autostart file
Comment 4 Marco Paolone 2011-05-12 16:35:14 UTC
Created attachment 272957 [details]
startup script for X session
Comment 5 Leho Kraav (:macmaN @lkraav) 2011-05-16 18:19:44 UTC
i'm pretty sure samuli said in another bug (i think pambase, consolekit and CONFIG_AUDITSYSCALL related) that current policy is not to die on missing kernel configuration options. looks like we're dying here with missing CONFIG_RFKILL.
Comment 6 Leho Kraav (:macmaN @lkraav) 2011-05-16 18:24:39 UTC
econf will also die because of the commented line:

config.status: executing po/stamp-it commands
/var/tmp/portage/net-wireless/urfkill-0.1.1/temp/environment: line 3010: --disable-dependency-tracking: command not found
 * ERROR: net-wireless/urfkill-0.1.1 failed (configure phase):
 *   econf failed
Comment 7 Marco Paolone 2011-05-16 18:31:45 UTC
Created attachment 273477 [details]
urfkill ebuild fixed
Comment 8 Marco Paolone 2011-05-16 18:32:25 UTC
Fixed. Thanks :)
Comment 9 Leho Kraav (:macmaN @lkraav) 2011-05-16 19:57:16 UTC
ebuild isn't creating /etc/init.d/urfkilld for me, isn't that what newinitd is supposed to do?
Comment 10 Marco Paolone 2011-05-16 20:25:39 UTC
Created attachment 273491 [details]
new fix for urfkill ebuild
Comment 11 Marco Paolone 2011-05-16 20:26:27 UTC
Created attachment 273493 [details]
init.d urfkilld script fixed
Comment 12 Marco Paolone 2011-05-16 20:30:13 UTC
Forgot a parameter for newinitd in ebuild, and fixed init script too.
Comment 13 Francesco Cusolito 2011-06-11 23:24:56 UTC
I see that it's marked only for ~x86; Could be emerging on amd64  problematic?
Comment 14 Marco Paolone 2011-06-12 07:58:43 UTC
(In reply to comment #13)
> I see that it's marked only for ~x86; Could be emerging on amd64  problematic?

No, it shouldn't be problematic. If it works for you I'll add ~amd64 in a later revision of ebuild.