Debian Bug report logs -
#587770
schroot - Please provide a way to add things to the default environment filter
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>:
Bug#587770; Package schroot.
(Thu, 01 Jul 2010 14:27:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Bastian Blank <waldi@debian.org>:
New Bug report received and forwarded. Copy sent to Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>.
(Thu, 01 Jul 2010 14:27:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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-3 Pluggable Authentication Modules l
ii libstdc++6 4.4.4-6 The GNU Standard C++ Library v3
ii libuuid1 2.17.2-3.1 Universally Unique ID library
ii schroot-common 1.4.5-1 common files for schroot
schroot recommends no packages.
Versions of packages schroot suggests:
pn aufs-modules | unionfs-m <none> (no description available)
ii btrfs-tools 0.19+20100601-3 Checksumming Copy on Write Filesys
pn debootstrap <none> (no description available)
ii lvm2 2.02.66-2 The Linux Logical Volume Manager
ii unzip 6.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
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>:
Bug#587770; Package schroot.
(Thu, 01 Jul 2010 15:15:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Roger Leigh <rleigh@codelibre.net>:
Extra info received and forwarded to list. Copy sent to Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>.
(Thu, 01 Jul 2010 15:15:06 GMT) (full text, mbox, link).
Message #10 received at 587770@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
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 (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>:
Bug#587770; Package schroot.
(Fri, 22 Oct 2010 15:06:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Loïc Minier <lool@dooz.org>:
Extra info received and forwarded to list. Copy sent to Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>.
(Fri, 22 Oct 2010 15:06:03 GMT) (full text, mbox, link).
Message #15 received at 587770@bugs.debian.org (full text, mbox, reply):
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
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>:
Bug#587770; Package schroot.
(Sat, 21 Jun 2014 16:51:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Faheem Mitha <faheem@faheem.info>:
Extra info received and forwarded to list. Copy sent to Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>.
(Sat, 21 Jun 2014 16:51:04 GMT) (full text, mbox, link).
Message #20 received at 587770@bugs.debian.org (full text, mbox, reply):
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
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Tue Jan 30 06:53:00 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.