Control: tags 827660 + moreinfo unreproducible

On Sun 2016-06-19 06:28:44 -0400, Klaus Ethgen wrote:
> As told, this breaks system upgrade, so setting to critical.
>
> Today I found the following error in upgrade:
>    monkeysphere (0.38-1) wird eingerichtet ...
>    Failed running transition script /usr/share/monkeysphere/transitions/0.23
>    dpkg: Fehler beim Bearbeiten des Paketes monkeysphere (--configure):
>     Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 
> zurück
>    Fehler traten auf beim Bearbeiten von:
>     monkeysphere
>
> And no further upgrade is possible anymore.

That does indeed bad, but i'm unable to replicate it.  Can you help me
better understand how you ran into this?

> I found the source for that. In monkeysphere-authentication setup it
> tries to su to monkeysphere user. But looking into
> /usr/share/monkeysphere/common, there is no "-s ..." specified in su. As
> the user has no usable shell for security measurement, the upgrade
> fails.
>
> Simply adding "-s /bin/sh" here fixes the problem.

I'm surprised to hear this.  The monkeysphere user is normally manually
configured to use /bin/bash.  I also note on your system that /bin/sh is
linked to /bin/dash, and monkeysphere scripts are not compatible with
dash, for whatever that's worth.

Can you show me the output of:

   getent passwd monkeysphere

on your system?

here's what i see on mine:

0 dkg@alice:~$ getent passwd monkeysphere
monkeysphere:x:105:112:monkeysphere authentication 
user,,,:/var/lib/monkeysphere:/bin/bash
0 dkg@alice:~$ 

> Note that this bug is maybe related to #778833 and #635711.

I don't think these are the same. Those bugs were related to issues
around pipeline failures (premature closing of the tail of a pipeline),
and would not have been solved by adding "-s /bin/sh".

Thanks for the report,

    --dkg

Attachment: signature.asc
Description: PGP signature

Reply via email to