Firstyear / mirrorsorcerer

Mirror Sorcerer tool to magically make OpenSUSE mirror sources more magic-er
Mozilla Public License 2.0
59 stars 1 forks source link

Logs filling up with "not updating" #4

Closed doccaz closed 2 years ago

doccaz commented 2 years ago

I'm testing mirrorsorcerer, and I noticed that it'll log this every 2 seconds:

out 11 11:32:39 suselab-erico mirrorsorcerer[1246]:  INFO Not updating http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ - not a known mirror base
out 11 11:32:39 suselab-erico mirrorsorcerer[1246]:  INFO Not updating http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ - not a known mirror base
out 11 11:32:41 suselab-erico mirrorsorcerer[1246]:  INFO Not updating http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ - not a known mirror base
out 11 11:32:41 suselab-erico mirrorsorcerer[1246]:  INFO Not updating http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ - not a known mirror base
...

I'm using version 0.1.0~13-1.4 from the Tumbleweed repository.

Is this intended? I know it's monitoring the defined repositories, but this could fill up the system log.

Firstyear commented 2 years ago

@doccaz Can you send me the repo file you are using? I'll try to reproduce it :)

doccaz commented 2 years ago

Sure, here it is:

[ftp.gwdg.de-openSUSE_Tumbleweed]
name=Packman Repository
enabled=0
autorefresh=1
baseurl=http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/
path=/
type=rpm-md
keeppackages=0

One additional thing: the file name is "/etc/zypp/repos.d/ftp.gwdg.de-openSUSELeap$releasever.repo". Maybe parsing the dollar sign is causing this?

Firstyear commented 2 years ago

Okay, I've reproduced it, I'll update to fix it :)