coreos / rpm-ostree

⚛📦 Hybrid image/package system with atomic upgrades and package layering
https://coreos.github.io/rpm-ostree
Other
857 stars 193 forks source link

lsblk output changed from `/var/lib/docker` #849

Closed dustymabe closed 7 years ago

dustymabe commented 7 years ago

With the recent work to enable /var/ as mountpoint - some of the output changed when we run lsblk to show our mounts. Specifically it changed from showing the mount point of /var/lib/docker to showing /sysroot/ostree/deploy/fedora-atomic/var/lib/docker. I'm concerned that this "cosmetic" change is a symptom of a deeper problem. Can we investigate what exactly is causing this change in output? It may very well not be an issue, but could be something deeper.

[root@cloudhost ~]# lsblk | cat
NAME                          MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda                             8:0    0   40G  0 disk 
├─sda1                          8:1    0  300M  0 part /boot
└─sda2                          8:2    0 39.7G  0 part 
  ├─atomicos-root             253:0    0    3G  0 lvm  /sysroot
  └─atomicos-docker--root--lv 253:1    0 14.7G  0 lvm  /sysroot/ostree/deploy/fedora-atomic/var/lib/docker
sdb                             8:16   0   10G  0 disk 
sdc                             8:32   0  368K  0 disk 
[root@cloudhost ~]# 
[root@cloudhost ~]# 
[root@cloudhost ~]# rpm -q ostree rpm-ostree
ostree-2017.7-2.fc26.x86_64
rpm-ostree-2017.6-3.fc26.x86_64
cgwalters commented 7 years ago

I am not aware of any reason to think there's anything other than cosmetics here. (Also this issue is pure libostree)

It's the same thing as / showing up as /sysroot.

dustymabe commented 7 years ago

ok, is there any way to make it show the other way? From a user perspective I think hiding the details (the way it was) is better. WDYT?

cgwalters commented 7 years ago

Moved to https://github.com/ostreedev/ostree/issues/960

Agree that hiding the details is better, and cosmetics/UX are important, but it's not an easy fix.