You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I backup my Raspberries once a week with rsync and keep a backup history. So I can use the rsync --link-dest option to save backup time and -space.
Recently I setup my Raspberries with the latest RaspbianOS Bookworm. The previous OS was RaspbianOS Buster. The new Bookworm backup used the old Buster backup in link-dest and all following Bookworm backups used the previous Bookworm backups.
Then the SD card on one of my Raspberries died and I restored the latest rsync backup. The restored backup didn't boot. I got /usr/sbin/NetworkManager: error while loading shared libraries: libhogweed.so.4: cannot open shared object file: No such file or directory and it took me a while to find the root cause for this error message:
NetworkManager uses the librtmp shared library. librtmp is a binNMU library. When I compared the date and sha of the shared library on a Raspberry I also upgraded but didn't have to restore the backup
root[@troubadix:~]$ ls -la /usr/lib/arm-linux-gnueabihf/librtmp.so.1
-rw-r--r-- 1 root root 100440 May 21 2018 /usr/lib/arm-linux-gnueabihf/librtmp.so.1
root[@troubadix:~]$ shasum /usr/lib/arm-linux-gnueabihf/librtmp.so.1
ceafd4687907362b93bb0a028b2ed7c772df44ea /usr/lib/arm-linux-gnueabihf/librtmp.so.1
I detected the size of librtmp is identical and also the modification date, Therefore the default algorithm of rsync doesn't update librtmp in the backup and the restored OS Bookworm still used the old librtmp of Buster and caused the NetworkManager issue.
I opened a thread in the Raspberry Pi Forum and the question was whether this is a Debian issue or RaspberryOS issue. I installed Debian12 and Debian12Testing on an x86 system and checked whether a the modification was changed. It was.
I backup my Raspberries once a week with rsync and keep a backup history. So I can use the rsync --link-dest option to save backup time and -space.
Recently I setup my Raspberries with the latest RaspbianOS Bookworm. The previous OS was RaspbianOS Buster. The new Bookworm backup used the old Buster backup in link-dest and all following Bookworm backups used the previous Bookworm backups.
Then the SD card on one of my Raspberries died and I restored the latest rsync backup. The restored backup didn't boot. I got
/usr/sbin/NetworkManager: error while loading shared libraries: libhogweed.so.4: cannot open shared object file: No such file or directory
and it took me a while to find the root cause for this error message:NetworkManager uses the librtmp shared library. librtmp is a binNMU library. When I compared the date and sha of the shared library on a Raspberry I also upgraded but didn't have to restore the backup
with the restored OS
I detected the size of librtmp is identical and also the modification date, Therefore the default algorithm of rsync doesn't update librtmp in the backup and the restored OS Bookworm still used the old librtmp of Buster and caused the NetworkManager issue.
I opened a thread in the Raspberry Pi Forum and the question was whether this is a Debian issue or RaspberryOS issue. I installed Debian12 and Debian12Testing on an x86 system and checked whether a the modification was changed. It was.
Debian Bookworm:
Debian testing
So it's fixed on Debian to create a new modification date when a new librtmp is built but it's not done on RaspbianOS.
The text was updated successfully, but these errors were encountered: