This looks fixed in raring, precise, oneiric, and lucid:
$ grep -r env.*run-parts:
./pam-1.1.3/debian/patches-applied/update-motd:+ if (!system("/usr/bin/env -i PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin run-parts --lsbsysinit /etc/update-motd.d > /var/run/motd.new")) ./pam-1.1.3/debian/patches-applied/update-motd:+ if (!system("/usr/bin/env -i PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin run-parts --lsbsysinit /etc/update-motd.d > /var/run/motd.new")) ./pam-1.1.3/debian/patches-applied/update-motd:+ if (!system("/usr/bin/env -i PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin run-parts --lsbsysinit /etc/update-motd.d > /var/run/motd.new")) pam-1.1.1/debian/patches-applied/update-motd:+ if (!system("/usr/bin/env -i PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /bin/run-parts --lsbsysinit /etc/update-motd.d > /var/run/motd.new"))
This looks fixed in raring, precise, oneiric, and lucid:
$ grep -r env.*run-parts:
./pam-1. 1.3/debian/ patches- applied/ update- motd:+ if (!system( "/usr/bin/ env -i PATH=/usr/ local/sbin: /usr/local/ bin:/usr/ sbin:/usr/ bin:/sbin: /bin run-parts --lsbsysinit /etc/update-motd.d > /var/run/ motd.new" )) 1.3/debian/ patches- applied/ update- motd:+ if (!system( "/usr/bin/ env -i PATH=/usr/ local/sbin: /usr/local/ bin:/usr/ sbin:/usr/ bin:/sbin: /bin run-parts --lsbsysinit /etc/update-motd.d > /var/run/ motd.new" )) 1.3/debian/ patches- applied/ update- motd:+ if (!system( "/usr/bin/ env -i PATH=/usr/ local/sbin: /usr/local/ bin:/usr/ sbin:/usr/ bin:/sbin: /bin run-parts --lsbsysinit /etc/update-motd.d > /var/run/ motd.new" )) 1/debian/ patches- applied/ update- motd:+ if (!system( "/usr/bin/ env -i PATH=/usr/ local/sbin: /usr/local/ bin:/usr/ sbin:/usr/ bin:/sbin: /bin /bin/run-parts --lsbsysinit /etc/update-motd.d > /var/run/ motd.new" ))
./pam-1.
./pam-1.
pam-1.1.