[Bug 1132269] [transactional server] data in /etc sometimes gets reverted to earlier version
http://bugzilla.suse.com/show_bug.cgi?id=1132269
http://bugzilla.suse.com/show_bug.cgi?id=1132269#c3
Adam Mizerski
Let's check some basics first: 1. I assume you have been using a somewhat recent version of transactional-update (i.e. >= 2.13.1) for this update. The version which was used for the update can be found in /var/log/transactional-update.log.
openSUSE 15.0 has currently transactional-update 2.11.
2. I assume the system has been rebooted after a new snapshot was created?
Yes.
3. Have you manually modified files in /var/lib/overlay?
No
You mentioned on the mailing list that the correct version of the files was still available in some older snapshot overlay. Is this also the case now? Which file(s) are affected this time?
Yes. This time I found that passwd, group, nginx, letsencrypt and wireguard files were reverted. These are the ones that I found, because things were broken. I haven't checked if others were affected. I found and recovered them using for example "md5sum /.snapshots/*/snapshot/etc/wireguard/wg0.conf"
To get a better overview of the current state could you paste the output of the following commands: - snapper list
Type | # | Pre # | Date | User | Cleanup | Description | Userdata -------+-----+-------+--------------------------+------+---------+-------------------------+-------------- single | 0 | | | root | | current | pre | 123 | | Sun Nov 25 00:54:11 2018 | root | number | RO-Clone of #122 | important=yes post | 124 | 123 | Sun Nov 25 00:54:12 2018 | root | number | Snapshot Update | pre | 125 | | Thu Nov 29 00:28:17 2018 | root | number | RO-Clone of #124 | important=yes post | 126 | 125 | Thu Nov 29 00:28:18 2018 | root | number | Snapshot Update | pre | 127 | | Fri Nov 30 00:44:32 2018 | root | number | RO-Clone of #126 | important=yes post | 128 | 127 | Fri Nov 30 00:44:32 2018 | root | number | Snapshot Update | pre | 129 | | Fri Dec 7 01:30:46 2018 | root | number | RO-Clone of #128 | important=yes post | 130 | 129 | Fri Dec 7 01:30:47 2018 | root | number | Snapshot Update | single | 192 | | Thu Apr 4 00:23:24 2019 | root | number | Snapshot Update of #191 | single | 193 | | Fri Apr 5 01:59:52 2019 | root | number | Snapshot Update of #192 | single | 194 | | Sat Apr 6 00:32:18 2019 | root | number | Snapshot Update of #193 | single | 195 | | Sun Apr 7 01:06:45 2019 | root | number | Snapshot Update of #194 | single | 196 | | Tue Apr 9 00:17:25 2019 | root | number | Snapshot Update of #195 | single | 197 | | Wed Apr 10 00:35:15 2019 | root | number | Snapshot Update of #196 | single | 198 | | Thu Apr 11 00:03:20 2019 | root | number | Snapshot Update of #197 | single | 199 | | Fri Apr 12 00:20:29 2019 | root | number | Snapshot Update of #198 | single | 200 | | Sat Apr 13 01:44:47 2019 | root | number | Snapshot Update of #199 | single | 201 | | Sun Apr 14 01:09:47 2019 | root | number | Snapshot Update of #200 | single | 202 | | Mon Apr 15 00:10:13 2019 | root | | Snapshot Update of #201 | single | 203 | | Tue Apr 16 01:19:12 2019 | root | | Snapshot Update of #202 |
- ls /var/lib/overlay
# ls /var/lib/overlay 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 etc work-etc
- cat /etc/fstab
# cat /etc/fstab /dev/system/root / btrfs ro,compress=lzo 0 0 /dev/system/root /var btrfs subvol=/@/var 0 0 /dev/system/root /usr/local btrfs subvol=/@/usr/local 0 0 /dev/system/root /tmp btrfs subvol=/@/tmp 0 0 /dev/system/root /srv btrfs subvol=/@/srv 0 0 /dev/system/root /root btrfs subvol=/@/root 0 0 /dev/system/root /opt btrfs subvol=/@/opt 0 0 /dev/system/home /home xfs defaults 0 0 /dev/system/root /boot/grub2/x86_64-efi btrfs subvol=/@/boot/grub2/x86_64-efi 0 0 /dev/system/root /boot/grub2/i386-pc btrfs subvol=/@/boot/grub2/i386-pc 0 0 /dev/system/root /.snapshots btrfs subvol=/@/.snapshots 0 0 /dev/system/swap swap swap defaults 0 0 # findmnt | grep etc ├─/etc overlay overlay rw,relatime,lowerdir=/sysroot/var/lib/overlay/202/etc:/sysroot/var/lib/overlay/201/etc:/sysroot/var/lib/overlay/200/etc:/sysroot/var/lib/overlay/199/etc:/sysroot/var/lib/overlay/198/etc:/sysroot/var/lib/overlay/197/etc:/sysroot/var/lib/overlay/196/etc:/sysroot/var/lib/overlay/195/etc:/sysroot/var/lib/overlay/194/etc:/sysroot/var/lib/overlay/193/etc:/sysroot/var/lib/overlay/192/etc:/sysroot/var/lib/overlay/191/etc:/sysroot/var/lib/overlay/etc:/sysroot/etc,upperdir=/sysroot/var/lib/overlay/203/etc,workdir=/sysroot/var/lib/overlay/work-etc -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com