Config files not updated


#1

None of my snaps ’ s config files are copied with a new refresh: they are all reseted.

lxd,remmina, libreoffice… when snap config files are updated, they are cleaned (reseted) and i loose every configurations. I have to manually copy ~/snap/snapX/oldconf/files to current/** to have my configuration files back.

snap 2.35.5
snapd 2.35.5
series 16
ubuntu 18.04
kernel 4.15.0-38-generic

fs: btrfs
/dev/mapper/vg_os-root on / type btrfs (rw,noatime,compress=zstd,ssd,space_cache,subvolid=579,subvol=/@)
/dev/mapper/vg_os-root on /cache type btrfs (rw,noatime,compress=zstd,ssd,space_cache,subvolid=582,subvol=/@cache)
/dev/mapper/vg_os-root on /mnt/ROOT type btrfs (rw,noatime,compress=zstd,ssd,space_cache,subvolid=5,subvol=/)
/dev/mapper/vg_os-root on /appli type btrfs (rw,noatime,compress=zstd,ssd,space_cache,subvolid=586,subvol=/@appli)
/dev/mapper/vg_os-root on /data type btrfs (rw,noatime,compress=zstd,ssd,space_cache,subvolid=583,subvol=/@data)
/dev/mapper/vg_os-root on /opt type btrfs (rw,noatime,compress=zstd,ssd,space_cache,subvolid=584,subvol=/@opt)
/dev/mapper/vg_os-root on /var type btrfs (rw,noatime,compress=zstd,ssd,space_cache,subvolid=585,subvol=/@var)
/dev/mapper/vg_os-root on /home type btrfs (rw,noatime,compress=zstd,ssd,space_cache,subvolid=581,subvol=/@home2)


#2

I believe that is a packaging bug as snapd does provide an area that doesn’t being replaced during snap refreshing.


#3

it would be strange: several snaps have this problem, even lxd.

It it user’s config files, not snap common config files.