Bug#850763: Option for build directory is needed

2017-01-09 Thread Alf Gaida
> Can you try setting those environment variables and let me know if it 
works?

> If it does then this is just a docfix.

% sudo TMP=. lwr
DEBUG environment: TMP=.
DEBUG vmdebootstrap command: ... --squash=./tmp5fr6Ev/live ...

looks good so far

Cheers Alf



Bug#850763: Option for build directory is needed

2017-01-09 Thread Iain R. Learmonth
On Tue, 10 Jan 2017 01:00:36 +0100 Alf Gaida  wrote:
> a option for a build directory is needed - right now live-wrapper try to 
> build in /tmp/$foo and fail
> because standard options for /tmp are 
> Options=mode=1777,strictatime,nosuid,nodev
> 
> One should not be forced to touch these settings because of security concerns.

Just going to bed now, but will look in the next few days.

Temporary directories are created using Python's tempfile functions:

"The default directory is chosen from a platform-dependent list, but the
user of the application can control the directory location by setting the
TMPDIR, TEMP or TMP environment variables."

Can you try setting those environment variables and let me know if it works?
If it does then this is just a docfix.

Thanks,
Iain.



Bug#850763: Option for build directory is needed

2017-01-09 Thread Alf Gaida
Package: live-wrapper
Version: 0.5
Severity: important

Dear maintainer,

a option for a build directory is needed - right now live-wrapper try to build 
in /tmp/$foo and fail
because standard options for /tmp are Options=mode=1777,strictatime,nosuid,nodev

One should not be forced to touch these settings because of security concerns.

Cheers Alf

-- System Information:
Debian Release: stretch/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.2-towo.1-siduction-amd64 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages live-wrapper depends on:
ii  debian-archive-keyring  2014.3
ii  isolinux3:6.03+dfsg-14
ii  python-apt  1.4.0~beta1
ii  python-cliapp   1.20160724-1
ii  python-requests 2.12.4-1
pn  python:any  
ii  vmdebootstrap   1.7-1
ii  xorriso 1.4.6-1+b1

live-wrapper recommends no packages.

Versions of packages live-wrapper suggests:
ii  cmdtest  0.27-1

-- no debconf information