diff options
author | Will Woods <wwoods@redhat.com> | 2012-10-16 17:04:34 -0400 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-10-23 01:53:02 +0200 |
commit | bcbd5405b1b6d9d219259e3be2c3ec4d92812bcb (patch) | |
tree | d2e30f3def858fe5b311e5c98cd15ce954781792 /man | |
parent | 5411ae4782270e8e82b05e4c7c8135f4eb774dda (diff) |
mount: make sure m->where is set before unit_add_exec_dependencies()
If you enter unit_add_exec_dependencies with m->where = NULL, you'll
very likely end up aborting somewhere under socket_needs_mount.
(When systemd goes to check to see if the journald socket requires your
mount, it'll do path_startswith(path, m->where)... *kaboom*)
This patch should ensure that:
a) both branches in mount_add_one() set m->where, and
b) mount_add_extras() calls unit_add_exec_dependencies() *after*
setting m->where.
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions