Activity log for bug #1490574

Date Who What changed Old value New value Message
2015-08-31 13:37:40 Ricardo Kirkner bug added bug
2015-08-31 14:04:24 Michael Vogt snappy: status New Triaged
2015-08-31 14:04:26 Michael Vogt snappy: importance Undecided Critical
2015-09-02 22:17:01 Ricardo Kirkner summary add support for raw systemd unit files add support for services that fork themselves
2015-09-02 22:17:48 Ricardo Kirkner description While writing a snappy package, I found an issue where systemd would not start the service defined in my snap package properly. Upon closer inspection of the issue (thanks mvo!) we found that the problem was that the application itself was already forking to become a daamon, which requires the unit file to indicate this by adding Type=forking to the Service description. After adding that stanza manually, the service started properly via systemd. Please add support to snappy to either specify that the service handles forking itself, or by shipping a custom systemd unit file as part of the package. While writing a snappy package, I found an issue where systemd would not start the service defined in my snap package properly. Upon closer inspection of the issue (thanks mvo!) we found that the problem was that the application itself was already forking to become a daamon, which requires the unit file to indicate this by adding Type=forking to the Service description. After adding that stanza manually, the service started properly via systemd. Please add support to snappy to specify that the service handles forking itself, thus causing the systemd unit file to have a Type=forking in the Service section.
2015-09-04 07:27:57 Michael Vogt nominated for series snappy/15.04
2015-09-04 07:27:57 Michael Vogt bug task added snappy/15.04
2015-09-04 07:51:25 Michael Vogt branch linked lp:~mvo/snappy/snappy-lp1490574-systemd-type-forking
2015-09-18 06:42:42 Michael Vogt snappy: status Triaged Fix Released
2015-09-18 06:42:46 Michael Vogt snappy/15.04: status New Fix Released