notfound 700526 mksh/40.9.20120630-4
found 700526 mksh/40.9.20120630-5
severity 700526 serious
thanks

brian m. carlson dixit:

> subprocess installed post-installation script returned error exit status 30

Okay, that was the hint. I managed to trigger it even upon
downgrading mksh on one machine, having the man-db triggers
run. After some reducing, I’ve got:

-----BEGIN cutting here may damage your screen surface-----
#!/bin/sh -e

_db_cmd() {
        return $1
}

db_input() {
        _db_cmd 30
}

db_go() {
        _db_cmd 0
}

db_input medium man-db/install-setuid || true
db_go

exit 0
-----END cutting here may damage your screen surface-----

This will trigger it.

Cause is: in the latest upload, I made a fix for:
mksh -ec 'bla() { [ -x /nonexistant ] && /nonexistant; }; bla'

Previous versions of mksh would not have the error exit triggered,
and this came to light in Debian which uses set -e a lot, sadly.

Apparently, the fix makes problems with nested function calls…
I’ll revisit it.

Thanks for reporting!

bye,
//mirabilos
-- 
Support mksh as /bin/sh and RoQA dash NOW!
‣ src:bash (257 (276) bugs: 0 RC, 178 (192) I&N, 79 (84) M&W, 0 (0) F&P)
‣ src:dash (84 (98) bugs: 3 RC, 39 (43) I&N, 42 (52) M&W, 0 F&P)
‣ src:mksh (3 bug: 0 RC, 2 I&N, 1 M&W, 0 F&P)
http://qa.debian.org/data/bts/graphs/d/dash.png is pretty red, innit?


--
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