Bug#648148: autopkgtest: Support running as user

2013-11-20 Thread Martin Pitt
tag 648148 pending thanks Hello all, Ian Jackson [2012-06-11 1:55 +0100]: > Hi. Martin, you wrote: > > for testing build recipes I'd like to skip all the apt parts and run > > adt-run as normal user. This currently fails because it always tries > > to set up apt. > > I agree that this would be

Bug#648148: autopkgtest: Support running as user

2012-06-14 Thread Ian Jackson
Martin Pitt writes ("Bug#648148: autopkgtest: Support running as user"): > Jakub Wilk [2012-06-12 16:44 +0200]: > > >- Change the spec to deprecate use of TMPDIR. > > >- Change the manpages not to refer to TMPDIR any more. > > > > > >What do you

Bug#648148: autopkgtest: Support running as user

2012-06-14 Thread Ian Jackson
Martin Pitt writes ("Bug#648148: autopkgtest: Support running as user"): > Jakub Wilk [2012-06-12 16:44 +0200]: > > I second the idea of deprecating TMPDIR and introducing another > > variable for this purpose. > > I also second this ("thirded"? :-)

Bug#648148: autopkgtest: Support running as user

2012-06-13 Thread Martin Pitt
Hello, Jakub Wilk [2012-06-12 16:44 +0200]: > >- Change the spec to deprecate use of TMPDIR. > >- Change the manpages not to refer to TMPDIR any more. > > > >What do you think ? > > I second the idea of deprecating TMPDIR and introducing another > variable for this purpose. I also second this ("

Bug#648148: autopkgtest: Support running as user

2012-06-12 Thread Jakub Wilk
* Ian Jackson , 2012-06-11, 01:55: Also, Jakub, you wrote: (Setting TMPDIR was a mistake in the first place IMHO. This variable in POSIX has completely different semantics. Running a scripts that relied on the feature outside adt-run might lead to security holes.) I agree. However I'm not sur

Bug#648148: autopkgtest: Support running as user

2012-06-10 Thread Ian Jackson
tags 648148 - patch thanks Hi. Martin, you wrote: > for testing build recipes I'd like to skip all the apt parts and run > adt-run as normal user. This currently fails because it always tries > to set up apt. I agree that this would be sensible. But I think the right answer is to make this depe

Bug#648148: autopkgtest: Support running as user

2012-04-25 Thread Jakub Wilk
* Martin Pitt , 2011-11-09, 08:50: - if 'needs-root' not in t.restriction_names and opts.user is not None: + if 'needs-root' not in t.restriction_names and opts.user: tfl = ['su',opts.user,'-c',tf] tmpdir = '%s%s-tmpdir' % (testbed.scratch.read(True), t

Bug#648148: autopkgtest: Support running as user

2011-11-08 Thread Martin Pitt
Package: autopkgtest Severity: wishlist Version: 2.0.1 Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu ubuntu-patch precise Hello, for testing build recipes I'd like to skip all the apt parts and run adt-run as normal user. This currently fails because it always tries to s