calibre: Fix freedombox.local inaccessible after enabling app
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 (closed).
Tests performed on both Debian stable and testing containers:
- Check the accessability of freedombox.local:
-
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
-
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.
-
Start the calibre app, check on the host that freedombox.local points to correct address.
- All the calibre functional tests pass.