[pulseaudio-discuss] Pulseaudio server for playing 32-bit chroot sounds on 64-bit host machine

Lennart Poettering lennart at poettering.net
Mon Apr 27 05:58:28 PDT 2009


On Mon, 27.04.09 17:52, Ng Oon-Ee (ngoonee at gmail.com) wrote:

> Once I chroot into my 32-bit chroot, this is the output of `ls -la ~/.pulse`
>
> total 96
> drwx------  2 ngoonee ngoonee  4096 2009-04-27 17:42 .
> drwx------ 53 ngoonee ngoonee  4096 2009-04-27 17:39 ..
> -rw-------  1 ngoonee ngoonee 12288 2009-04-27 17:42  
> 0e0aa8e4defa50a16bb9d5c349f5dd35:card-database.i686-pc-linux-gnu.gdbm
> -rw-------  1 ngoonee ngoonee 12288 2009-04-27 17:42  
> 0e0aa8e4defa50a16bb9d5c349f5dd35:device-volumes.i686-pc-linux-gnu.gdbm
> lrwxrwxrwx  1 ngoonee ngoonee    23 2009-04-27 17:42  
> 0e0aa8e4defa50a16bb9d5c349f5dd35:runtime -> /tmp/pulse-2L9K88eMlGn7
> -rw-------  1 ngoonee ngoonee 12288 2009-04-27 17:42  
> 0e0aa8e4defa50a16bb9d5c349f5dd35:stream-volumes.i686-pc-linux-gnu.gdbm
> -rw-------  1 ngoonee ngoonee 12288 2009-04-27 17:37  
> 97d309d0bcf94d1cd753ce7449f50f47:card-database.x86_64-unknown-linux-gnu.gdbm
> -rw-r--r--  1 ngoonee ngoonee    19 2009-04-27 17:38  
> 97d309d0bcf94d1cd753ce7449f50f47:default-sink
> -rw-r--r--  1 ngoonee ngoonee    18 2009-04-27 17:38  
> 97d309d0bcf94d1cd753ce7449f50f47:default-source
> -rw-------  1 ngoonee ngoonee 13736 2009-04-27 17:38  
> 97d309d0bcf94d1cd753ce7449f50f47:device-volumes.x86_64-unknown-linux-gnu.gdbm
> lrwxrwxrwx  1 ngoonee ngoonee    23 2009-04-27 17:37  
> 97d309d0bcf94d1cd753ce7449f50f47:runtime -> /tmp/pulse-PKdhtXMmr18n
> -rw-------  1 ngoonee ngoonee 13147 2009-04-27 17:40  
> 97d309d0bcf94d1cd753ce7449f50f47:stream-volumes.x86_64-unknown-linux-gnu.gdbm
>
> So, as can be seen, the 32-bit install ignores the 'runtime' within  
> ~/.pulse, hence the reason my /tmp contains a few pulse-XXXX  
> directories. It is falling through to condition 5 in your steps.

Since the settings PA stores are machine specific PA includes the
(D-Bus) machine id in those filenames (the prefix up to the :).

You need to make sure that your two envs share the same
/var/lib/dbus/machine_id.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list