Re: [oe-core][PATCH] sysvinit: create tmpfile dir for x11 domain socket

Ross Burton
2025-10-15T14:38:13Z

On 8 Oct 2025, at 00:48, rs@ti.com wrote:
>
> From: Randolph Sapp <rs@ti.com>
>
> Register a volatile directory entry for the x11 domain socket when not
> using systemd. This will make sure the directory is always created with
> the correct permissions. Systemd already provides their own tmpfile.d
> entry for the same behavior.

We discussed this in the patch review call on Monday and concluded that it definitely felt like it should be in the xserver recipe.

> Currently some x11 related applications will create this directory if it
> doesn't already exist, but this is not true for everything. In addition,
> if the application in question isn't started as root, it's possible this
> directory can be owned by a non-root user. This isn't an issue by
> itself, but it can potentially lead to problems in a multi-user
> environment.

Can you clarify what applications will create this directory and which will not? Surely it’s the responsibility for the xserver to create the sockets?

Ross