On Tue, 19.05.15 16:05, Martin Pitt (martin.p...@ubuntu.com) wrote:

> That was a red herring. Turns out that your patch only added devices
> to "around" which had "mount->just_mounted || mount->just_changed",
> which is obviously not the case for mounts which have been around for
> a while (and these are the ones we need to keep!). This patch fixes
> that; although I'm unsure yet whether we *also* need to record the ones
> with "mount->just_mounted || mount->just_changed"; my gut feeling says
> yes, and we need to restructure this a bit to run the set_put(around, ...)
> for all mount->is_mounted Mount units. WDYT?

Yes, we need to also record those which were just mounted or changed,
in case systemd rereads /proc/self/mountinfo at a time where two
mounts where created at once from the same device.

I now committed a change to implement that, can you check if this
fixes the issue for you?

Thanks!

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to