Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587410 - sys-apps/elfix Consider installing paxctl-ng to /bin or /sbin instead
Summary: sys-apps/elfix Consider installing paxctl-ng to /bin or /sbin instead
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-28 13:00 UTC by Jaak Ristioja
Modified: 2016-06-28 13:14 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2016-06-28 13:00:07 UTC
I think it should not be installed under /usr/bin or /usr/sbin. According to the Filesystem Hierarchy Standard, /usr may be mounted on some different partition and hence not be accessible in single user mode. Therefore having paxctl-ng under /usr might become a hindrance in some critical cases.

Additionally, as a developer, I often find myself using paxctl-ng to mark binaries compiled as a regular user. Hence it were comfortable if the utility were located in some directory present in $PATH (/sbin and /usr/sbin are not).
Comment 1 Anthony Basile gentoo-dev 2016-06-28 13:14:45 UTC
(In reply to Jaak Ristioja from comment #0)
> I think it should not be installed under /usr/bin or /usr/sbin. According to
> the Filesystem Hierarchy Standard, /usr may be mounted on some different
> partition and hence not be accessible in single user mode. Therefore having
> paxctl-ng under /usr might become a hindrance in some critical cases.
> 
> Additionally, as a developer, I often find myself using paxctl-ng to mark
> binaries compiled as a regular user. Hence it were comfortable if the
> utility were located in some directory present in $PATH (/sbin and /usr/sbin
> are not).

its should go into /sbin and i'll add a sym link for backwards compat.