Skip to content

Symlink pointing to a temporary mounting point #151

@CodeSkink

Description

@CodeSkink

I kept installing Modly on my Linux Mint 22.3 system and it would not restart after shutting it down. After multiple tries I asked Claude AI.

Below is part of the answer Claude AI gave:

There's the problem.

The symlink points to: /tmp/.mount_Modly-6nLBBJ/resources/python-embed/bin/python3

That's inside the AppImage's temporary mount point.

When the AppImage is running, it mounts itself to /tmp/.mount_Modly-XXXXXX/ — but that mount point gets a random suffix every launch.

So the symlink is hardcoded to 6nLBBJ but next time it mounts as 7xKPQR or something else, and the symlink instantly breaks.

This is a bug in Modly — it's bundling its own Python and creating venv symlinks pointing to the ephemeral mount path instead of a stable location.

The workaround is ugly but reliable until Modly fixes the bug. I'd also recommend reporting it to them — the embedded Python venv symlink should point to a stable path, not an ephemeral

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions