[Pkg-ltsp-devel] Bug#765443: ltsp-server: Unset variables set by libpam-tmpdir in ltsp-chroot?

Petter Reinholdtsen pere at hungry.com
Wed Oct 15 07:46:10 UTC 2014


Package: ltsp-client-core
Version: 5.5.3-1
Severity: normal
User: debian-edu at lists.debian.org
Usertags: debian-edu

When using libpam-tmpdir on the LTSP server and then calling
'ltsp-chroot' to do operations in the LTSP chroot, the temp directory
variables are inherited and causing 'apt-get upgrade' (because of
postinst scripts using the temp directory variables) etc. to fail
because the temporary directory do not exist.  Can ltsp-chroot be
changed to unset the temp directory variables if they point to a
non-existing directory?

These are the variables set by libpam-tempdir:

  TMPDIR=/tmp/user/1000
  TEMP=/tmp/user/1000
  TEMPDIR=/tmp/user/1000
  TMP=/tmp/user/1000

-- 
Happy hacking
Petter Reinholdtsen



More information about the Pkg-ltsp-devel mailing list