[Bug 1192242] New: transactional-update 3.6.0 do not correctly mount /etc inside the snapshot
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242 Bug ID: 1192242 Summary: transactional-update 3.6.0 do not correctly mount /etc inside the snapshot Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: MicroOS Assignee: kubic-bugs@opensuse.org Reporter: aplanas@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Using a fresh microos installation (or an updated one) with t-u 3.6.0, when a package try to install configuration files in /etc, the files are not sync back into the current /etc and the overlay get lost: # transactional-update pkg in salt-minion (This will create some config files in /etc/salt) # ls -la /etc/salt ls: cannot access '/etc/salt': No such file or directory # mount ... overlay on /etc type overlay (rw,relatime,seclabel,lowerdir=/sysroot/etc,upperdir=/sysroot/var/lib/overlay/1/etc,workdir=/sysroot/var/lib/overlay/work-etc) ... But the overlay is there: # ls /var/lib/overlay/ 1 3 transactional-update.newsnapshot work-etc # ls /var/lib/overlay/3/salt ... # cat /etc/fstab ... UUID=3de12086-e4a4-4770-b4d5-c19a22ccdab4 /var btrfs defaults,x-initrd.mount 0 0 overlay /etc overlay defaults,lowerdir=/sysroot/etc,upperdir=/sysroot/var/lib/overlay/1/etc,workdir=/sysroot/var/lib/overlay/work-etc,x-systemd.requires-mounts-for=/var,x-systemd.requires-mounts-for=/sysroot/var,x-initrd.mount 0 0 A shell shows the pending changes in etc, mounting the overlay: # transactional-update -c -d shell # ls /etc/salt ... And a touch in /etc seems to trigger the rsync: # touch /etc/changed # exit ... rsync: [receiver] rsync_xal_set: lremovexattr("/etc/.","security.selinux") failed: Permission denied (13) ... rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3] 2021-11-02 10:09:00 Discarding snapshot 4. ERROR: `rsync --archive --inplace --xattrs --acls --exclude 'fstab' --delete --quiet '/.snapshots/4/snapshot/etc/' /etc` returned with error code 23. transactional-update finished -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242#c1
--- Comment #1 from Alberto Planas Dominguez
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242#c2
--- Comment #2 from Alberto Planas Dominguez
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242
Alberto Planas Dominguez
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242#c3
--- Comment #3 from Alberto Planas Dominguez
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242#c4
--- Comment #4 from Alberto Planas Dominguez
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242#c5
--- Comment #5 from Alberto Planas Dominguez
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242#c6
--- Comment #6 from Alberto Planas Dominguez
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242#c7
--- Comment #7 from OBSbugzilla Bot
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242
http://bugzilla.opensuse.org/show_bug.cgi?id=1192242#c8
Ignaz Forster
participants (1)
-
bugzilla_noreply@suse.com