Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 367003

Summary: net-wireless/urfkill (new package) - Handler for rfkill events in userspace
Product: Gentoo Linux Reporter: Marco Paolone <marcopaolone>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: enhancement CC: leho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.freedesktop.org/wiki/Software/urfkill
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: urfkill ebuild
init.d urfkill script
xdg autostart file
startup script for X session
urfkill ebuild fixed
new fix for urfkill ebuild
init.d urfkilld script fixed

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.