problems running mandos server in debian wheezy chroot on mipsel router

Teddy Hogeborn teddy at recompile.se
Fri Oct 24 19:45:54 CEST 2014


mxsw at go4more.de writes:

> I tried to get mandos server running in a debian wheezy chroot
> environment running on a mipsel router.
>
> Using mandos 1.6.8 I get this error message:
>
> root at 192:/root# su -c 'invoke-rc.d mandos start --debug'
> 2014-10-13 20:01:59,588 root [3458]: WARNING: Could not load persistent state:
> No such file or directory
> 2014-10-13 20:01:59,768 root [3458]: DEBUG: Creating client 'xxxxx'
> 2014-10-13 20:01:59,780 root [3458]: DEBUG:   Fingerprint:
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> sem_wait: Function not implemented
> sem_wait: Function not implemented
> sem_wait: Function not implemented
> sem_wait: Function not implemented
> sem_wait: Function not implemented
> Traceback (most recent call last):
>   File "/usr/sbin/mandos", line 2883, in <module>
>     main()
>   File "/usr/sbin/mandos", line 2668, in main
>     server_settings = server_settings)
>   File "/usr/sbin/mandos", line 1235, in __init__
>     Client.__init__(self, *args, **kwargs)
>   File "/usr/sbin/mandos", line 547, in __init__
>     .Condition(multiprocessing_manager
>   File "/usr/lib/python2.7/multiprocessing/managers.py", line 667, in temp
>     token, exp = self._create(typeid, *args, **kwds)
>   File "/usr/lib/python2.7/multiprocessing/managers.py", line 565, in _create
>     conn = self._Client(self._address, authkey=self._authkey)
>   File "/usr/lib/python2.7/multiprocessing/connection.py", line 176, in Client
>     deliver_challenge(c, authkey)
>   File "/usr/lib/python2.7/multiprocessing/connection.py", line 411, in deliver_challenge
>     response = connection.recv_bytes(256)        # reject large message
> EOFError
> Exception AttributeError: AttributeError("'ClientDBusAlternate' object has no
> attribute '_locations_lock'",) in  ignored
>
> Any ideas?

Is your kernel compiled with CONFIG_SHMEM=y (check /boot/config-*)?

The Mandos server uses Python's built-in "multiprocessing" module, which
uses semaphores, which uses the POSIX semaphore functions, which
apparently likes having shared memory enabled.

/Teddy Hogeborn

-- 
The Mandos Project
http://www.recompile.se/mandos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://mail.recompile.se/pipermail/mandos-dev/attachments/20141024/2e3298d6/attachment.sig>


More information about the Mandos-Dev mailing list