Daemons do not have an /run/user/* dir created
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I'm working on the Mir-Kiosk snap. It has Mir running as a "daemon: simple". Mir wants an XDG_RUNTIME_DIR directory for its sockets.
Snapd does set the $XDG_RUNTIME_DIR environment variable for it (/run/user/
(I'm creating it myself to work around lp:1656340)
Use this snapcraft file for evidence of this bug:
name: daemon-
version: "0.1"
summary: Daemon has no XDG_RUNTIME_DIR
description: Daemon has no XDG_RUNTIME_DIR
grade: devel
confinement: strict
apps:
xdg:
command: ls -l /run/user/`id -u`
daemon: simple
parts:
empty:
plugin: nil
You'll see a line like this in the journal:
daemon-
summary: |
- Daemon's do not have an /run/user/* dir created + Daemons do not have an /run/user/* dir created |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in snappy: | |
status: | New → Confirmed |
no longer affects: | snappy |
Changed in snapd: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in snapd: | |
status: | Confirmed → Fix Released |