Support for upstart and/or package source?

#1

Hi there.

First of all, great job! live your zymkey4.

I’m experimenting with zymkey and xbian on my rpi3.
Since xbian is using upstart instead of systemd, I’m getting errors like:

$ sudo apt-get install --assume-yes --reinstall zkifc
[...]
Preparing to unpack .../zkifc_1.2-17_armhf.deb ...
Failed to stop zkifc.service: Unknown unit: zkifc.service...............................................................................................]
See system logs and 'systemctl status zkifc.service' for details.
Failed to get load state of zkifc.service: No such property 'LoadState'
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Failed to stop zkifc.service: Unknown unit: zkifc.service
See system logs and 'systemctl status zkifc.service' for details.
Failed to get load state of zkifc.service: No such property 'LoadState'
dpkg: error processing archive /var/cache/apt/archives/zkifc_1.2-17_armhf.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Failed to restart zkifc.service: No such method 'RestartUnit'
See system logs and 'systemctl status zkifc.service' for details.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/zkifc_1.2-17_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

For zkifc and zkbootrtc.
I wanted to take a look at the source and fix it myself (would PR ofc), but I wasn’t able to find any source or more detailed information on that issue.

So, I guess my questions are:

  1. are your packages not opensource?
    1.1 if no, are you planing to do so?
    1.2 if yes, where is the source hosted?

  2. any plans on supporting upstart? or: why has your service a hard dependency on systemd? couldn’t you use something more generic? (like service zkifc start or some if/else’s or whatever)

thanks so much and keep up the good work!

Best,
f4bio

#2
  1. are your packages not opensource?
    1.1 if no, are you planing to do so?

Our code is not open source and we have no plans to do so.

  1. any plans on supporting upstart? or: why has your service a hard dependency on systemd? couldn’t you use something more generic? (like service zkifc start or some if/else’s or whatever)

We went with systemd because it was the default in Raspbian, which is what the majority of our customers use. In fact, the majority of the distributions use systemd now. We have no plans to support upstart. However, you might consider unpacking our deb files yourself to find the binaries and figure out how to get things started in upstart.