← Back to Support Overview

NETVARA KNOWLEDGE BASE

Lemonade on Linux – model checks

Lemonade on Linux – model checks

Overview

When Lemonade is installed as a Linux system service, its model cache is stored in /var/lib/lemonade and owned by the lemonade system user and group. Because the Netvara Client runs under your Linux user account, it can only check Lemonade's model files if your Linux user account is a member of the lemonade group.

Model fingerprints are reported by the device so the Console can compare them against published versions in the reference catalogue, and are not independently verified by Netvara. A Green status means only that the device-reported fingerprint matches a published version in the catalogue, not that Netvara has reviewed or endorsed the model; if the client cannot read the model files or the fingerprint does not match a published version, the model stays Yellow (unknown).

Prerequisites

  • Netvara Client 2.8.0 or newer installed on Linux
  • Lemonade installed as a Linux system service (/var/lib/lemonade)
  • Terminal access and sudo privileges if you choose to grant group read access

What the installer asks and what it does

During python3 ~/.netvara-client/netvara_client.py setup, the installer checks whether Lemonade is installed as a system service and whether /var/lib/lemonade is already readable by your Linux user account.

If /var/lib/lemonade is present and not yet readable, the installer explains what access is needed and asks for your consent:

Run `sudo usermod -aG lemonade <user>` now? [y/N]:
  • If you accept (y): The installer runs sudo usermod -aG lemonade <user> to add your Linux user account to the lemonade group. This gives processes running as that user read access to /var/lib/lemonade without changing any Lemonade file ownership or permissions. You must log out and log back in (or restart the machine) for the new group membership to take effect.
  • Safety check for group-writable files: Before prompting, the installer checks /var/lib/lemonade for any files or folders that are writable by the lemonade group. If any Lemonade files are group-writable, the installer will not add your user to the lemonade group so the client never gains write access, and Lemonade models remain Yellow (unknown).

How to decline or skip the prompt

Granting read access is optional. You can decline in any of the following ways:

  • Press Enter or type n at the [y/N] prompt during setup.
  • Run setup with --no-sudo or set NETVARA_NO_SUDO=1 before running the installer.

If you decline, Lemonade models continue to work normally through the Netvara Client and simply show Yellow (unknown) in the Console.

How to grant access later

If you declined during setup and want to enable model checks later:

1. Add your Linux user account to the lemonade group:

   sudo usermod -aG lemonade $USER

2. Log out of your Linux session and log back in (or reboot) so your user session and background services pick up the new group membership.

On the next check cycle, the client reads the Lemonade model files in the background and models turn Green when their device-reported fingerprint matches a published version in the catalogue.

How to undo access

To remove your Linux user account from the lemonade group at any time:

1. Run:

   sudo gpasswd -d $USER lemonade

2. Log out and log back in (or reboot) for the group change to take effect across your active session and user services.

If the Netvara installer added your user to the lemonade group during setup, running python3 ~/.netvara-client/netvara_client.py uninstall also offers to run this command for you.

Troubleshooting & Common Questions

I added my user to the lemonade group, but models still show Yellow. Log out and log back in (or reboot) so the user service manager inherits the updated group membership. Also note that models turn Green only when their device-reported fingerprint matches a published version in the reference catalogue.

The installer warned about group-writable paths and refused to add the group. For safety, the installer will not add your account to the lemonade group if any path under /var/lib/lemonade is group-writable. Check the permissions on /var/lib/lemonade so that group write permission (g+w) is not set on Lemonade's files or folders.

Does the client send my local file paths or Linux user name to Netvara? No. Model evidence reported by the client includes only the hub name, model repository name (or standalone GGUF file name), revision and SHA-256 fingerprint; it does not send local directory paths, symlink paths or operating-system user names to Netvara.

← Back to Support Overview