[Pkg-alsa-devel] Re: Bug#345101: PATH unset

Michael Prokop mika at grml.org
Sat Dec 31 11:14:10 UTC 2005


* Thomas Hood <jdthood at yahoo.co.uk> [20051231 02:15]:
> I wrote:
> > With sysvinit 2.86.ds1-8:
> > OLDPWD=/ HOME=/ acpi=off TERM=linux PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/bin2 PWD=/mnt apm=on

> The "PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/bin2" comes from
> mkinitrd:

> ./initrd-tools-0.1.84ubuntu1/init:
>     export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/bin2

> My guess is that you are booting an initrd generated with another version of mkinitrd
> or with yaird and that this initrd's init program does not set PATH.

One system uses a selfwritten initrd (running the grml live-cd), the
two other (plain) Debian unstable systems and the grml-box (based on
Debian unstable as well) don't use an initrd at all.

> Then for some reason sysvinit's init fails to set PATH, your
> version of udev fails to set PATH and then zsh handles the absence
> of PATH differently from how bash handles it.

Exactly.

> Is this correct?

Yes.

regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20051231/1e8a5085/attachment-0001.pgp


More information about the Pkg-alsa-devel mailing list