Re: [systemd-devel] really strange behaviour after using machinectl shell

2015-12-21 Thread Poncho
I've reported, what I think is the same bug to the gentoo bugtracker.
https://bugs.gentoo.org/show_bug.cgi?id=566888

___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Pulseaudio & systemd-nspawn

2015-11-09 Thread Poncho
On 09.11.2015 11:29, Kai Hendry wrote:
> On Mon, 2 Nov 2015, at 09:46 PM, Felipe Sateler wrote:
>> Maybe the better option is to load the tcp pulseaudio module, allow 
>> connections from the container ip, and inject PULSE_SERVER envvar into 
>> the container.
> 
> Using tcp will not work since I'm using OpenVPN which seems to usurp all
> network traffic.
> 
> Any other ideas?
> 
> Many thanks,
> ___
> systemd-devel mailing list
> systemd-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> 

This works for me:

--bind=/run/user/1000/pulse:/run/user/host/pulse

/run/user/1000 gets mounted as tmpfs in the container as soon as you
login with the id 1000 user, therefore bind mount it to /run/user/host

then, use systemd-run with
--setenv=PULSE_SERVER=unix:/run/user/host/pulse/native
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel