mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
job: make sure we don't fail umount.target if a mount unit failed to stop
This commit is contained in:
parent
c1d6bc0e53
commit
a45b9fd094
4
TODO
4
TODO
@ -1,7 +1,3 @@
|
||||
* leaving file open on mounted non-root filesystems breaks shutdown
|
||||
systemd is confused if something goes:
|
||||
mounted→unmounting→mounted
|
||||
|
||||
* SIGQUIT on shutdown? avahi-daemon[202]: Got SIGQUIT, quitting.
|
||||
|
||||
* check if bind mounts work:
|
||||
|
@ -531,7 +531,7 @@ int job_finish_and_invalidate(Job *j, bool success) {
|
||||
|
||||
} else if (t == JOB_STOP) {
|
||||
|
||||
SET_FOREACH(other, u->meta.dependencies[UNIT_CONFLICTS], i)
|
||||
SET_FOREACH(other, u->meta.dependencies[UNIT_CONFLICTED_BY], i)
|
||||
if (other->meta.job &&
|
||||
(other->meta.job->type == JOB_START ||
|
||||
other->meta.job->type == JOB_VERIFY_ACTIVE ||
|
||||
|
Loading…
Reference in New Issue
Block a user