GNU bug report logs - #9067
Feature patch for chroot, adding --hostname parameter

Previous Next

Package: coreutils;

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

From: zaerc <at> xs4all.nl
To: 9067 <at> debbugs.gnu.org
Subject: bug#9067: Feature patch for chroot, adding --hostname parameter
Date: Wed, 13 Jul 2011 12:46:10 +0200
[Message part 1 (text/plain, inline)]
Hello,

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
)

With kind regards,
Zaerc Rene.
[coreutils_chroot-hostname.patch (text/x-patch, attachment)]

This bug report was last modified 6 years and 217 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.