GNU bug report logs -
#9067
Feature patch for chroot, adding --hostname parameter
Previous Next
Reported by: zaerc <at> xs4all.nl
Date: Wed, 13 Jul 2011 15:10:02 UTC
Severity: wishlist
Tags: wontfix
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
severity 9067 wishlist
tags 9067 wontfix
close 9067
(triaging old bugs)
Hello,
On 13/07/11 04:46 AM, zaerc <at> xs4all.nl wrote:
> Here is a small patch to chroot that adds the ability to run the chroot
> environment with a different namespace for the hostname.
>
> I am hoping that other people (besides myself) will find this feature
> useful, and that it will be considered for inclusion in the excellent
> coreutils suite.
>
> The additional code is plainly stolen from Michael Marineau's chname tool,
> so I reckon most of the credit should go to him. (see
> http://mike.marineau.org/blog/code/2007-07-23-giving-chroot-its-own-hostname-chname
> )
Thank you for the patch, sorry it fell between the cracks and have not
been responded to in so long.
In the long time since your suggestion, the util-linux package
gained unshare(1) and nsenter(1), as well as many other new
3rd-party tools to control namespaces.
As such, I'm closing the bug.
regards,
- assaf
This bug report was last modified 6 years and 216 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.