[Bug 1210302] New: Snapshot entries aren't being created for grub
http://bugzilla.opensuse.org/show_bug.cgi?id=1210302 Bug ID: 1210302 Summary: Snapshot entries aren't being created for grub Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: MicroOS Assignee: kubic-bugs@opensuse.org Reporter: lilfrogg@posteo.net QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- This is my second MicroOS install in a row where new snapshots at some point stopped showing up in the grub menu. The snapshots themselves are created as normal and it appears that the script of the grub2-snapper-plugin fails to create the entries because my snapshots appear to be writable for some reason. Here are some terminal outputs I was asked to create in the oS support channel: sudo find /.snapshots -maxdepth 2 -type f -name grub-snapshot.cfg �/.snapshots/91/grub-snapshot.cfg /.snapshots/grub-snapshot.cfg� Snapshot 91 is one I manually created with 'snapper create' which creates a grub entry. all the other snapshots don't show up Using 'sh -o xtrace usr/lib/snapper/plugins/grub --enable' in a transactional-update shell �+ set -e + grub_mkconfig=/usr/sbin/grub2-mkconfig + grub_mkrelpath=/usr/bin/grub2-mkrelpath + grub_script_check=/usr/bin/grub2-script-check + grub_setting=/etc/default/grub + grub_cfg=/boot/grub2/grub.cfg + grub_snapshot_cfg=/boot/grub2/snapshot_submenu.cfg + snapper_snapshot_path=/.snapshots + snapshot_submenu_name=grub-snapshot.cfg + snapper_snapshots_cfg=/.snapshots/grub-snapshot.cfg + hotkey= ++ uname -m + machine=x86_64 + case "$machine" in + cmdline='/usr/lib/snapper/plugins/grub --enable hotkey='\'''\''' + test 1 -gt 0 + option=--enable + shift + case "$option" in + opt_enable=true + test 0 -gt 0 + '[' xtrue = xtrue ']' + snapper_snapshots_cfg_refresh + '[' '!' -d /.snapshots ']' + cs= + for s_dir in ${snapper_snapshot_path}/* + snapshot=/.snapshots/79/snapshot + '[' '!' -d /.snapshots/79 -o -w /.snapshots/79/snapshot ']' + continue + for s_dir in ${snapper_snapshot_path}/* + snapshot=/.snapshots/80/snapshot + '[' '!' -d /.snapshots/80 -o -w /.snapshots/80/snapshot ']' + continue + for s_dir in ${snapper_snapshot_path}/* + snapshot=/.snapshots/81/snapshot + '[' '!' -d /.snapshots/81 -o -w /.snapshots/81/snapshot ']' + continue + for s_dir in ${snapper_snapshot_path}/* + snapshot=/.snapshots/82/snapshot + '[' '!' -d /.snapshots/82 -o -w /.snapshots/82/snapshot ']' + continue + for s_dir in ${snapper_snapshot_path}/* + snapshot=/.snapshots/83/snapshot + '[' '!' -d /.snapshots/83 -o -w /.snapshots/83/snapshot ']' + continue + for s_dir in ${snapper_snapshot_path}/* + snapshot=/.snapshots/84/snapshot + '[' '!' -d /.snapshots/84 -o -w /.snapshots/84/snapshot ']' + continue + for s_dir in ${snapper_snapshot_path}/* + snapshot=/.snapshots/85/snapshot + '[' '!' -d /.snapshots/85 -o -w /.snapshots/85/snapshot ']' + continue + for s_dir in ${snapper_snapshot_path}/* + snapshot=/.snapshots/86/snapshot + '[' '!' -d /.snapshots/86 -o -w /.snapshots/86/snapshot ']' + continue + for s_dir in ${snapper_snapshot_path}/* + snapshot=/.snapshots/87/snapshot + '[' '!' -d /.snapshots/87 -o -w /.snapshots/87/snapshot ']' + continue + for s_dir in ${snapper_snapshot_path}/* + snapshot=/.snapshots/88/snapshot + '[' '!' -d /.snapshots/88 -o -w /.snapshots/88/snapshot ']' + continue + for s_dir in ${snapper_snapshot_path}/* + snapshot=/.snapshots/89/snapshot + '[' '!' -d /.snapshots/89 -o -w /.snapshots/89/snapshot ']' + continue + for s_dir in ${snapper_snapshot_path}/* + snapshot=/.snapshots/90/snapshot + '[' '!' -d /.snapshots/90 -o -w /.snapshots/90/snapshot ']' + continue + for s_dir in ${snapper_snapshot_path}/* + snapshot=/.snapshots/grub-snapshot.cfg/snapshot + '[' '!' -d /.snapshots/grub-snapshot.cfg -o -w /.snapshots/grub-snapshot.cfg/snapshot ']' + continue + hk= + '[' -z '' ']' ++ printf %s '' ++ sort -Vr + cat + /usr/bin/grub2-script-check /.snapshots/grub-snapshot.cfg.new + mv -f /.snapshots/grub-snapshot.cfg.new /.snapshots/grub-snapshot.cfg + '[' x = xtrue ']' + '[' x = xtrue ']'� ls -lad /.snap* �drwxr-x---. 1 root root 98 Apr 11 11:02 /.snapshots� mount | grep snapshots �/dev/mapper/cr_root on / type btrfs (ro,relatime,seclabel,space_cache=v2,subvolid=363,subvol=/@/.snapshots/90/snapshot) /dev/mapper/cr_root on /.snapshots type btrfs (rw,relatime,seclabel,space_cache=v2,subvolid=266,subvol=/@/.snapshots)� -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com