Package: base-files Version: 6.12 Severity: minor File: /etc/profile /etc/profile, the file which should define reasonable PATH settings eg for `/bin/bash -l` (as it would be invoked when chrooting in from an exotic environment) depends on PATH being set in order to set PATH:
> if [ "`id -u`" -eq 0 ]; then > PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" > else > PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" > fi while this does work by silently failing and taking one of the options if `id` is not found, it would be preferrable to explicitly use `/usr/bin/id`. an example of when this can be important is when chrooting in from an android system with its PATH configured to only strange locations. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.5-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages base-files depends on: ii gawk [awk] 1:4.0.1+dfsg-2 ii mawk [awk] 1.3.3-17 base-files recommends no packages. base-files suggests no packages. -- no debconf information
signature.asc
Description: Digital signature

