mail archive of the rauc mailing list
 help / color / mirror / Atom feed
* [RAUC] Failed to mount seed slot
@ 2019-05-06 17:44 Ladislav Michl
  2019-05-07  7:31 ` Ladislav Michl
  0 siblings, 1 reply; 7+ messages in thread
From: Ladislav Michl @ 2019-05-06 17:44 UTC (permalink / raw)
  To: rauc

Hi there,

I'm using rauc with casync to update target system - it is symmetric rootfsA,
rootfsB, scenario, so slots are defined as:
[slot.rootfs.0]
device=/dev/ubi0_0
type=ubifs
bootname=system0

[slot.rootfs.1]
device=/dev/ubi0_1
type=ubifs
bootname=system1

Now system is booted with rootfs mounted read only which makes mounting seed
slot fail:
rauc[871]: Mounting /dev/ubi0_0 to use as seed
rauc[871]: launching subprocess: mount -t ubifs /dev/ubi0_0 /run/rauc/rootfs.0
rauc[871]: posix_spawn avoided (fd close requested) (child_setup specified) 
rauc[871]: mount: /run/rauc/rootfs.0: /dev/ubi0_0 already mounted or mount point busy.

Here adding '-o ro' would quick fix it up (but break rw case, as options have to
match), so it seems better to use bind mount as comment casync_extract_image
function suggests, but do not see it code.

Am I missing anything?

Thank you,
	ladis

_______________________________________________
RAUC mailing list

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

end of thread, other threads:[~2019-05-09 11:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-06 17:44 [RAUC] Failed to mount seed slot Ladislav Michl
2019-05-07  7:31 ` Ladislav Michl
2019-05-07 15:49   ` Ladislav Michl
2019-05-07 17:59     ` Trent Piepho
2019-05-07 20:33       ` Ladislav Michl
2019-05-09 11:32         ` Ladislav Michl
2019-05-08  5:44       ` Ladislav Michl

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