Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496442 - sys-apps/coreutils - relocate uniq from /usr/bin to /bin
Summary: sys-apps/coreutils - relocate uniq from /usr/bin to /bin
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-12-29 22:43 UTC by grey dot
Modified: 2013-12-30 07:55 UTC (History)
1 user (show)

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


Attachments
patch (relocate-uniq.patch,763 bytes, patch)
2013-12-29 22:44 UTC, grey dot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description grey dot 2013-12-29 22:43:37 UTC
Several scripts from /lib/rc require uniq command, which might be unavailable during boot due to /usr not mounted. I know this is unsupported, but the fix is kinda trivial.

Reproducible: Always
Comment 1 grey dot 2013-12-29 22:44:07 UTC
Created attachment 366490 [details, diff]
patch
Comment 2 William Hubbs gentoo-dev 2013-12-30 06:03:55 UTC
This has been fixed in OpenRC git, we now use sort -u instead of uniq,
so there is no need to worry about moving uniq.
Comment 3 SpanKY gentoo-dev 2013-12-30 07:55:47 UTC
`sort -u` is the way to go imo.  there's rarely a need for actual `uniq`.