Project

General

Profile

Actions

tickets #105792

closed

No such file or directory for update/tumbleweed

Added by avicenzi about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Mirrors
Target version:
-
Start date:
2022-02-01
Due date:
% Done:

100%

Estimated time:

Description

Hi,

I noticed that our mirror is not syncing up https://download.opensuse.net.br/update/tumbleweed folder.
It's just a broken link.

If I run:

$ rsync --list-only rsync.opensuse.org::opensuse-full-with-factory/opensuse/update/tumbleweed/

I get the following error:

rsync: change_dir "/opensuse/update/tumbleweed" (in opensuse-full-with-factory) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1677) [Receiver=3.1.3]

It seems the module is broken, can someone confirm and fix it?

Actions #1

Updated by pjessen about 2 years ago

  • Priority changed from High to Normal
  • Private changed from Yes to No

avicenzi wrote:

Hi,

I noticed that our mirror is not syncing up https://download.opensuse.net.br/update/tumbleweed folder.
It's just a broken link.

We don't publish updates for Tumbleweed, there really isn't any need to sync.

Actions #2

Updated by pjessen about 2 years ago

  • Tracker changed from communication to tickets
Actions #3

Updated by avicenzi about 2 years ago

pjessen wrote:

avicenzi wrote:

Hi,

I noticed that our mirror is not syncing up https://download.opensuse.net.br/update/tumbleweed folder.
It's just a broken link.

We don't publish updates for Tumbleweed, there really isn't any need to sync.

If nothing is published why there's a repo in http://download.opensuse.org/update/tumbleweed/?

I can ignore this path but I wonder if that's correct, why there's data in the downloader server and why rsync thinks this path does not exist.

Actions #4

Updated by cboltz about 2 years ago

pjessen wrote:

We don't publish updates for Tumbleweed, there really isn't any need to sync.

Actually we do, but rarely. Currently, the update repo for Tumbleweed has the polkit security fix. It also contains some update-test-* packages.

Actions #5

Updated by cboltz about 2 years ago

Just checked on the server: opensuse-full-with-factory is basically /srv/ftp-stage/pub with a few excludes (unrelated to the update repo).

The interesting detail might be this symlink:

# ls -l /srv/ftp-stage/pub/opensuse/update/tumbleweed
lrwxrwxrwx 1 root root 69 Nov 24  2020 /srv/ftp-stage/pub/opensuse/update/tumbleweed -> /srv/ftp/pub/opensuse/repositories/openSUSE:/Factory:/Update/standard

Either rsync blocks symlinks that go outside of the configured path, or it errors out on your end because you probably don't have the directory /srv/ftp/pub/opensuse/repositories/openSUSE:/Factory:/Update/standard on your mirror.

So much for the analysis. I'll leave fixing the symlink to Per ;-)

Actions #6

Updated by pjessen about 2 years ago

  • Category set to Mirrors

cboltz wrote:

pjessen wrote:

We don't publish updates for Tumbleweed, there really isn't any need to sync.

Actually we do, but rarely. Currently, the update repo for Tumbleweed has the polkit security fix. It also contains some update-test-* packages.

Kindof. Because it is just a symlink to repositories/, most mirrors never see it.

Either rsync blocks symlinks that go outside of the configured path,

The rsync and the symlink work fine, but the destination does not exist on the mirror.

or it errors out on your end because you probably don't have the directory /srv/ftp/pub/opensuse/repositories/openSUSE:/Factory:/Update/standard on your mirror.

Yup.

There is really two/three issues:

  • I doubt if any mirrors have that specific directory, my own does not, but I do see the two dangling symlinks.
  • The link could be corrected locally, but the mirror would need to carry at least that part of repositories/
  • The link could be corrected on pontifex, but the mirror would need to carry at least that part of repositories/

I can of course change the symlink to be relative, but it won't fix the problem.

For mirrors that carry repositories, it is easy fixed locally, such as at http://ftp.gwdg.de/pub/opensuse - for everyone else (the vast majority) it is also up to the mirror admin.

Actions #7

Updated by avicenzi about 2 years ago

For mirrors that carry repositories, it is easy fixed locally, such as at http://ftp.gwdg.de/pub/opensuse - for everyone else (the vast majority) it is also up to the mirror admin.

In our case, we don't mirror repositories only distribution, tumbleweed, and update. We have limited space and might be better to just ignore this path and not sync it.

If there's no other solution we can close this ticket.

Actions #8

Updated by pjessen about 2 years ago

  • Status changed from New to Resolved
  • Assignee set to pjessen
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF