Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255317 - sys-apps/pcmciautils-015 staticsocket problem (misinstallation of a binary)
Summary: sys-apps/pcmciautils-015 staticsocket problem (misinstallation of a binary)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-17 22:05 UTC by Andrew Savchenko
Modified: 2009-10-16 19:20 UTC (History)
0 users

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


Attachments
proposed bugfix (015-pcmcia-socket-startup.patch,870 bytes, patch)
2009-01-17 22:07 UTC, Andrew Savchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2009-01-17 22:05:57 UTC
When nonstatic socket configuration is enabled (this is
required on my hardware to work properly) pcmcia-socket-startup binary is
installed in /sbin/, but udev rule points to /lib/udev/.

Attached patch fixes this assuming binary should be placed at /lib/udev/.

Secondly, if you'll look at the source, you'll figure out that STARTUP=true option enables support for nonstatically mapped socket (src/startup.c). Thus name 'staticsocket' for USE flag is ambiguous and wrong, because currently $(use_tf staticsocket) enables nonstatic socket support if set to true. I suggest either invert the action of or rename this USE flag.

Thirdly, do not disable nonstatick sockets by default, please. I lost several weaks tossing my system back and forth until I understood the reason of suddenly broken pcmcia.
Comment 1 Andrew Savchenko gentoo-dev 2009-01-17 22:07:07 UTC
Created attachment 178828 [details, diff]
proposed bugfix

This problem was reported upstream, and patch was send there:
http://bugzilla.kernel.org/show_bug.cgi?id=12471
Comment 2 Wormo (RETIRED) gentoo-dev 2009-01-20 05:56:59 UTC
Thanks for submitting your proposed fix, and for the use flag suggestions. Assigning to maintainers.
Comment 3 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-10-16 19:20:29 UTC
sys-apps/pcmciautils-016 has this fix applied and was just comitted to the tree.

thanks
kind regards
Thilo