You are not logged in.

#1 2024-09-05 12:14:02

RobinSch
Member
Registered: 2020-02-13
Posts: 15

A lot of requests to openpgpkey.archlinux.org

Hello everyone!

It seems like my laptop is making a lot of requests to openpgpkey.archlinux.org, about every 5-10 seconds. Does anyone know why this is the case? Or how to lower the interval?

Thanks in advance

Offline

#2 2024-09-05 13:18:46

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 395
Website

Re: A lot of requests to openpgpkey.archlinux.org

I guess this is caused by "archlinux-keyring-wkd-sync.service" and the related timer that take care of syncing the keyring from the web directory

Offline

#3 2024-09-05 14:05:07

Head_on_a_Stick
Member
From: Belsize Park
Registered: 2014-02-20
Posts: 8,107
Website

Re: A lot of requests to openpgpkey.archlinux.org

RobinSch wrote:

how to lower the interval?

# systemctl mask archlinux-keyring-wkd-sync

Note that just disabling the service or timer doesn't stop it because the Arch developers have decided to treat the users as if they were small children roll

Last edited by Head_on_a_Stick (2024-09-05 14:05:42)


"Austerity is the idea that the global financial crash of 2008 was caused by there being too many libraries in Wolverhampton."
   — Alexei Sayle

Offline

#4 2024-09-05 14:14:41

seth
Member
Registered: 2012-09-03
Posts: 56,290

Re: A lot of requests to openpgpkey.archlinux.org

The service should not run every 5-10 seconds unless it fails, so check the services status or your system journal itr.

systemctl status archlinux-keyring-wkd-sync.service

@HoaS, why would/does disabling  the timer not work?
https://wiki.archlinux.org/title/System … Management

Offline

#5 2024-09-05 14:25:44

Head_on_a_Stick
Member
From: Belsize Park
Registered: 2014-02-20
Posts: 8,107
Website

Re: A lot of requests to openpgpkey.archlinux.org

seth wrote:

why would/does disabling  the timer not work?

It will get re-enabled after the archlinux-keyring package is updated:

https://gitlab.archlinux.org/archlinux/ … =heads#L74

Not cool, Arch devs, not cool.


"Austerity is the idea that the global financial crash of 2008 was caused by there being too many libraries in Wolverhampton."
   — Alexei Sayle

Offline

#6 2024-09-05 14:48:22

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 395
Website

Re: A lot of requests to openpgpkey.archlinux.org

@Head_on_a_Stick proficient users can just NoExtract the files, others are better off like this smile But this is not related to the original question, so lets keep it at this ..

Offline

#7 2024-09-05 15:38:18

Head_on_a_Stick
Member
From: Belsize Park
Registered: 2014-02-20
Posts: 8,107
Website

Re: A lot of requests to openpgpkey.archlinux.org

gromit wrote:

proficient users can just NoExtract the files, others are better off like this

Well this "non-proficient" user is extremely irritated that they have to do that at all. Forcefully enabling services goes against the basic ethos of Arch. IMO.

EDIT: and anyway using NoExtract wouldn't stop you sneaky bastards enabling the service through some other underhand, devious method tongue

Last edited by Head_on_a_Stick (2024-09-05 15:42:38)


"Austerity is the idea that the global financial crash of 2008 was caused by there being too many libraries in Wolverhampton."
   — Alexei Sayle

Offline

#8 2024-09-05 16:15:38

seth
Member
Registered: 2012-09-03
Posts: 56,290

Re: A lot of requests to openpgpkey.archlinux.org

The timer could be activated via post-install (not post-update) hook, but ftr. there're several "mandatory" timers (man-db, updatedb, shadow, logrotate, tmpfiles-clean, …) that are just installed with some package, so it's not specifically aggressive.

Offline

#9 2024-09-05 16:17:23

Head_on_a_Stick
Member
From: Belsize Park
Registered: 2014-02-20
Posts: 8,107
Website

Re: A lot of requests to openpgpkey.archlinux.org

seth wrote:

there're several "mandatory" timers (man-db, updatedb, shadow, logrotate, tmpfiles-clean, …) that are just installed with some package

But those are supplied by upstream.

seth wrote:

it's not specifically aggressive

Of course not. Apologies to all if that's how I came across.


"Austerity is the idea that the global financial crash of 2008 was caused by there being too many libraries in Wolverhampton."
   — Alexei Sayle

Offline

#10 2024-09-05 16:20:05

seth
Member
Registered: 2012-09-03
Posts: 56,290

Re: A lot of requests to openpgpkey.archlinux.org

So is the keyring timer, it's just, like w/ pacman, a more incestuous relationship between up- and downstream.

Offline

#11 2024-09-06 14:11:27

RobinSch
Member
Registered: 2020-02-13
Posts: 15

Re: A lot of requests to openpgpkey.archlinux.org

seth wrote:

The service should not run every 5-10 seconds unless it fails, so check the services status or your system journal itr.

Wel.....

○ archlinux-keyring-wkd-sync.service - Refresh existing keys of archlinux-keyring
     Loaded: loaded (/usr/lib/systemd/system/archlinux-keyring-wkd-sync.service; static)
     Active: inactive (dead)
TriggeredBy: ● archlinux-keyring-wkd-sync.timer

FYI: I didn't change a single thing except reboot since last time.
Although now it doesn't seem to be spamming requests anymore?

Offline

#12 2024-09-06 19:33:58

seth
Member
Registered: 2012-09-03
Posts: 56,290

Re: A lot of requests to openpgpkey.archlinux.org

Presumingly it succeeded, or the timer has given up until next week - did it actually reach the server or are you aware of the traffic because you were intercepting it?

What happens if you just start it?

systemctl start archlinux-keyring-wkd-sync.service

Offline

Board footer

Powered by FluxBB