#3508 Issue open: Bug in write-protect-functions.sh line 13

Labels: bug, support / question

bhkolts opened issue at 2025-08-10 13:36:

ReaR version

Relax-and-Recover 2.7 / Git

Describe the ReaR bug in detail

ReaR fails with the error message in 'Error Message.txt'.This was run from a Cron job. This happens occasionally, when I run the same command from the command line it works OK. 'rear-Noble.log.txt' is the complete log from the failing run. 'rear-Noble.log run with _D.txt' run from the command line ran OK.

rear-Noble.log.txt
rear-Noble.log run with -D.txt

Error Message.txt

Platform

Linux x64

OS version

PRETTY_NAME="Ubuntu 24.04.3 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04.3 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" UBUNTU_CODENAME=noble LOGO=ubuntu-logo

Backup

RSYNC

Storage layout

Output is to a USB drive.

What steps will reproduce the bug?

This happens occasionally when run from a cron job. I haven't had it happen when run from the command line.

Workaround, if any

No response

Additional information

No response

gdha commented at 2025-08-11 09:41:

@bhkolts Please try with latest snapshot (at https://github.com/rear/rear/releases) as the protected IDs section was complete rewritten between release 2.7 and 2.9.

bhkolts commented at 2025-08-12 18:46:

gdha,
My current version of rear was installed from Ubuntu package 2.7+dfsg-1.1
I also down loaded the ubuntu-24-04.zip file from github which contains a deb file.
Is it safe to install the deb package over the Ubuntu package with
sudo apt install ./rear_2.9-git.5686.9b28f14f.master_amd64.deb?
Thanks,
bhkolts

gdha commented at 2025-08-13 04:55:

@bhkolts

gdha, My current version of rear was installed from Ubuntu package 2.7+dfsg-1.1 I also down loaded the ubuntu-24-04.zip file from github which contains a deb file. Is it safe to install the deb package over the Ubuntu package with sudo apt install ./rear_2.9-git.5686.9b28f14f.master_amd64.deb? Thanks, bhkolts

Yes - it is safe to overwrite the 2.7 with th 2.9 version as ReaR is completely written with bash scripts.


[Export of Github issue for rear/rear.]