Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232717 - sys-cluster/util-vserver-0.30.215: typo(?) in chroot-sh (gentoo template)
Summary: sys-cluster/util-vserver-0.30.215: typo(?) in chroot-sh (gentoo template)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo VPS Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 07:04 UTC by Matthias Sch.
Modified: 2009-03-24 09:17 UTC (History)
1 user (show)

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


Attachments
corrected openrc patch (util-vserver-0.30.215-openrc.patch,1.05 KB, patch)
2008-09-09 16:05 UTC, David Owen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Sch. 2008-07-23 07:04:17 UTC
# vserver xxx build --context 1000 --hostname xxx --interface eth0:xxx --initstyle gentoo -m template -- -d gentoo -t /vservers/gentoo-template.tar.bz2

>>> Installing special init-style magic ...
chroot-sh: mkdir("2/dev/null"): No such file or directory
chroot-sh: mkdir("2/dev/null"): No such file or directory

shouldn't it be "/dev/null"?
Comment 1 David Owen 2008-09-09 16:02:56 UTC
The typo comes from the patch util-vserver-0.30.215-openrc.patch.  I'm attaching a correct version of the patch.

In the meantime, the typo actually doesn't cause any abnormal function, just some extra output which can be ignored.

But if you want, you can edit the file /usr/lib/util-vserver/distributions/gentoo/initpost by hand.  At lines 68 and 69, change the text "2/dev/null" to "2>/dev/null".
Comment 2 David Owen 2008-09-09 16:05:15 UTC
Created attachment 165028 [details, diff]
corrected openrc patch

This file should replace the existing openrc patch; it does not patch the openrc patch to correct it.
Comment 3 Benedikt Böhm (RETIRED) gentoo-dev 2009-03-24 09:17:05 UTC
fixed in cvs, thanks