Skip to content

/run/user/$UID is no longer created when user@ is masked #9461

@Earnestly

Description

@Earnestly
  • Arch Linux
  • systemd 239

Currently I mask user@1000 (not user@) as I can't make use of systemd --user and it helps to prevent a lot of the services it might start which I control elsewhere.

Since version 239 after logging in, that while XDG_RUNTIME_DIR is set, /run/user/1000 has not being created causing issues with local services I run such as pulseaudio.

To work around this issue I'm using sudo install -dm0700 -o "$USER" /run/user/"$UID" to manually create this directory which seems to be fine.

I believe this regression was initiated by #7339 where perhaps it should have used 2841493 with the requirements on user-runtime-dir@%j.service instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions