[Slackbuilds-users] Does anyone have a problem with i3status (eg. wifi display)?

Marcin Herda mherda at slackword.net
Tue Apr 2 17:10:43 UTC 2013


On 30/03/13 17:46, B Watson wrote:
> On 3/30/13, Marcin Herda <mherda at slackword.net> wrote:
>> The i3status Makefile sets:
>>
>> setcap cap_net_admin=ep
>>
>> which, according to i3 developer/author, should suffice and so far has
>> been sufficient on my systems.
> tar doesn't support capabilities, so if that bit is required, you'll
> have to set it in your doinst.sh.
>
> Probably should mention the capability bit in your README. It's not as
> much of a potential security risk as a setuid binary, but still it lets
> users do things users normally can't do.
>
> Also be aware that in Slackware 14 (but not 13.37 or earlier), glibc
> ignores LD_LIBRARY_PATH on binaries with capabilities (same it it's always
> done for setuid binaries). This probably doesn't affect your package,
> but I haven't actually looked at it...
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
Thank you for clarifying the issue. I didn't know about tar not 
supporting it. If I need it, I'll add setcap to doing.sh.  I have, 
however, done some more testing and I am inclined to believe it is 
something to do with that particular user's setup that prevents the wifi 
from being displayed.

Thank you, Matthew, for your feedback. I'd like more people to confirm 
whether it works fine for them (without any modifications) and as I know 
there are more i3/i3status users on LQ, I think I'll start a thread 
there to be 100% sure.

Regards
Marcin

-- 
-- sycamorex



More information about the SlackBuilds-users mailing list