Bug#635711: monkeysphere: post-installation script returned error exit status 141

2016-12-14 Thread Andreas Beckmann
Followup-For: Bug #635711 Control: found -1 0.37-2 Hi, this is again reproducible in jessie: Selecting previously unselected package monkeysphere. (Reading database ... 8757 files and directories currently installed.) Preparing to unpack .../monkeysphere_0.37-2_all.deb ... Unpacking

Bug#635711: Still broken in monkeysphere 0.37-2 on sid

2015-02-19 Thread Thomas Klute
I still see this bug in monkeysphere 0.37-2 on sid (fresh stable install, upgrade through testing to unstable). Aptitude installation: Setting up monkeysphere (0.37-2) ... adding monkeysphere user... ms: setting up Monkeysphere authentication trust core... Failed running transition script /usr/sh

Bug#635711: [monkeysphere] Bug#635711: [PATCH] direct log input to stdout if it will not be displayed

2014-11-26 Thread Jameson Graef Rollins
On Tue, Nov 25 2014, Daniel Kahn Gillmor wrote: > Thanks for the proposed patch. I'm not sure how to test it directly, > but it seems a bit overzealous to me -- it's trying to read from stdin > even when a logging argument was passed to it. > > I suspect this only passes the test suite because th

Bug#635711: [PATCH] Always consume stdin when log is called without a message argument

2014-11-26 Thread Daniel Kahn Gillmor
See the discussion about this in https://bugs.debian.org/635711 I'm hoping this will resolve the intermittent SIGPIPEs plaguing monkeysphere's postinst. I'm still unable to reproduce the problem. If people who can reproduce the problem could try this patch and report back if it fixes things for

Bug#635711: [monkeysphere] Bug#635711: Bug#635711: Bug#635711: further analysis of monkeysphere.postinst failures

2014-11-26 Thread Clint Adams
On Wed, Nov 26, 2014 at 04:44:53PM -0500, Daniel Kahn Gillmor wrote: > but the SIGPIPE should only happen if a write is actually being done to > the closed pipe, though, right? And what would be writing to that pipe? I suppose logic would indicate that printf is writing and gpg_sphere is aborting

Bug#635711: [monkeysphere] Bug#635711: Bug#635711: further analysis of monkeysphere.postinst failures

2014-11-26 Thread Daniel Kahn Gillmor
On 11/26/2014 04:39 PM, Clint Adams wrote: > There should be no chance that gpg_sphere is not invoked in a subshell, > though I may not remember how pipelines actually work in bash. > > Presumably it starts to run but is killed off by the SIGPIPE before it > can set GNUPGHOME? but the SIGPIPE sho

Bug#635711: [monkeysphere] Bug#635711: Bug#635711: further analysis of monkeysphere.postinst failures

2014-11-26 Thread Clint Adams
On Wed, Nov 26, 2014 at 04:07:57PM -0500, Daniel Kahn Gillmor wrote: > > + printf '%s:6:\n' 473F86D46E0B3CA0611450A8C9A7E0FFD1CD8FDC > > + gpg_sphere --import-ownertrust > > + RET=141 > > this just tells us that bash wanted to invoke gpg_sphere, not that it > actually did invoke it. Had it

Bug#635711: [monkeysphere] Bug#635711: further analysis of monkeysphere.postinst failures

2014-11-26 Thread Daniel Kahn Gillmor
On 11/26/2014 01:19 PM, Clint Adams wrote: > On Tue, Nov 25, 2014 at 04:05:37PM -0500, Daniel Kahn Gillmor wrote: >> gpg_sphere is a shell function but according to the set -x it isn't even >> getting invoked before the SIGPIPE hits. > > No? > > + printf '%s:6:\n' 473F86D46E0B3CA0611450A8C9A7E0

Bug#635711: [monkeysphere] Bug#635711: further analysis of monkeysphere.postinst failures

2014-11-26 Thread Clint Adams
On Tue, Nov 25, 2014 at 04:05:37PM -0500, Daniel Kahn Gillmor wrote: > gpg_sphere is a shell function but according to the set -x it isn't even > getting invoked before the SIGPIPE hits. No? + printf '%s:6:\n' 473F86D46E0B3CA0611450A8C9A7E0FFD1CD8FDC + gpg_sphere --import-ownertrust + RET=1

Bug#635711: [monkeysphere] Bug#635711: further analysis of monkeysphere.postinst failures

2014-11-25 Thread Nick Daly
Hi, I'll try to reproduce this again this weekend, I've only been able to reproduce this regularly when attempting to setup MS on my Jessie Raspberry Pi (I believe it was an image produced by Bdale's Freedom-Maker), but I recently hosed my Pi, so I'll have to start it over from scratch again. Nick

Bug#635711: [monkeysphere] Bug#635711: [PATCH] direct log input to stdout if it will not be displayed

2014-11-25 Thread Daniel Kahn Gillmor
gpipe error. Instead, always > redirect input somewhere, so that the input pipe is not prematuring > closed. This should help fix the SIGPIPE error that we're seeing in > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635711 > --- > src/share/common | 17

Bug#635711: [PATCH] direct log input to stdout if it will not be displayed

2014-11-25 Thread Jameson Graef Rollins
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635711 --- src/share/common | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/share/common b/src/share/common index 1a228b0..ae67697 100755 --- a/src/share/common +++ b/src/share/common @@ -36,6 +36,7 @@ log() {

Bug#635711:

2014-11-25 Thread Jameson Graef Rollins
This is a suggested patch to fix the issue. The patch has the log function always accept the stdin, and redirect it to /dev/null if it doesn't intend to spit it out. All monkeysphere tests pass with this patch. Can someone test this on one of the affected systems? -- To UNSUBSCRIBE, email to

Bug#635711: further analysis of monkeysphere.postinst failures

2014-11-25 Thread Daniel Kahn Gillmor
Control: tags 635711 + unreproducible help I'm trying to get my head around the problem reported in #635711, which i continue to be unable to reproduce by hand. So far, reading the logs provided, it seems that we're getting an error 141 returned from within the transition scripts for "monkeyspher

Bug#635711: [monkeysphere] Bug#635711: monkeysphere: fails to install: Failed running transition script /usr/share/monkeysphere/transitions/0.23

2014-11-09 Thread Andreas Beckmann
On 2014-11-08 22:30, Daniel Kahn Gillmor wrote: >> Setting up monkeysphere (0.37-1) ... >> adding monkeysphere user... >> ms: setting up Monkeysphere authentication trust core... >> Failed running transition script /usr/share/monkeysphere/transitions/0.23 >> dpkg: error processing package

Bug#635711: [monkeysphere] Bug#635711: Bug#635711: Reproducing Install Error on Freedom-Maker DreamPlug Build

2014-11-09 Thread Daniel Kahn Gillmor
On Sat 2014-11-08 18:09:26 -1000, Clint Adams wrote: > On Sat, Jun 28, 2014 at 03:55:16PM -0500, Nick Daly wrote: > >> 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

Bug#635711: [monkeysphere] Bug#635711: monkeysphere: fails to install: Failed running transition script /usr/share/monkeysphere/transitions/0.23

2014-11-08 Thread Daniel Kahn Gillmor
Hi Andreas-- On Thu 2014-11-06 17:49:51 -0800, Andreas Beckmann wrote: > Followup-For: Bug #635711 > > Hi, > > during a test with piuparts I noticed your package failed to install. As > per definition of the release team this makes the package too buggy for > a relea

Bug#635711: Reproducing Install Error on Freedom-Maker DreamPlug Build

2014-11-08 Thread Daniel Kahn Gillmor
Hi Nick-- Sorry for the delay in response here. On Sat 2014-06-28 13:26:37 -0700, Nick Daly wrote: > 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

Bug#635711: [monkeysphere] Bug#635711: Reproducing Install Error on Freedom-Maker DreamPlug Build

2014-11-08 Thread Clint Adams
On Sat, Jun 28, 2014 at 03:55:16PM -0500, Nick Daly wrote: > diff -r 9e5e6d9f91b1 debian/monkeysphere.postinst > --- a/debian/monkeysphere.postinstSat Jun 28 14:54:59 2014 -0500 > +++ b/debian/monkeysphere.postinstSat Jun 28 14:55:33 2014 -0500 > @@ -21,12 +21,15 @@ > monkeys

Bug#635711: monkeysphere: fails to install: Failed running transition script /usr/share/monkeysphere/transitions/0.23

2014-11-06 Thread Andreas Beckmann
Followup-For: Bug #635711 Hi, during a test with piuparts I noticed your package failed to install. As per definition of the release team this makes the package too buggy for a release, thus the severity. >From the attached log (scroll to the bottom...): Selecting previously unselec

Bug#635711: Reproducing Install Error on Freedom-Maker DreamPlug Build

2014-06-28 Thread Nick Daly
As a follow-up, here's a much smaller version of the above patch. Thanks go to Petter for pointing me to the maintainer scripts documentation. diff -r 9e5e6d9f91b1 debian/monkeysphere.postinst --- a/debian/monkeysphere.postinst Sat Jun 28 14:54:59 2014 -0500 +++ b/debian/monkeysphere.postinst Sat

Bug#635711: Reproducing Install Error on Freedom-Maker DreamPlug Build

2014-06-28 Thread Nick Daly
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 Monkeys

Bug#635711: error on install

2011-08-01 Thread Thomas Koch
Daniel Kahn Gillmor: > Is t possible that you're running systemd or have libpam-systemd > installed? piotr and i found a bug with systemd's pam module that > triggers a failure on session termination, which would cause an error in > monkeysphere-authentication (which uses su to drop privileges and

Bug#635711: error on install

2011-07-31 Thread Daniel Kahn Gillmor
Hi Thomas-- On 07/28/2011 12:02 PM, Thomas Koch wrote: > Failed running transition script /usr/share/monkeysphere/transitions/0.23 > dpkg: error processing monkeysphere (--configure): > subprocess installed post-installation script returned error exit status 141 > configured to not write apport r

Bug#635711: error on install

2011-07-28 Thread Jameson Graef Rollins
Hey, Thomas. Thanks so much for the bug report, and sorry you ran into trouble. On Thu, 28 Jul 2011 12:02:54 +0200, Thomas Koch wrote: > Failed running transition script /usr/share/monkeysphere/transitions/0.23 > dpkg: error processing monkeysphere (--configure): > subprocess installed post-ins

Bug#635711: error on install

2011-07-28 Thread Thomas Koch
Package: monkeysphere Version: 0.35-2 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 My machine has never ever seen any version of monkeysphere before. Failed running transition script /usr/share/monkeysphere/transitions/0.23 dpkg: error processing monkeysphere (--configure):