I have kind of the same behavior. Installed MicroOS on baremetal (I assume, though, that this would do the same with Openstack image), then installed docker on it (transactional-update -n pkg install docker), then rebooted. At first, everything worked. That was yesterday. Left the machine up and running and, this morning, I saw that the etc directory was empty (while my last commands was showing something in it). Weird.... Rebooted the server and now, it does not boot anymore, with this error: Overlayfs: failed to revolve '/sysroot/var/lib/overlay/2/etc': -2 Failed to mount /sysrot/etc/... So it's falling to evergency mode, where I can see that the overlays (/sysroot/etc for lowerdir, /sysroot/var/lib/overlay/etc for upperdir, and /sysroot/var/lib/overlay/work-etc for workdir) are all there, but not exactly at the same path the system is looking at... Any clue ? -- Christian Tardif Architecte principal infonuagique | Cloud computing senior Architect Network IaaS Bell Canada -----Original Message----- From: Adam Mizerski <adam@mizerski.pl> Sent: Wednesday, February 27, 2019 7:13 AM To: opensuse-support@opensuse.org Subject: [opensuse-support] Re: user disappeared W dniu 24.01.2019 o 19:32, Adam Mizerski pisze:
Hi,
I've got an odd problem, that probably deserves a bug report, but I don't know where to start looking for evidence.
I'm running openSUSE 15.0 "transactional server" on a vps. I had freenet daemon installed, running as a dedicated "freenet" user.
What happened is that the "freenet" user suddenly disappeared. It's not mentioned in /etc/passwd, /etc/shadow nor /etc/group. If I do "ls -l" in /home/freenet, there are numbers instead of owner and group. Service obviously fails to start.
I had a look at logs, but there's nothing alarming.
Do you have any clues, what could go wrong?
So, this happened again. Not only this, but also some other files in /etc got reverted to earlier versions. It seems to me that the mechanism of making /etc overlays does some weird stuff. I've found that my config files are still available in /var/lib/overlay/*, but those overlays are not mounted. # mount | grep overlay overlay on /etc type overlay (rw,relatime,lowerdir=/sysroot/var/lib/overlay/168/etc:/sysroot/var/lib/overlay/167/etc:/sysroot/var/lib/overlay/166/etc:/sysroot/var/lib/overlay/165/etc:/sysroot/var/lib/overlay/164/etc:/sysroot/var/lib/overlay/163/etc:/sysroot/var/lib/overlay/162/etc:/sysroot/var/lib/overlay/161/etc:/sysroot/var/lib/overlay/160/etc:/sysroot/var/lib/overlay/159/etc:/sysroot/var/lib/overlay/158/etc:/sysroot/var/lib/overlay/etc:/sysroot/etc,upperdir=/sysroot/var/lib/overlay/169/etc,workdir=/sysroot/var/lib/overlay/work-etc) /var/lib/overlay/etc/wireguard/wg0.conf has some very old version, which is visible now in /etc Those are newer versions that I've made (overlay 151 is the latest version I expected to find in /etc): # ls -la /var/lib/overlay/*/etc/wireguard/wg0.conf -rw------- 1 root root 600 01-14 11:43 /var/lib/overlay/146/etc/wireguard/wg0.conf -rw------- 1 root root 725 01-25 12:05 /var/lib/overlay/151/etc/wireguard/wg0.conf It seems the same happened to /etc/passwd, which caused my freenet user to disappear. Do you have any suggestions on how to debug this further? -- Adam Mizerski