• nothing to be done for prt.mkshrc (OBS home:mirabile/mksh)
• nothing to be done for prt.mkshrc (DEB wtf-mksh)
‣ DEB mksh not checked
• not much to be done for dot.mkshrc
‣ everything done that needed doing
That leaves us with:
• fix Android mkshrc
– quote colon arguments
– validate TMPDIR=/data/local/tmp DWIW
– review
• check prt.mkshrc in Debian vanilla
Both of these are not tasks inside mksh itself, but I'll track them here
too.
** Changed in: mksh
Status: Triaged => In Progress
--
You received this bug notification because you are a member of mksh
Mailing List, which is subscribed to mksh.
Matching subscriptions: mkshlist-to-mksh-bugmail
https://bugs.launchpad.net/bugs/1441853
Title:
dot.mkshrc robustness
Status in The MirBSD Korn Shell:
In Progress
Bug description:
Make dot.mkshrc (and prt.mkshrc) robust:
• work with “set -e” and “set -u”, often used in Debian
• not suck with “set -x”, well not much
• work with read-only filesystem, in particular no $TMPDIR (pointed out by
Natureshadow)
‣ especially relevant for Android /system/etc/mkshrc
It's already mostly alias-proof and function-proof¹, thankfully.
This is especially relevant for both being /bin/sh (or /system/bin/sh
ofc) and root's login shell, hence importance High where it'd
otherwise be Medium.
① Assuming the user is not stupid and defines shell functions named
“return”, “typeset”, “command”, etc. – i.e. POSIX builtins and
specials plus the ksh “typeset” one.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mksh/+bug/1441853/+subscriptions