[buildd-tools-devel] Bug#608840: work-around for --chroot-setup-commands not running as root
Kees Cook
kees at debian.org
Tue Jan 25 19:14:58 UTC 2011
Here's my brute-force workaround that seems to do the trick until a
different solution is found:
--- /usr/share/perl5/Sbuild/Build.pm~ 2011-01-25 11:12:08.530607467 -0800
+++ /usr/share/perl5/Sbuild/Build.pm 2011-01-25 11:12:17.700853946 -0800
@@ -842,7 +842,7 @@
$err = $defaults->{'STREAMERR'} if ($log_error);
$self->get('Session')->run_command(
{ COMMAND => \@{$command},
- USER => $self->get_conf('USERNAME'),
+ USER => 'root',
PRIORITY => 0,
STREAMOUT => $out,
STREAMERR => $err,
--
Kees Cook @debian.org
More information about the Buildd-tools-devel
mailing list