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