Skip to content

intune-agent.service does not execute due to missing symlink #267

Open

Description

Hi, on Ubuntu 26.04 (KDE), I noticed that intune-agent was never working automatically. When I checked the journal, I saw these errors:

Skipping checkin with Intune: Cannot checkin before a user logs in
when ran it manually on the Terminal, it worked fine.

So I straced it and found out that the intune-agent was looking for ".local/state/intune" in user's homedir, but this state directory does not contain anything. The files it was looking for were in ".config/intune" instead. So I did a symlink and it fixed the issue.

ln -s /home/myuser/.config/intune /home/myuser/.local/state/intune

Now the intune-agent works fine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions