[Bug 1182525] New: --drop-if-no-change not working
http://bugzilla.opensuse.org/show_bug.cgi?id=1182525 Bug ID: 1182525 Summary: --drop-if-no-change not working Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: MicroOS Assignee: kubic-bugs@opensuse.org Reporter: dev.dorrejo@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hello, i am using microOS with podman, and found that this option come without the needed package "inotify-tools" need to be include on the list of packages require and at the same time need to be compile when preparing the ISO. Now when i install and reboot the system tried to start a transactional-update shell and exit (ctrl + D) of the new instance, but found that the snapshot is not remove. transactional-update shell -d -c Checking for newer version. transactional-update 3.1.4 started Options: shell -d -c Separate /var detected. Opening chroot in snapshot 4, continue with 'exit' 2021-02-20 19:57:50 tukit 3.1.4 started 2021-02-20 19:57:50 Options: call 4 bash 2021-02-20 19:57:50 Executing `bash`: ���transactional update # exit ��� 2021-02-20 19:57:53 Application returned with exit status 0. 2021-02-20 19:57:53 Transaction completed. 2021-02-20 19:57:54 tukit 3.1.4 started 2021-02-20 19:57:54 Options: close 4 2021-02-20 19:57:55 New default snapshot is #4 (/.snapshots/4/snapshot). 2021-02-20 19:57:55 Transaction completed. Please reboot your machine to activate the changes and avoid data loss. New default snapshot is #4 (/.snapshots/4/snapshot/). transactional-update finished microos-labs:~ # transactional-update -d shell -c Checking for newer version. transactional-update 3.1.4 started Options: -d shell -c Separate /var detected. WARNING: You are creating a snapshot from a different base (3) than the current default snapshot (4). If you want to continue a previous snapshot use the --continue option, otherwise the previous changes will be discarded. Opening chroot in snapshot 5, continue with 'exit' 2021-02-20 19:58:08 tukit 3.1.4 started 2021-02-20 19:58:08 Options: call 5 bash 2021-02-20 19:58:08 Executing `bash`: ���transactional update # exit ��� 2021-02-20 19:58:11 Application returned with exit status 0. 2021-02-20 19:58:11 Transaction completed. 2021-02-20 19:58:12 tukit 3.1.4 started 2021-02-20 19:58:12 Options: close 5 2021-02-20 19:58:13 New default snapshot is #5 (/.snapshots/5/snapshot). 2021-02-20 19:58:13 Transaction completed. Please reboot your machine to activate the changes and avoid data loss. New default snapshot is #5 (/.snapshots/5/snapshot/). transactional-update finished microos-labs:~ # transactional-update shell -d -c Checking for newer version. transactional-update 3.1.4 started Options: shell -d -c Separate /var detected. Opening chroot in snapshot 6, continue with 'exit' 2021-02-20 19:58:37 tukit 3.1.4 started 2021-02-20 19:58:37 Options: call 6 bash 2021-02-20 19:58:37 Executing `bash`: ���transactional update # exit ��� 2021-02-20 19:58:40 Application returned with exit status 0. 2021-02-20 19:58:41 Transaction completed. 2021-02-20 19:58:41 tukit 3.1.4 started 2021-02-20 19:58:41 Options: close 6 2021-02-20 19:58:41 New default snapshot is #6 (/.snapshots/6/snapshot). 2021-02-20 19:58:41 Transaction completed. Please reboot your machine to activate the changes and avoid data loss. New default snapshot is #6 (/.snapshots/6/snapshot/). transactional-update finished microos-labs:~ # snapper list # | Type | Pre # | Date | User | Used Space | Cleanup | Description | Userdata ---+--------+-------+--------------------------+------+------------+---------+-----------------------+-------------- 0 | single | | | root | | | current | 1 | single | | s��b 20 feb 2021 16:25:49 | root | 32.00 KiB | | first root filesystem | 2 | single | | s��b 20 feb 2021 16:32:42 | root | 48.00 KiB | number | after installation | important=yes 3- | single | | s��b 20 feb 2021 17:05:48 | root | 9.73 MiB | | Snapshot Update of #1 | 4 | single | | s��b 20 feb 2021 19:57:48 | root | 22.00 MiB | | Snapshot Update of #3 | 5 | single | | s��b 20 feb 2021 19:58:07 | root | 160.00 KiB | | Snapshot Update of #3 | 6+ | single | | s��b 20 feb 2021 19:58:36 | root | 160.00 KiB | | Snapshot Update of #5 | microos-labs:~ # transactional-update --drop-if-no-change shell -c Checking for newer version. transactional-update 3.1.4 started Options: --drop-if-no-change shell -c Separate /var detected. WARNING: You are creating a snapshot from a different base (3) than the current default snapshot (6). If you want to continue a previous snapshot use the --continue option, otherwise the previous changes will be discarded. Opening chroot in snapshot 7, continue with 'exit' 2021-02-20 19:59:17 tukit 3.1.4 started 2021-02-20 19:59:17 Options: call 7 bash 2021-02-20 19:59:17 Executing `bash`: ���transactional update # exit exit ��� 2021-02-20 19:59:25 Application returned with exit status 0. 2021-02-20 19:59:25 Transaction completed. 2021-02-20 19:59:26 tukit 3.1.4 started 2021-02-20 19:59:26 Options: close 7 2021-02-20 19:59:27 New default snapshot is #7 (/.snapshots/7/snapshot). 2021-02-20 19:59:27 Transaction completed. Please reboot your machine to activate the changes and avoid data loss. New default snapshot is #7 (/.snapshots/7/snapshot/). transactional-update finished microos-labs:~ # tukit 2021-02-20 19:59:31 tukit 3.1.4 started 2021-02-20 19:59:31 Options: ERROR: basic_string::_M_construct null not valid microos-labs:~ # tukit --help Syntax: tukit [option...] command Manage transactions ... microos-labs:~ # transactional-update --no-selfupdate --drop-if-no-change shell -c transactional-update 3.1.4 started Options: --no-selfupdate --drop-if-no-change shell -c Separate /var detected. WARNING: You are creating a snapshot from a different base (3) than the current default snapshot (7). If you want to continue a previous snapshot use the --continue option, otherwise the previous changes will be discarded. Opening chroot in snapshot 8, continue with 'exit' 2021-02-20 20:01:25 tukit 3.1.4 started 2021-02-20 20:01:25 Options: call 8 bash 2021-02-20 20:01:25 Executing `bash`: ���transactional update # exit ��� 2021-02-20 20:01:26 Application returned with exit status 0. 2021-02-20 20:01:26 Transaction completed. 2021-02-20 20:01:27 tukit 3.1.4 started 2021-02-20 20:01:27 Options: close 8 2021-02-20 20:01:28 New default snapshot is #8 (/.snapshots/8/snapshot). 2021-02-20 20:01:28 Transaction completed. Please reboot your machine to activate the changes and avoid data loss. New default snapshot is #8 (/.snapshots/8/snapshot/). transactional-update finished microos-labs:~ # transactional-update shell --no-selfupdate --drop-if-no-change -c transactional-update 3.1.4 started Options: shell --no-selfupdate --drop-if-no-change -c Separate /var detected. Opening chroot in snapshot 9, continue with 'exit' 2021-02-20 20:01:39 tukit 3.1.4 started 2021-02-20 20:01:39 Options: call 9 bash 2021-02-20 20:01:39 Executing `bash`: ���transactional update # exit ��� 2021-02-20 20:01:40 Application returned with exit status 0. 2021-02-20 20:01:41 Transaction completed. 2021-02-20 20:01:41 tukit 3.1.4 started 2021-02-20 20:01:41 Options: close 9 2021-02-20 20:01:42 New default snapshot is #9 (/.snapshots/9/snapshot). 2021-02-20 20:01:42 Transaction completed. Please reboot your machine to activate the changes and avoid data loss. New default snapshot is #9 (/.snapshots/9/snapshot/). transactional-update finished So this will p -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1182525 Ignaz Forster <iforster@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS CC| |iforster@suse.com Assignee|kubic-bugs@opensuse.org |iforster@suse.com -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com