mooltipass / moolticute

Mooltipass crossplatform daemon/tools
GNU General Public License v3.0
143 stars 67 forks source link

Mooltipass firmware update failes with moolticuted as systemd service #1001

Open principis opened 2 years ago

principis commented 2 years ago

I'll be looking into this issue when I have more time. Some things mentioned on irc which should be looked into:

Expected behavior

On some(?) linux systems, moolticute failes to read the firmware file when moolticuted is started with a systemd service. It works when starting moolticuted manually.

Error: Bundle file is not readable

Step by step guide to reproduce the problem

Moolticute Version

v0.53.2

Operating System

Fedora 35

limpkin commented 1 year ago

still happening @principis ?

Asara commented 1 year ago

Just hit this issue myself trying to update from bundle 5 -> 12.

Stopping the systemd service and running the upgrade with the user run moolticuted works though.

principis commented 1 year ago

still happening @principis ?

Yes! It's probably due to sandboxing.