[systemd-devel] [PATCH] units: user at .service: fix user bus path

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Fri Dec 27 06:38:13 PST 2013


On Fri, Dec 27, 2013 at 10:30:54AM +0200, Mantas Mikulėnas wrote:
> ---
>  units/user at .service.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/units/user at .service.in b/units/user at .service.in
> index 3f8b59d..1deefb0 100644
> --- a/units/user at .service.in
> +++ b/units/user at .service.in
> @@ -14,5 +14,5 @@ User=%I
>  PAMName=systemd-user
>  Type=notify
>  ExecStart=- at rootlibexecdir@/systemd --user
> -Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%I/dbus/user_bus_socket
> +Environment=DBUS_SESSION_BUS_ADDRESS=kernel:path=/dev/kdbus/%I-user/bus;unix:path=/run/user/%I/bus
>  Slice=user-%i.slice
Please make this conditional on ENABLE_KDBUS with m4_ifdef.

Zbyszek



More information about the systemd-devel mailing list