Comment 8 for bug 1946808

Revision history for this message
BertN45 (lammert-nijhof) wrote :

The change worked on my PC. The difference has been tested with limited changes to my userdata, but I try tomorrow with the next set of updates. The current snapshots are:
bertadmin@VM-Xubuntu-2110:~$ zfs list -t snapshot
NAME USED AVAIL REFER MOUNTPOINT
bpool/BOOT/ubuntu_q3cgtj@211015-proposed 56K - 78.6M -
rpool/ROOT/ubuntu_q3cgtj@211015-proposed 54.0M - 3.51G -
rpool/ROOT/ubuntu_q3cgtj/srv@211015-proposed 0B - 96K -
rpool/ROOT/ubuntu_q3cgtj/usr@211015-proposed 0B - 96K -
rpool/ROOT/ubuntu_q3cgtj/usr/local@211015-proposed 0B - 144K -
rpool/ROOT/ubuntu_q3cgtj/var@211015-proposed 0B - 96K -
rpool/ROOT/ubuntu_q3cgtj/var/games@211015-proposed 0B - 96K -
rpool/ROOT/ubuntu_q3cgtj/var/lib@211015-proposed 300K - 33.6M -
rpool/ROOT/ubuntu_q3cgtj/var/lib/AccountsService@211015-proposed 56K - 100K -
rpool/ROOT/ubuntu_q3cgtj/var/lib/NetworkManager@211015-proposed 104K - 140K -
rpool/ROOT/ubuntu_q3cgtj/var/lib/apt@211015-proposed 0B - 79.6M -
rpool/ROOT/ubuntu_q3cgtj/var/lib/dpkg@211015-proposed 256K - 37.9M -
rpool/ROOT/ubuntu_q3cgtj/var/log@211015-proposed 416K - 71.3M -
rpool/ROOT/ubuntu_q3cgtj/var/mail@211015-proposed 0B - 96K -
rpool/ROOT/ubuntu_q3cgtj/var/snap@211015-proposed 0B - 96K -
rpool/ROOT/ubuntu_q3cgtj/var/spool@211015-proposed 72K - 112K -
rpool/ROOT/ubuntu_q3cgtj/var/www@211015-proposed 0B - 96K -
rpool/USERDATA/bertadmin_g64ltk@211015-proposed 1.91M - 177M -
rpool/USERDATA/bertadmin_g64ltk@autozsys_6g35l0 128K - 176M -
rpool/USERDATA/root_g64ltk@211015-proposed 8K - 812K -
bertadmin@VM-Xubuntu-2110:~$

That autosys snapshot has been created automatically the first time I did run the next script to create a snapshot:

zsysctl save $1 -s
zfs list -t snapshot | grep rpool
zfs list -t snapshot | grep bpool

According to the Internet the next commands would stop all autosys snapshots

systemctl --user stop zsys-user-savestate.timer
systemctl --user disable zsys-user-savestate.timer
sudo mv /etc/apt/apt.conf.d/90_zsys_system_autosnapshot /etc/apt/apt.conf.d /90_zsys_system_autosnapshot_disabled

Did I make an error or is it another bug?