Public bug reported:

Binary package hint: mksh

mksh provides debconf to be run as /bin/sh which works fine in Debian. My Hardy 
system at work
however fails to boot with it, because at least the checkroot.sh from 
initscripts does invalid assump-
tions about the shell:

                on_ac_power >/dev/null 2>&1
                if [ "$?" -eq 1 ]
                then
                        log_warning_msg "On battery power, so skipping file 
system check."
                        rootcheck=no
                fi

⇒ fails because this stuff seems to be run with “set -e”, even though I cannot 
find where it
is enabled.

Anyway, the safest course is probably to remove all the debconf stuff and the 
po-debconf
dependency. I’ve done so in my experimental repository:

https://www.freewrt.org/~tg/debs/dists/hardy/wtf/pkgs/mksh/ contains my current 
“experimental
packaging”; if you take it over, you will want to remove 
debian/diffs/dot.mkshrc.diff which is not
intended for DEB upstream but only for my wtf repo. Also, get mksh-current from 
AnonCVS, as
it’s currently in Release Candidate state for R37, and I had a bugfix yesterday.

Otherwise, at least rid the debconf stuff.

I don’t know if the initscripts bug still exists in intrepid/jaunty/koala, or 
if it’s worth reporting it,
but unless someone really uses it, I guess they merely have the possibility to 
hurt, despite
mksh as /bin/sh on Debian being fine.

** Affects: mksh (Ubuntu)
     Importance: Undecided
         Status: New

-- 
please remove debconf stuff from mksh in MOTU
https://bugs.launchpad.net/bugs/348872
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to