Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 496442

Summary: sys-apps/coreutils - relocate uniq from /usr/bin to /bin
Product: Gentoo Linux Reporter: grey dot <sickmind>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WONTFIX    
Severity: normal CC: openrc
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch

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`.