GNU bug report logs - #18736
chroot regression - chroot avoids the chroot() call too eagerly.

Previous Next

Package: coreutils;

Reported by: Rogier <rogier777 <at> gmail.com>

Date: Wed, 15 Oct 2014 15:44:04 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 18736 <at> debbugs.gnu.org (full text, mbox):

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 18736 <at> debbugs.gnu.org, Rogier <rogier777 <at> gmail.com>
Subject: Re: bug#18736: chroot regression - chroot avoids the chroot() call
 too eagerly.
Date: Thu, 16 Oct 2014 12:30:51 +0200
On 10/16/2014 12:02 PM, Pádraig Brady wrote:
> I don't have a strong preference either but would be (60:40) the other way.
> In my mind they comes under the "it's better to ask forgiveness than permission" idea.
> I.E. it's better to invoke lower layer logic where possible, rather than
> adding higher level logic. Given it's more risky to avoid the chroot()
> I'd be inclined to wait until there were complaints about the inconsistent
> behavior rather than the other way around.

Another possibility would be to suppress issuing an error diagnostic
for a chroot() failure when DIR is "/" ...

Have a nice day,
Berny




This bug report was last modified 10 years and 276 days ago.

Previous Next


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