On Sat, 30 Jul 2016 18:40:21 +0000, Chris Knadle wrote: Hi Chris! > >> > After the upgrade, chosing not to auto-start the daemon, I get this:
So madduck has set START_IODINED to false in /etc/default/iodine > >> > ● iodined.service - A daemon for tunneling traffic over DNS queries > >> > Loaded: loaded (/lib/systemd/system/iodined.service; disabled; vendor > >> > preset: enabled) > >> > Active: activating (auto-restart) (Result: exit-code) since Wed > >> > 2016-07-27 13:17:34 CEST; 4ms ago > >> > Docs: man:iodined(8) > >> > Process: 2277 ExecStartPre=/bin/sh -xc test ${START_IODINED} = true > >> > (code=exited, status=1/FAILURE) and the new /lib/systemd/system/iodined.service exists with 1 because START_IODINED != true > Unfortunately I don't see what the failure is about. See above :) > Something to note about this: systemd spitting out such a failure *does > not* mean that the service didn't start. One still needs to do a 'ps > -ef' and look for the service to make sure it's not running. Interesting ... but still, this failure means that dpkg aborts the upgrade, so we have a problem here. (And if the service runs its unwanted.) > >> > Please use systemd masking instead of the silly shell test and > >> > /etc/default/* file variable to control whether the daemon should be > >> > started. > > Sounds good, I just haven't found yet how to do this from the > > packaging side. > Enabling/disabling a service via an /etc/default file is not meant to be > done with systemd: > https://wiki.ubuntu.com/SystemdForUpstartUsers#A.2Fetc.2Fdefault_files_which_enable.2Fdisable_jobs Right. And "There is no clean way to evaluate these in a systemd unit. You can check them in ExecStartPre=, but that would mean that the unit will be in "failed" state if the service gets disabled that way, and so, is not desirable." matches what we see here. > I'm running systemd (and have for several years) and am happy to help > with this if I can. Thanks! Cheers, gregor -- .''`. Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - https://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Robert Mitchum: From A Logical Point Of View
signature.asc
Description: Digital Signature