Bug#587770: schroot - Please provide a way to add things to the default environment filter
Hi, I also think this is a useful feature. The particular use case I'm interested in is as follows. Currently schroot removes the DISPLAY env variable, However, I'd prefer if it wasn't, because this breaks running X applications from inside the chroot. Loic wrote I second this feature request! Something like debuild's --preserve-envvar= would be just fine with me (allows for simple regexps, but can also easily list multiple env vars to preserve). I also think this is a good idea The debuild man page says --preserve-envvar=var, -evar Do not clean the var variable from the environment. If var ends in an asterisk ("*") then all variables with names that match the portion of var before the asterisk will be preserved. Something like that would work well, I think. Regards, Faheem -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#587770: schroot - Please provide a way to add things to the default environment filter
I second this feature request! Something like debuild's --preserve-envvar= would be just fine with me (allows for simple regexps, but can also easily list multiple env vars to preserve). -- Loïc Minier -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#587770: [buildd-tools-devel] Bug#587770: schroot - Please provide a way to add things to the default environment filter
On Thu, Jul 01, 2010 at 04:23:54PM +0200, Bastian Blank wrote: > I'd like to filter further variables from the environment, like LC_* and > LANG. Currently I have to copy default value and change it. Do you have any thoughts on how you'd like this to work? We could allow the use of multiple regexes in place of the current single large regex, but I'm not sure how to put that in the config file nicely. While we hard-code the default in, the reason it needs copying and changing is so that it can be overridden if required (otherwise it wouldn't be possible to remove those initial defaults from the filter, only to extend it). 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. signature.asc Description: Digital signature
Bug#587770: schroot - Please provide a way to add things to the default environment filter
Package: schroot Version: 1.4.5-1 Severity: wishlist I'd like to filter further variables from the environment, like LC_* and LANG. Currently I have to copy default value and change it. Bastian -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages schroot depends on: ii libboost-filesystem1.42.0 1.42.0-3 filesystem operations (portable pa ii libboost-program-options1.42. 1.42.0-3 program options library for C++ ii libboost-regex1.42.0 1.42.0-3 regular expression library for C++ ii libboost-system1.42.0 1.42.0-3 Operating system (e.g. diagnostics ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.4-6 GCC support library ii liblockdev1 1.0.3-1.4 Run-time shared library for lockin ii libpam0g 1.1.1-3Pluggable Authentication Modules l ii libstdc++64.4.4-6The GNU Standard C++ Library v3 ii libuuid1 2.17.2-3.1 Universally Unique ID library ii schroot-common1.4.5-1common files for schroot schroot recommends no packages. Versions of packages schroot suggests: pn aufs-modules | unionfs-m (no description available) ii btrfs-tools 0.19+20100601-3 Checksumming Copy on Write Filesys pn debootstrap(no description available) ii lvm2 2.02.66-2 The Linux Logical Volume Manager ii unzip6.0-4 De-archiver for .zip files -- Configuration Files: /etc/schroot/default/copyfiles changed [not included] /etc/schroot/default/fstab changed [not included] /etc/schroot/schroot.conf changed [not included] /etc/schroot/setup.d/00check changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org