On Tue, 11.09.12 14:14, Michel Lafon-Puyo ([email protected]) wrote:

Heya,

> So the simplified dependency graph I obtain is:
> 
> remote-fs-pre.target   mnt-be.automount
>         \                  /      |
>          \                /       |
>           \              /        |
>            \            /         |
>             \          /          |
>             mnt-be.mount          |
>                                   |
>                                   |
>                               remote-fs
>                                   |
>                                   |
>                                   |
>                         systemd-user-sessions
> 
> 
> 
> As I understand it, there is no boot-up order between
> systemd-user-sessions and mnt-be.mount so on shutdown there is a
> race condition between systemd-user-sessions and mnt-be.mount.
> 
> Is it right?

Yes, this seems right.

Now, the question is what to do about it... I really have no nice way
out here short of biting the bullet and adding the ability of allowing
configuration of shutdown ordering that is not just the inverse of the
startup ordering. Then we could still allow the mount to be unordered
against remote-fs at startup but order it at shutdown.

Hmm, Michal, Kay, do you guys have any suggestions what we could do here?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to