mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
After enabling the calibre app, the app uses IP 127.0.0.1 to advertise ODPS feeds via BonJour/mDNS. It breaks accessing freedombox.local as it now points to 127.0.0.1. This MR disables the BonJour in Calibre. Fixes #2027. Tests performed on both Debian stable and testing containers: - Check the accessability of freedombox.local: 1) Before applying patch: - Start the container, check on the host that freedombox.local points to correct IP address of the container: ``` host$ avahi-resolve -4 --name freedombox.local freedombox.local 10.42.1.166 ``` - Enable the calibre app. Check on the host that freedombox.local points to wrong ip address 127.0.0.1: ``` host$ avahi-resolve -4 --name freedombox.local freedombox.local 127.0.0.1 ``` 2) Stop the calibre app, apply patch (update the calibre systemd service file, reload systemd), restart the Service Discovery app, check on the host that freedombox.local points to correct address. 3) Start the calibre app, check on the host that freedombox.local points to correct address. - All the calibre functional tests pass. Signed-off-by: Veiko Aasa <veiko17@disroot.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>