Am 27.07.2015 um 21:39 schrieb Lennart Poettering:
On Wed, 15.07.15 16:24, Reindl Harald (h.rei...@thelounge.net) wrote:why does systemd *randomly* try to create "RuntimeDirectory" for "ExecStartPost" and so terminates a perfectly up and running service because the "file exists" error? Fedora 21 as well as Fedora 22 https://bugzilla.redhat.com/show_bug.cgi?id=1226509#c3 Jul 15 16:19:43 rawhide systemd: Stopping Test Unit... Jul 15 16:19:43 rawhide systemd: Stopped Test Unit. Jul 15 16:19:43 rawhide systemd: Starting Test Unit... Jul 15 16:19:43 rawhide systemd: Failed at step RUNTIME_DIRECTORY spawning /usr/bin/true: File exists Jul 15 16:19:43 rawhide systemd: test2.service: control process exited, code=exited status=233 Jul 15 16:19:43 rawhide systemd: Failed to start Test Unit. Jul 15 16:19:43 rawhide systemd: Unit test2.service entered failed state. Jul 15 16:19:43 rawhide systemd: test2.service failed.Can you file an issue about this on github with a reproducer for v221 or v222? Thanks!
the reproducer is in https://bugzilla.redhat.com/show_bug.cgi?id=1226509#c3 just a few lines of a systemd-unit
dunno if this affects v221 and v222 too - Fedora user but it is very likely since it exists from v216 to v219why not just dig in the code and remove that completly useless "file exists" check instead be happy that the folder is already there?
signature.asc
Description: OpenPGP digital signature
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel