severity 604993 normal
quit

Hi Tim,

Tim Connors wrote:

> When /bin/sh is linked to dash, if <prog> is a shell script (/bin/sh
> or /bin/bash), that shell script sees $PPID as being the "sh -c" process.

Could you give an example?  I tried:

        $ sh -c 'echo $PPID; echo $$'
        18562
        18564
        $ python -c 'import os; os.system("echo $PPID; echo $$");'
        18577
        18578

so I suspect I am missing something.

> I have marked this as "grave", because it breaks unrelated parts of
> the system

No.  

>                   Never mind the fact that I didn't actively install
> dash - it came in with dependencies and eventually decided to ignore
> my choice for /bin/sh to be manually linked to bash after several
> upgrades where it obeyed me).

Please feel free to file a bug if you have ideas for improving this.
At the very least, I imagine the release notes (package release-notes)
could use some improvement.

Thanks for reporting.

Happy thanksgiving,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to