Re: [systemd-devel] bug 88401 / daemon-reload causes Type=oneshot services to be re-started / path_coldplug() is non-deserialization-aware

2015-02-21 Thread Ivan Shapovalov
On 2015-02-05 at 02:03 +0300, Ivan Shapovalov wrote: On 2015-01-28 at 22:29 +0300, Ivan Shapovalov wrote: On 2015-01-28 at 20:15 +0100, Lennart Poettering wrote: On Sun, 18.01.15 04:21, Ivan Shapovalov (intelfx...@gmail.com) wrote: Hi folks, I'm trying to fix this bug:

Re: [systemd-devel] bug 88401 / daemon-reload causes Type=oneshot services to be re-started / path_coldplug() is non-deserialization-aware

2015-02-13 Thread Ivan Shapovalov
On 2015-01-28 at 20:15 +0100, Lennart Poettering wrote: On Sun, 18.01.15 04:21, Ivan Shapovalov (intelfx...@gmail.com) wrote: Hi folks, I'm trying to fix this bug: https://bugs.freedesktop.org/show_bug.cgi?id=88401 The initial problem (as reported) looks following: performing a

Re: [systemd-devel] bug 88401 / daemon-reload causes Type=oneshot services to be re-started / path_coldplug() is non-deserialization-aware

2015-02-04 Thread Ivan Shapovalov
On 2015-01-28 at 22:29 +0300, Ivan Shapovalov wrote: On 2015-01-28 at 20:15 +0100, Lennart Poettering wrote: On Sun, 18.01.15 04:21, Ivan Shapovalov (intelfx...@gmail.com) wrote: Hi folks, I'm trying to fix this bug: https://bugs.freedesktop.org/show_bug.cgi?id=88401 The

Re: [systemd-devel] bug 88401 / daemon-reload causes Type=oneshot services to be re-started / path_coldplug() is non-deserialization-aware

2015-01-28 Thread Ivan Shapovalov
On 2015-01-28 at 20:15 +0100, Lennart Poettering wrote: On Sun, 18.01.15 04:21, Ivan Shapovalov (intelfx...@gmail.com) wrote: Hi folks, I'm trying to fix this bug: https://bugs.freedesktop.org/show_bug.cgi?id=88401 The initial problem (as reported) looks following: performing a

Re: [systemd-devel] bug 88401 / daemon-reload causes Type=oneshot services to be re-started / path_coldplug() is non-deserialization-aware

2015-01-28 Thread Lennart Poettering
On Sun, 18.01.15 04:21, Ivan Shapovalov (intelfx...@gmail.com) wrote: Hi folks, I'm trying to fix this bug: https://bugs.freedesktop.org/show_bug.cgi?id=88401 The initial problem (as reported) looks following: performing a reload (maybe implicitly) re-starts alsa-restore.service if it is

Re: [systemd-devel] bug 88401 / daemon-reload causes Type=oneshot services to be re-started / path_coldplug() is non-deserialization-aware

2015-01-23 Thread Ivan Shapovalov
On 2015-01-18 at 04:21 +0300, Ivan Shapovalov wrote: Hi folks, I'm trying to fix this bug: https://bugs.freedesktop.org/show_bug.cgi?id=88401 The initial problem (as reported) looks following: performing a reload (maybe implicitly) re-starts alsa-restore.service if it is enabled. With

Re: [systemd-devel] bug 88401 / daemon-reload causes Type=oneshot services to be re-started / path_coldplug() is non-deserialization-aware

2015-01-17 Thread Ivan Shapovalov
On 2015-01-18 at 04:21 +0300, Ivan Shapovalov wrote: [...] Questions: - is my analysis correct? - if yes, then how to fix this? Maybe add a similar if (UNIT(p)-manager-n_reloading = 0) check to path_enter_running() to avoid calling manager_add_job() during reloading? Here's what I

[systemd-devel] bug 88401 / daemon-reload causes Type=oneshot services to be re-started / path_coldplug() is non-deserialization-aware

2015-01-17 Thread Ivan Shapovalov
Hi folks, I'm trying to fix this bug: https://bugs.freedesktop.org/show_bug.cgi?id=88401 The initial problem (as reported) looks following: performing a reload (maybe implicitly) re-starts alsa-restore.service if it is enabled. With a bit of debugging I've apparently found a root cause.