Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44700 - dchroot-0.08.ebuild
Summary: dchroot-0.08.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-14 14:40 UTC by Gabriel Ebner
Modified: 2005-02-11 18:17 UTC (History)
0 users

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


Attachments
The ebuild for dchroot-0.08 (dchroot-0.08.ebuild,459 bytes, text/plain)
2004-03-14 14:41 UTC, Gabriel Ebner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Ebner 2004-03-14 14:40:08 UTC
dchroot is debian's tool to enter chroots.

It solely depends on glibc, though it needs help2man to build.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Gabriel Ebner 2004-03-14 14:41:01 UTC
Created attachment 27366 [details]
The ebuild for dchroot-0.08
Comment 2 solar (RETIRED) gentoo-dev 2004-03-14 20:41:03 UTC
SRC_URI="mirror://debian/pool/main/d/dchroot/dchroot_${PV}.tar.gz"
HOMEPAGE="http://www.debian.org/"

This does not tell us much of what it does.
Could you explain this tool in a little more detail and how/why it would be 
ideal to use on a Gentoo system?
Comment 3 Gabriel Ebner 2004-03-15 10:32:53 UTC
It greatly simplifies entering a chroot.  You no longer have to su to root, enter the chroot and become an ordinary user again.  You can just type dchroot -c name-of-the-chroot sh -l and you are in the chroot as the user you were before on the host system.

Furthermore you don't have to enter a password in order to enter a chroot, you just have to have the chroot listed in /etc/dchroot.conf

It also supports executing the same command in multiple chroots.
Comment 4 solar (RETIRED) gentoo-dev 2004-03-15 11:29:49 UTC
So it installs setuid then?
Comment 5 Gabriel Ebner 2004-03-15 17:02:52 UTC
Yes, dchroot has to be installed setuid in order to be able to execute chroot(2).
Comment 6 solar (RETIRED) gentoo-dev 2004-03-15 19:00:40 UTC
Ok thanks.. 

I'm anti setuid for silly things and I don't see how this would benefit our group.

Anybody else (hardened) want to merge this?

If nobody says anything within a day or two Gabriel please reassign this to bug-wranglers@
Comment 7 SpanKY gentoo-dev 2005-02-11 18:17:15 UTC
0.10 now in portage