Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493736 - =sys-apps/openrc-0.12.4 with separate /usr (without initramfs): /lib64/rc/sh/tmpfiles.sh: line 237: uniq: command not found
Summary: =sys-apps/openrc-0.12.4 with separate /usr (without initramfs): /lib64/rc/sh/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
: 499484 500584 (view as bug list)
Depends on:
Blocks: 481182
  Show dependency tree
 
Reported: 2013-12-09 09:15 UTC by Tomáš Mózes
Modified: 2014-02-07 13:23 UTC (History)
2 users (show)

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 Tomáš Mózes 2013-12-09 09:15:37 UTC
Systems not using an initramfs with separate /usr with sys-apps/openrc-0.12.4 observe the following during booting:

* setting up tmpfiles.d entries for /dev ...
/lib64/rc/sh/tmpfiles.sh: line 237: uniq: command not found 

line 237:
tmpfiles_basenames="`printf "${tmpfiles_basenames}\n" | sort | uniq`"

As suggested in http://forums.gentoo.org/viewtopic-t-972132.html, it would be possible to alter that to:
tmpfiles_basenames="`printf "${tmpfiles_basenames}\n" | sort -u`"

I know that since 01-Nov-2013, these systems are not supported, but this would just lower the number of processes in the pipeline.
Comment 1 William Hubbs gentoo-dev 2013-12-11 04:07:49 UTC
Actually we shouldn't be using backticks at all, but $( ... ), so I will
fix this.
Comment 2 William Hubbs gentoo-dev 2013-12-11 04:59:49 UTC
This is fixed in commit 09733d3.
Thanks for the report.
This is a good example of why bugs like this should be reported. If
there is a fix that can be done, it will be.
Comment 3 William Hubbs gentoo-dev 2013-12-11 05:00:28 UTC
This will be included in OpenRC-0.13.
Comment 4 Tomáš Mózes 2013-12-11 19:40:28 UTC
Thanks William.
Comment 5 William Hubbs gentoo-dev 2014-01-27 20:59:00 UTC
*** Bug 499484 has been marked as a duplicate of this bug. ***
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-07 13:23:14 UTC
*** Bug 500584 has been marked as a duplicate of this bug. ***