When not setting the filesize via config, a invalid default is read.
Jun 09 07:54:23 systemd[1]: Starting mtda-systemd-helper.service - Service to monitor changes to mtda config file...
Jun 09 07:54:24 mtda-systemd-helper[806]: Traceback (most recent call last):
Jun 09 07:54:24 mtda-systemd-helper[806]: File "/usr/sbin/mtda-systemd-helper", line 67, in <module>
Jun 09 07:54:24 mtda-systemd-helper[806]: sys.exit(app.main())
Jun 09 07:54:24 mtda-systemd-helper[806]: ~~~~~~~~^^
Jun 09 07:54:24 mtda-systemd-helper[806]: File "/usr/sbin/mtda-systemd-helper", line 55, in main
Jun 09 07:54:24 mtda-systemd-helper[806]: self.agent.load_config(None, True, config)
Jun 09 07:54:24 mtda-systemd-helper[806]: ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
Jun 09 07:54:24 mtda-systemd-helper[806]: File "/usr/lib/python3.13/dist-packages/mtda/main.py", line 1581, in load_config
Jun 09 07:54:24 mtda-systemd-helper[806]: self.load_subsystem(sub, parser, postconf)
Jun 09 07:54:24 mtda-systemd-helper[806]: ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
Jun 09 07:54:24 mtda-systemd-helper[806]: File "/usr/lib/python3.13/dist-packages/mtda/main.py", line 1636, in load_subsystem
Jun 09 07:54:24 mtda-systemd-helper[806]: instance.configure(dict(parser.items(subsystem)))
Jun 09 07:54:24 mtda-systemd-helper[806]: ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jun 09 07:54:24 mtda-systemd-helper[806]: File "/usr/lib/python3.13/dist-packages/mtda/storage/usbf.py", line 84, in configure
Jun 09 07:54:24 mtda-systemd-helper[806]: os.truncate(str(sparse), CONSTS.IMAGE_FILESIZE)
Jun 09 07:54:24 mtda-systemd-helper[806]: ^^^^^^^^^^^^^^^^^^^^^
Jun 09 07:54:24 mtda-systemd-helper[806]: AttributeError: module 'mtda.constants' has no attribute 'IMAGE_FILESIZE'
When not setting the filesize via config, a invalid default is read.