tickets #67615
closed
download.o.o: prefer symlinks over aliases or RewriteRules
Added by cboltz about 4 years ago.
Updated almost 4 years ago.
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
- Private changed from Yes to No
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 ?
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 ;-)
- 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/
Also available in: Atom
PDF