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 bails
> out if there is an error):
No traces of systemd have ever touched my machine. I double checked it.

>  http://bugs.debian.org/599731
> 
> If you don't have libpam-systemd installed on the system in question,
> can you show me the output of the following command (as root):
> 
>  bash -x /usr/share/monkeysphere/transitions/0.23
> 
> This command should be idempotent (safe to run multiple times), and it
> should exit with a return code of 0.

The script makes me frighten:
- is that best practice: #!/bin/bash ? Shouldn't it be /usb/bin/env bash ?
- the script has 8 levels of conditional nesting
- it may help to move some if conditions into well named functions to indicate 
what the if statement is testing
- The initial comment says, that you may not downgrade. So couldn't you just 
test for a downgrade and bail out?

OK, anyway:
%sudo bash -x /usr/share/monkeysphere/transitions/0.23
+ set -e
+ SYSSHAREDIR=/usr/share/monkeysphere
+ export SYSSHAREDIR
+ . /usr/share/monkeysphere/defaultenv
++ SYSCONFIGDIR=/etc/monkeysphere
++ export SYSCONFIGDIR
++ SYSDATADIR=/var/lib/monkeysphere
++ export SYSDATADIR
++ LOG_LEVEL=INFO
++ KEYSERVER=pool.sks-keyservers.net
++ CHECK_KEYSERVER=true
++ STRICT_MODES=true
++ MONKEYSPHERE_USER=monkeysphere
++ PROMPT=true
+ MADATADIR=/var/lib/monkeysphere/authentication
+ MHDATADIR=/var/lib/monkeysphere/host
+ STASHDIR=/var/lib/monkeysphere/backup-from-0.23-transition
+ '[' -f /etc/monkeysphere/monkeysphere-server.conf -a '!' -f 
/etc/monkeysphere/monkeysphere-authentication.conf ']'
+ monkeysphere-authentication setup
+ '[' -d /var/lib/monkeysphere/gnupg-host ']'
+ '[' -d /var/lib/monkeysphere/gnupg-authentication ']'

Regards,

Thomas Koch, http://www.koch.ro



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to