Public bug reported:

Hi,

When using dash or bash as init= shell on the kernel command line, PATH
isn't set by the kernel in init's environment and hence not in dash's or
bash's environment.  Both cope fine with this, but they don't export
PATH for subcommands which is desirable as all commands except init have
a PATH set.

One example of this is if you try to run debootstrap's second stage from
such a shell: it wil fail while dpkg-installing base-files and base-
passwd because dpkg wants a PATH to be set.

Bye,

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: dash (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: dash (Ubuntu)
   Importance: Undecided
       Status: New

-- 
PATH not exported by default when used as init= shell
https://bugs.launchpad.net/bugs/320188
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to