http://bugzilla.suse.com/show_bug.cgi?id=1068197 Bug ID: 1068197 Summary: Snapper: not possible to delete a non-curent (the first after installation) snapshot Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: atanasb@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hi, I have the same issue as the last reported in another outdated ticket - https://bugzilla.suse.com/show_bug.cgi?id=936605#c4. It is not possible to delete snapshot 1, which is not the current one. Type | # | Pre # | Date | User | Cleanup | Description | Userdata -------+---+-------+-------------------------------+------+---------+-----------------------+--------- single | 0 | | | root | | current | single | 1 | | Fri 19 Aug 2016 15:47:59 CEST | root | | first root filesystem | I get: Deleting snapshot failed. And it is not normal behaviour as on 2 other OpenSuse systems (non-Tumbleweed, however) this does not occur. On those I am able to delete all snapshots except the current one (0). ll /.snapshots/ total 4 drwxr-xr-x 1 root root 32 Aug 19 2016 1 drwxr-xr-x 1 root root 16 Oct 25 09:58 24 -rw-r----- 1 root root 184 Nov 15 08:24 grub-snapshot.cfg /var/log/snapper.log from today:c 2017-11-15 08:24:22 MIL libsnapper(23153) snapperd.cc(main):275 - Requesting DBus name 2017-11-15 08:24:22 MIL libsnapper(23153) snapperd.cc(main):279 - Loading snapper configs 2017-11-15 08:24:22 MIL libsnapper(23153) Snapper.cc(getConfigs):269 - Snapper get-configs 2017-11-15 08:24:22 MIL libsnapper(23153) Snapper.cc(getConfigs):270 - libsnapper version 0.5.2 2017-11-15 08:24:22 MIL libsnapper(23153) AsciiFile.cc(reload):114 - loading file /etc/sysconfig/snapper 2017-11-15 08:24:22 MIL libsnapper(23153) AsciiFile.cc(getValue):235 - key:SNAPPER_CONFIGS value:root 2017-11-15 08:24:22 MIL libsnapper(23153) AsciiFile.cc(reload):114 - loading file /etc/snapper/configs/root 2017-11-15 08:24:22 MIL libsnapper(23153) AsciiFile.cc(getValue):235 - key:SUBVOLUME value:/ 2017-11-15 08:24:22 MIL libsnapper(23153) AsciiFile.cc(getValue):235 - key:ALLOW_USERS value: 2017-11-15 08:24:22 MIL libsnapper(23153) AsciiFile.cc(getValue):235 - key:ALLOW_GROUPS value: 2017-11-15 08:24:22 MIL libsnapper(23153) snapperd.cc(main):283 - Listening for method calls and signals 2017-11-15 08:24:22 MIL libsnapper(23153) Snapper.cc(Snapper):91 - Snapper constructor 2017-11-15 08:24:22 MIL libsnapper(23153) Snapper.cc(Snapper):92 - libsnapper version 0.5.2 2017-11-15 08:24:22 MIL libsnapper(23153) Snapper.cc(Snapper):93 - config_name:root disable_filters:false 2017-11-15 08:24:22 MIL libsnapper(23153) AsciiFile.cc(reload):114 - loading file /etc/snapper/configs/root 2017-11-15 08:24:22 MIL libsnapper(23153) AsciiFile.cc(getValue):235 - key:SUBVOLUME value:/ 2017-11-15 08:24:22 MIL libsnapper(23153) AsciiFile.cc(getValue):235 - key:FSTYPE value:btrfs 2017-11-15 08:24:22 MIL libsnapper(23153) AsciiFile.cc(getValue):235 - key:QGROUP value:1/0 2017-11-15 08:24:22 MIL libsnapper(23153) AsciiFile.cc(getValue):235 - key:SYNC_ACL value:no 2017-11-15 08:24:22 MIL libsnapper(23153) Snapper.cc(Snapper):125 - subvolume:/ filesystem:btrfs 2017-11-15 08:24:22 MIL libsnapper(23153) Snapper.cc(loadIgnorePatterns):174 - number of ignore patterns:8 2017-11-15 08:24:22 ERR libsnapper(23153) Snapshot.cc(read):239 - loading 24 failed 2017-11-15 08:24:22 MIL libsnapper(23153) Snapshot.cc(read):245 - found 4 snapshots 2017-11-15 08:24:29 MIL libsnapper(23153) SystemCmd.cc(SystemCmd):46 - constructor SystemCmd:"/usr/lib/snapper/plugins/grub --refresh" 2017-11-15 08:24:29 MIL libsnapper(23153) SystemCmd.cc(execute):82 - SystemCmd Executing:"/usr/lib/snapper/plugins/grub --refresh" 2017-11-15 08:24:29 MIL libsnapper(23153) SystemCmd.cc(doExecute):267 - stopwatch 0.283342s for "/usr/lib/snapper/plugins/grub --refresh" 2017-11-15 08:24:29 MIL libsnapper(23153) SystemCmd.cc(doExecute):287 - system() Returns:0 2017-11-15 08:24:29 MIL libsnapper(23153) SystemCmd.cc(SystemCmd):46 - constructor SystemCmd:"/usr/lib/snapper/plugins/grub --refresh" 2017-11-15 08:24:29 MIL libsnapper(23153) SystemCmd.cc(execute):82 - SystemCmd Executing:"/usr/lib/snapper/plugins/grub --refresh" 2017-11-15 08:24:29 MIL libsnapper(23153) SystemCmd.cc(doExecute):267 - stopwatch 0.021928s for "/usr/lib/snapper/plugins/grub --refresh" 2017-11-15 08:24:29 MIL libsnapper(23153) SystemCmd.cc(doExecute):287 - system() Returns:0 2017-11-15 08:24:40 ERR libsnapper(23153) Btrfs.cc(deleteSnapshot):431 - delete snapshot failed, ioctl(BTRFS_IOC_SNAP_DESTROY) failed, errno:1 (Operation not permitted) 2017-11-15 08:24:40 WAR libsnapper(23153) Btrfs.cc(deleteSnapshot):432 - THROW: delete snapshot failed 2017-11-15 08:24:40 WAR libsnapper(23153) Client.cc(dispatch):1610 - CAUGHT: delete snapshot failed 2017-11-15 08:25:10 MIL libsnapper(23153) Snapper.cc(~Snapper):136 - Snapper destructor 2017-11-15 08:25:40 MIL libsnapper(23153) snapperd.cc(main):287 - Exiting This is quite a blocking issue for me as the snapshot takes space I need to do a big system update. I have been able to tolerate it so far but now my system / is bigger due to more software installed and updates are thus blocked for me. Regards, Atanas -- You are receiving this mail because: You are on the CC list for the bug.