Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184969 - sys-process/psmisc-22.5 binaries layout is broken
Summary: sys-process/psmisc-22.5 binaries layout is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 184968
  Show dependency tree
 
Reported: 2007-07-11 16:41 UTC by spiritus
Modified: 2007-07-12 05:49 UTC (History)
0 users

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


Attachments
Get back dosym() code for compatibility (psmisc-22.5.ebuild.patch,551 bytes, patch)
2007-07-11 16:45 UTC, spiritus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description spiritus 2007-07-11 16:41:38 UTC
psmisc-22.5.ebuild triggered old problems(bugs 10849, 12529 and others) again. Other major distros like Debian, Ubuntu, RHEL, Fedora has original psmisc layout, they have psmisc binaries in /usr/bin. This causes problems in Gentoo with some scripts and software expecting standard psmisc layout. For example, recent bug in KVPNC: http://bugs.gentoo.org/show_bug.cgi?id=184968


Reproducible: Always

Steps to Reproduce:
Comment 1 spiritus 2007-07-11 16:45:00 UTC
Created attachment 124583 [details, diff]
Get back dosym() code for compatibility
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-07-11 18:20:28 UTC
Eh, other things just shouldn't hardcode paths for binaries...
Comment 3 SpanKY gentoo-dev 2007-07-11 21:49:09 UTC
psmisc now installs everything into /usr/bin except for fuser
Comment 4 spiritus 2007-07-12 05:27:23 UTC
(In reply to comment #2)
> Eh, other things just shouldn't hardcode paths for binaries...
> 

Agree, hardcoding of paths in binaries is a bad idea.  But IMHO base utils(like coreutils, psmisc, iptables, etc) should have the same layout in every linux distro for compatibility not only with software like kpvnc, but also with scripts that use absolute paths. 

Comment 5 spiritus 2007-07-12 05:49:08 UTC
(In reply to comment #3)
> psmisc now installs everything into /usr/bin except for fuser
> 

Good decision, thanks. 

Although FC and Debian also use /usr/bin/ for most of psmisc binaries, they use different path for "fuser" (Debian4 - /bin/fuser, FC6 - /sbin/fuser). Funny. Hope, FHS standard will fix such incompatibilities in future.