public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/1] try unmounting all mounts before returning an error
@ 2018-03-07 11:00 Cedric Hombourger
  2018-03-07 11:00 ` [PATCH 1/1] isar-events: " Cedric Hombourger
  0 siblings, 1 reply; 5+ messages in thread
From: Cedric Hombourger @ 2018-03-07 11:00 UTC (permalink / raw)
  To: isar-users

Isar would loop forever if a mount cannot be unmounted because another
bind mount was done underneath it (e.g. <basedir>/sys/devices on top
of <basedir>/sys). Increase of chances of success by trying to unmount
everything before returning an error. In the <basedir>/sys/dev case,
we may try <basedir>/sys first and fail but would continue to unmount
<basedir>/sys/dev. On the following call, only <basedir>/sys will remain
and the unmount_all should now succeed. We may want to implement a
timeout: e.g. giveup after 30 tries (i.e. approximately 30 seconds)?

Cedric Hombourger (1):
  isar-events: try unmounting all mounts before returning an error

 meta/classes/isar-events.bbclass | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
2.11.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-03-07 11:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-07 11:00 [PATCH 0/1] try unmounting all mounts before returning an error Cedric Hombourger
2018-03-07 11:00 ` [PATCH 1/1] isar-events: " Cedric Hombourger
2018-03-07 11:24   ` Jan Kiszka
2018-03-07 11:34     ` Hombourger, Cedric
2018-03-07 11:58       ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox