[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#329406: busybox sh sets but does not export PATH

Package: busybox
Version: 1:1.01-2
Severity: normal

If /sbin/init is a /bin/sh script using busybox sh, then when this
script tries to run a program that in turn forks and runs a program in
the PATH, running that program will fail. PATH is set by busybox sh to a
default value, but it's not exported.

Take a look at bug #328729 for an example.

Of course if busybox init is used, it sets PATH in a way that causes it
to be available to child processes. So this doesn't affect most uses of

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages busybox depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an

busybox recommends no packages.

-- no debconf information

see shy jo

Attachment: signature.asc
Description: Digital signature

Reply to: