Summary: | app-crypt/monkeysphere-0.37 : * ERROR: app-crypt/monkeysphere-0.37::gentoo failed (postinst phase): | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Kristian Fiskerstrand (RETIRED) <k_f> |
Status: | RESOLVED INVALID | ||
Severity: | normal | Keywords: | LATER |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
app-crypt:monkeysphere-0.37:20150905-194940.log
emerge-history.txt |
Description
Toralf Förster
![]() Created attachment 411086 [details]
app-crypt:monkeysphere-0.37:20150905-194940.log
Created attachment 411088 [details]
emerge-history.txt
What happens if you try to run "monkeysphere-authentication setup" directly in the commandline after an install? (In reply to Kristian Fiskerstrand from comment #3) > What happens if you try to run "monkeysphere-authentication setup" directly > in the commandline after an install? tinderbox@tor-relay ~ $ sc volumes/amd64-kde-unstable_20150820-150929 tor-relay / # eix -I app-crypt/monkeysphere [I] app-crypt/monkeysphere Available versions: (~)0.36-r1^t (~)0.36-r2^t (~)0.37(0/0)^t {test} Installed versions: 0.37^t(09:49:49 PM 09/05/2015) Homepage: http://web.monkeysphere.info/ Description: Leverage the OpenPGP web of trust for OpenSSH and Web authentication tor-relay / # monkeysphere-authentication setup ms: setting up Monkeysphere authentication trust core... tor-relay / # exit logout (In reply to Toralf Förster from comment #4) > (In reply to Kristian Fiskerstrand from comment #3) > > What happens if you try to run "monkeysphere-authentication setup" directly > > in the commandline after an install? > > tinderbox@tor-relay ~ $ sc volumes/amd64-kde-unstable_20150820-150929 > tor-relay / # eix -I app-crypt/monkeysphere > [I] app-crypt/monkeysphere > Available versions: (~)0.36-r1^t (~)0.36-r2^t (~)0.37(0/0)^t {test} > Installed versions: 0.37^t(09:49:49 PM 09/05/2015) > Homepage: http://web.monkeysphere.info/ > Description: Leverage the OpenPGP web of trust for OpenSSH and > Web authentication > > tor-relay / # monkeysphere-authentication setup > ms: setting up Monkeysphere authentication trust core... and the return code is 0 / SUCCESS? this is the only command that is run in postinst - I'm wondering if we're hitting some hardened-issue here.. (In reply to Kristian Fiskerstrand from comment #5) > and the return code is 0 / SUCCESS? now: yes : tinderbox@tor-relay ~ $ sc volumes/amd64-kde-unstable_20150820-150929 tor-relay / # monkeysphere-authentication setup tor-relay / # echo $? 0 tor-relay / # exit logout (In reply to Toralf Förster from comment #6) > (In reply to Kristian Fiskerstrand from comment #5) > > > and the return code is 0 / SUCCESS? > > now: yes : > ok, the setup function is idempotent and can be run as often as we'd like, however are you still hitting the issue from the ebuild? And if you don't now, what about if you start from a clean slate by deleting /var/lib/monkeysphere. It would be interesting to try to get the return value from an unsuccessful run if you can still replicate it, and even better if you can set MONKEYSPHERE_LOG_LEVEL=debug env variable on an unsuccessful run. great, the issue itself is not idempotent :-/ emerges now w/o problems after unmerging and cleaning of /var/lib/monkeysphere, setup works fine too: tor-relay / # monkeysphere-authentication setup ms: checking authentication directory structure... ms: writing core gpg.conf... ms: writing sphere gpg.conf... ms: fixing sphere gnupg home ownership... ms: determining core key fingerprint... ms: core fingerprint: 2E5605E693A137EDADCB64C62B399B4E7B11279C ms: Monkeysphere authentication trust core already exists. ms: exporting core pub key to sphere keyring... ms: setting ultimate owner trust on core key in gpg_sphere... ms: # List of assigned trustvalues, created Mon 14 Sep 2015 08:16:36 PM CEST ms: # (Use "gpg --import-ownertrust" to restore them) ms: 2E5605E693A137EDADCB64C62B399B4E7B11279C:6: ms: checking gpg_sphere owner trust set properly... ms: checking trust model for authentication ... ms: sphere trust model: 1:3:1 tor-relay / # echo $? 0 Damn - sry. So either I've seriously to consider if the underlying BTRFS file system of the tinderbox is stable enough (hardened kernel 4.1.6) - or some package of the 3800 packages between 5th of September end end of life time of this image (Sun Sep 13 03:10:45 2015) let the issue vanish - or ? FWIW: tor-relay monkeysphere # diff -r ./ /tmp/monkeysphere/ Only in /tmp/monkeysphere/authentication/core/private-keys-v1.d: 757C73090EA3762507AFA0C3DA91BB2F58426431.key Only in ./authentication/core/private-keys-v1.d: B326757C6E224D3C6E6A7788A8F5244C33C95200.key Binary files ./authentication/core/pubring.kbx and /tmp/monkeysphere/authentication/core/pubring.kbx differ Binary files ./authentication/core/pubring.kbx~ and /tmp/monkeysphere/authentication/core/pubring.kbx~ differ File ./authentication/core/S.gpg-agent is a socket while file /tmp/monkeysphere/authentication/core/S.gpg-agent is a socket Binary files ./authentication/core/trustdb.gpg and /tmp/monkeysphere/authentication/core/trustdb.gpg differ Binary files ./authentication/sphere/pubring.kbx and /tmp/monkeysphere/authentication/sphere/pubring.kbx differ Binary files ./authentication/sphere/pubring.kbx~ and /tmp/monkeysphere/authentication/sphere/pubring.kbx~ differ File ./authentication/sphere/S.gpg-agent is a socket while file /tmp/monkeysphere/authentication/sphere/S.gpg-agent is a socket Binary files ./authentication/sphere/trustdb.gpg and /tmp/monkeysphere/authentication/sphere/trustdb.gpg differ So - closing this as "a damn- 1-day-bug" ? (In reply to Toralf Förster from comment #8) > great, the issue itself is not idempotent :-/ > > So - closing this as "a damn- 1-day-bug" ? Sounds like a plan to me :) *** Bug 584942 has been marked as a duplicate of this bug. *** *** Bug 579240 has been marked as a duplicate of this bug. *** *** Bug 583612 has been marked as a duplicate of this bug. *** |