logiops icon indicating copy to clipboard operation
logiops copied to clipboard

Failed to start logid.service: Unit logid.service is masked.

Open ibrag474 opened this issue 4 years ago • 2 comments

I installed and tried to ran it logiops by running this commands:

sudo apt install cmake libevdev-dev libudev-dev libconfig++-dev git
git clone https://github.com/PixlOne/logiops.git
cd logiops
mkdir build
cd build
cmake ..
make
sudo make install
sudo systemctl start logid

Systemctl threw this error: Failed to start logid.service: Unit logid.service is masked.

ibrag474 avatar Jun 04 '21 10:06 ibrag474

The same happened to me, I think, because I'd previously installed and uninstalled logiops through apt.

I've checked that the unit was pointing to /dev/null with file:

file /etc/systemd/system/logid.service 
/etc/systemd/system/logid.service: symbolic link to /dev/null

Then I've removed the symbolic link and executed sudo systemctl enable --now logid and it worked.

Hope it helps.

fgsalomon avatar Aug 24 '22 21:08 fgsalomon

Can be fixed just by systemctl unmask logid

ExposedCat avatar Nov 23 '22 21:11 ExposedCat