Hi folks, I've been able to reproduce this bug with regularity with Bdale's Freedom-Maker:
$ sudo apt-get install vmdebootstrap $ git clone https://alioth.debian.org/anonscm/git/freedombox/freedom-maker.git $ make -C freedom-maker dreamplug-image The DreamPlug image fails to build because Monkeysphere can't be installed due to this bug: #+begin_example Setting up monkeysphere (0.36-1) ... adding monkeysphere user... ms: setting up Monkeysphere authentication trust core... qemu: Unsupported syscall: 184 qemu: Unsupported syscall: 184 Failed running transition script /usr/share/monkeysphere/transitions/0.23 dpkg: error processing package monkeysphere (--configure): subprocess installed post-installation script returned error exit status 141 #+end_example So, unfortunately, we can't build FreedomBox images for the DreamPlug until this is fixed. Monkeysphere should handle systemd and we should skip the transition scripts when they're unnecessary. I'm trying to test the attached patch to skip unnecessary scripts, but the build testscript has been hung at this line for the last half hour. Not sure if it failed or not: #+begin_example ################################################## ### ssh connection test for success... ##### starting ssh server... #+end_example Nick
diff -r 9e5e6d9f91b1 debian/monkeysphere.postinst --- a/debian/monkeysphere.postinst Sat Jun 28 14:54:59 2014 -0500 +++ b/debian/monkeysphere.postinst Sat Jun 28 14:55:33 2014 -0500 @@ -21,14 +21,18 @@ monkeysphere fi - # try all available transitions: + # try all *necessary* transitions for trans in 0.23 0.28 ; do + if [[ "$preinstall-monkeysphere-version" == "" ]] || \ + [[ "$trans" <= "$preinstall-monkeysphere-version" ]] + then /usr/share/monkeysphere/transitions/$trans || { \ RET=$? echo "Failed running transition script " \ "/usr/share/monkeysphere/transitions/$trans" >&2 exit $RET } + fi done diff -r 9e5e6d9f91b1 debian/monkeysphere.preinst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/monkeysphere.preinst Sat Jun 28 14:55:33 2014 -0500 @@ -0,0 +1,9 @@ +#! /bin/sh + +# preinst script for monkeysphere. + +# Author: Nick Daly <nick.m.d...@gmail.com> +# Copyright: N/A + +preinstall-monkeysphere-version=`monkeysphere --version` +export preinstall-monkeysphere-version