tickets #67615
closeddownload.o.o: prefer symlinks over aliases or RewriteRules
100%
Description
Because of the filesystem breakage on pontifex, I switched the download.o.o IP to pontifex. It didn't take long until someone reported on IRC that /update/tumbleweed/
doesn't exist. It turned out to be handled with RewriteRule on pontifex, so it's not surprising that mirrors don't know it.
We should use symlinks instead of Aliases and RewriteRules, at least for such "important" directories so that mirrors also know them.
As a workaround, I manually created a symlink on provo-mirror, but the next successful rsync run will delete it again.
For the records:
cd /srv/ftp/pub/opensuse/update && ln -s ../repositories/openSUSE\:/Factory\:/Update/standard/ tumbleweed
Updated by pjessen almost 4 years ago
cboltz wrote:
Because of the filesystem breakage on pontifex, I switched the download.o.o IP to pontifex. It didn't take long
until someone reported on IRC that/update/tumbleweed/
doesn't exist. It turned out to be handled with RewriteRule
on pontifex, so it's not surprising that mirrors don't know it.
That sounds like something I might have done - it just means only a few mirrors will be available (those who carry repositories/).
I guess the real issue is lack of the redirect on the provo mirror ?
Updated by cboltz almost 4 years ago
I guess the real issue is lack of the redirect on the provo mirror ?
That would be an alternative solution - but unless we salt that config, keeping it in sync between pontifex and provo-mirror will cause some pain.
Besides that - a symlink would also make it possible for users to switch to another mirror, not only for us to switch to provo-mirror in case of emergency.
I'm still in favor of using symlinks ;-)
Updated by pjessen over 3 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
FWIW, for update/tumbleweed using a symlink instead of a redirect is not a big deal, there are hardly ever any updates to tumbleweed. I have created two links:
lrwxrwxrwx 1 root root 69 Nov 24 10:00 tumbleweed -> /srv/ftp/pub/opensuse/repositories/openSUSE:/Factory:/Update/standard/
lrwxrwxrwx 1 root root 10 Nov 24 10:02 tumbleweed-non-oss -> tumbleweed/