On 02/12/15 at 02:00pm, Dave Young wrote:
On 02/11/15 at 04:19pm, Colin Walters wrote:
> > Rethink about it, since dracut is use /sysroot as mount point, really atomic
> > should
> > choose another dir name instead of /sysroot which conflicts with dracut.
>
> Without investigating closely, there's no conflict here, it's just
confusing.
> In the initramfs, there exists a /sysroot that points to the physical storage.
Dracut is using /sysroot as mounting point for real root since the very beginning
Also see below systemd doc (Sectin "Bootup in the Initial RAM Disk):
http://www.freedesktop.org/software/systemd/man/bootup.html
It says " If the root device can be mounted at /sysroot, the sysroot.mount unit
becomes active and initrd-root-fs.target is reached.
So there's many assumptions about /sysroot...
Hi, Dave!
I think /sysroot is ok in the 2nd kernel. It fails to mount the root in
the 2nd kernel, if we just use command "mount /dev/mapper/atomicos-root
/sysroot". Due to the fact that "/" is a bind mounted directory, so we
should mount the subdirectory to the mountpoint "/", if we want to
mount the root directory.
I think the kdump works, if we find the subdirectory correctly.
Thanks
Minfei
>
> Thus, there is a:
>
> /sysroot/ostree/deploy/rhel-atomic-host/deploy/$checksum.$serial/sysroot
>
> When booted, there is also a /sysroot which points to the physical storage.
>
> But I don't believe there is a point where there is an actual conflict.
>
>