chestm007 / linux_thermaltake_riing

Python driver and daemon to control thermaltake Riing fans and pumps
GNU General Public License v2.0
59 stars 25 forks source link

SystemCallFilter=@system-service is invalid in Mint Linux 19.3 #44

Open MrFlibble1 opened 4 years ago

MrFlibble1 commented 4 years ago

I had no issues running the program alone, but when I tried to launch the service I continued to get the following:

● linux-thermaltake-rgb.service Loaded: loaded (/usr/share/linux_thermaltake_rgb/linux-thermaltake-rgb.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: signal) since Thu 2020-07-30 19:19:51 MDT; 4s ago Process: 10133 ExecStart=/usr/local/bin/linux-thermaltake-rgb (code=killed, signal=SYS) Main PID: 10133 (code=killed, signal=SYS)

Jul 30 19:19:51 Oden systemd[1]: linux-thermaltake-rgb.service: Main process exited, code=killed, status=31/SYS Jul 30 19:19:51 Oden systemd[1]: linux-thermaltake-rgb.service: Failed with result 'signal'. Jul 30 19:19:56 Oden systemd[1]: linux-thermaltake-rgb.service: Service hold-off time over, scheduling restart. Jul 30 19:19:56 Oden systemd[1]: linux-thermaltake-rgb.service: Scheduled restart job, restart counter is at 2.

Through trial and error and research I realized that @system-service is not in my list of filters in Mint 19.3. I've not been able to determine what the equivalent would be, or how to recreate a similar category. I have commented it out SystemCallFilter=@system-service and the service runs, just maybe a little less secure. It is possible something I have installed has modified these, but I didn't even know what this was when I started so I doubt it was me.

Wanted to post this issue with the hope it may save others from the same headache.