[Pkg-ltsp-devel] Bug#451878: /usr/sbin/ltsp-build-client: Doesn't properly clean up environment
Roberto C. Sanchez
roberto at connexer.com
Mon Nov 19 02:43:40 UTC 2007
Package: ltsp-server
Version: 0.99debian11
Severity: normal
File: /usr/sbin/ltsp-build-client
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I use pam_tmpdir on my system. So, for example, root has this in his
environment:
TMP=/tmp/user/0
TMPDIR=/tmp/user/0
One or both of those values are sticking around when ltsp-build-client
is called, resulting in this failure:
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
mktemp: cannot make temp dir /tmp/user/0/mkinitramfs_W13305: No such file or directory
mkinitramfs-kpkg failed to create initrd image.
It looks like the call to mktemp is making use of one of the variables.
Of course, since the chroot for the client created in /opt/ltsp is
clean, there is no user/0 directory below /tmp.
Regards,
- -Roberto
- -- Package-specific info:
- -- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages ltsp-server depends on:
ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii debconf-utils 1.5.11 debconf utilities
ii debootstrap 0.3.3.2etch1 Bootstrap a basic Debian system
ii esound-clients 0.2.36-3 Enlightened Sound Daemon - clients
ii gettext-base 0.16.1-1 GNU Internationalization utilities
ii inetutils-inetd [inet- 2:1.5.dfsg.1-2 Internet super server
ii iproute 20061002-3 Professional tools to control the
ii lsb-release 3.1-23.2etch1 Linux Standard Base version report
ii nfs-kernel-server 1:1.0.10-6+etch.1 Kernel NFS server support
ii openssh-client 1:4.3p2-9 Secure shell client, an rlogin/rsh
ii python 2.4.4-2 An interactive high-level object-o
ii tcpd 7.6.dbs-13 Wietse Venema's TCP wrapper utilit
ii tftpd-hpa 0.43-1.1 HPA's tftp server
ii update-inetd 4.27-0.5 inetd.conf updater
Versions of packages ltsp-server recommends:
pn nbd-server <none> (no description available)
ii openssh-server 1:4.3p2-9 Secure shell server, an rshd repla
- -- debconf information excluded
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHQPhc5SXWIKfIlGQRAhJwAKCKZ0ZZH00Iy0kYin/J0ZFr9dXfqQCglid9
Fs885X0iWYP6kr+jyRUbCwo=
=tU+u
-----END PGP SIGNATURE-----
More information about the Pkg-ltsp-devel
mailing list