Troubleshooting - inuvika-ovd-session-manager Package Fails to Install Due to Masked systemd Unit

Troubleshooting - inuvika-ovd-session-manager Package Fails to Install Due to Masked systemd Unit

Summary

This article addresses an installation failure when setting up the inuvika-ovd-session-manager package on Ubuntu. The error relates to a systemd unit being masked.

Symptoms

Failed to enable unit: Unit file /etc/systemd/system/ovd-session-manager.socket is masked.
dpkg: error processing package inuvika-ovd-session-manager (--configure):
 installed inuvika-ovd-session-manager package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 inuvika-ovd-session-manager
        

Root Cause

The systemd socket unit ovd-session-manager.socket is masked (linked to /dev/null), which prevents systemd from enabling or starting the associated service. This can occur if the unit was manually or programmatically disabled earlier.

Resolution

Step 1: Unmask the Unit

sudo systemctl unmask ovd-session-manager.socket

Step 2: Reconfigure the Package

sudo dpkg --configure -a

Step 3: Retry the Installation

sudo apt install -f

Step 4: Enable and Start the Service (Optional)

sudo systemctl enable --now ovd-session-manager.service
Note: Ensure the package version matches your system release. For example, use the *.jammy.deb file for Ubuntu 22.04 (Jammy). You can verify your version with:
lsb_release -a

Verification

Check that the service is running:

sudo systemctl status ovd-session-manager.service

Look for:

Active: active (running)

Applies To

  • Ubuntu 22.04 LTS (Jammy Jellyfish)
    • Related Articles

    • Documentation

      OVD Enterprise Documentation Up-to-date OVD documentation is available at docs.inuvika.com. Supported versions & downloads The most current version of OVD Enterprise is 3.4.2. 3.4.2 (current version) Release Notes Download version code: ...