Unit file attached. (tested on net-misc/wicd-1.7.1_beta2-r7 and systemd-37) inherit eutils distutils systemd src_install(){... systemd_dounit "${FILESDIR}/wicd.service" Reproducible: Always
Created attachment 295073 [details] systemd unit file.
Usptream bug. https://bugs.launchpad.net/wicd/+bug/867546 Upstream service file, using dbus service type might be silly, since the actual service provided is not on dbus (in the sense I interpret the manual), but this might not be harmful either (unless systemd only acquires the dbus name and does not actually start the service until user starts the UI). https://launchpadlibrarian.net/81930085/wicd.service Quoting mgorny on #gentoo-desktop preemptively. "systemd policy is to have unit files installed by packages themselves"
I'm not using wicd myself so I can't say how it works exactly but for 'dbus' service type it is required that the daemon claims D-Bus name and starts listening to requests in all use scenarios. If the daemon starts but doesn't claim D-Bus, systemd will soon timeout, assume it hanged and kill it.
After more discussion, the upstream-submitted service file is correct and that one should be used.
Thanks for the report. I have added this in 1.7.1_pre20111210: +*wicd-1.7.1_pre20111210 (10 Dec 2011) + + 10 Dec 2011; Thomas Kahle <tomka@gentoo.org> +wicd-1.7.1_pre20111210.ebuild, + +files/wicd-1.7.1_pre20111210-wpa-psk-hex-template.patch: + Bump to snapshot of 1.7.1 beta 3 to fix accumulated bugs like bug 391397. +