Skip to content

[BUG] LM detection not working #1031

@Dariqq

Description

@Dariqq

General description of bug:

Hi,

The LM module is claiming to parse /run/systemd/sessions/$XDG_SESSION_ID but it is actually looking at /var/run/systemd/sessions/$XDG_SESSION_ID. This is causing problems for systems where /var/run is not linked to /run such as Guix System with elogind.

[
  {
    "type": "LM",
    "error": "Failed to parse /run/systemd/sessions/$XDG_SESSION_ID"
  }
]

The /run/systemd/sessions/$XDG_SESSION_ID file exists and has the expected contents. /var/run/systemd does not exist.

I don't know if changing to /run uncoditainally causes some problems on other systems. I have checked a recent debian and fedora system and there /var/run -> /run.

Also the defined macro FF_SYSTEMD_SESSIONS_PATH does not seem to get used at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions