From 534b71d3e276ed537471773fd6f627431674d8d1 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 27 Jan 2022 10:00:02 +0100 Subject: use different addresses in pacman configuration snippet Now that pacredir answers requests on 127.0.0.0/8... Make sure we do not confuse pacman by using default loopback address, which could host other repositories. --- README.md | 2 +- pacman/pacredir | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 11cbeb2..61ec592 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ definitions in `pacman.conf`: Do not worry if `pacman` reports: -> error: failed retrieving file 'core.db' from 127.0.0.1:7077 : The +> error: failed retrieving file 'core.db' from 127.70.77.1:7077 : The > requested URL returned error: 404 Not Found This is ok, it just tells `pacman` that `pacredir` could not find a file diff --git a/pacman/pacredir b/pacman/pacredir index 9df0184..a14ccd6 100644 --- a/pacman/pacredir +++ b/pacman/pacredir @@ -2,9 +2,9 @@ # This is a regular server, so pacredir receives requests for database # files, but it is also accounted for server error limit. -Server = http://127.0.0.1:7077/ +Server = http://127.70.77.1:7077/ # Add a cache server with different address to make sure pacman requests # package files from pacredir in case the address above was caught by # pacman's server error limit. -CacheServer = http://127.0.0.2:7077/ +CacheServer = http://127.70.77.2:7077/ -- cgit v1.2.3-54-g00ecf