forcemerge 608840 607228
thanks

On Mon, Jan 03, 2011 at 02:04:27PM -0800, Kees Cook wrote:
> With the deprecation of --setup-hook in favor of --chroot-setup-commands,
> it seems that the root uid was dropped when executing. Now I am just my
> regular user, and cannot do the work I need to do with this hook (i.e. I
> cannot modify the apt sources.list etc).

I think this is probably the same issue as #607228.

I haven't yet seen why it's not running as root though.  Ah, looks
like in Sbuild::Build::run_command (called from run_external_commands)
we only run as root /outside/ the chroot.

I'd just like to check with Andres what the intention is here.
Should chroot-(setup|cleanup)-commands be run as root?  Should we
provide an alternative set of hooks so that one set runs as root,
one as the user (with --setup-hook running as root)?


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature

Reply via email to