Packaging wireguard re-resolve DNS
Hi everyone, wireguard users need to manually re-resolve the DNS when using endpoints with changing IPs. The wiki page lists an example solution using a systemd timer[0]. I like that solution a lot and use it heavily on multiple machines, and as I prefer to have system files managed by pacman instead of manually creating them, I created an AUR package for that. Today I set up another machine using that package, and I thought, why not push the package to the public, so others can use it as well. Of course, you can as well just copy-paste the example on the wiki page, but I guess there are more people out there who prefer having system files managed by pacman instead of manually creating them. Its easier, after all. However, less than an hour after pushing my package to the AUR and mentioning it in the wiki, the change was reverted and a deletion request was filed with the comment
useless package which literally just copy-pastes the units from the wiki
Yes, that's right, it doesn't need to do more than that, because the example on the wiki works great, no need to change that. However, I still think it adheres to the AUR submission guidelines, as I can imagine I'm not the only one who prefers installing an AUR package over copying file contents from the wiki. What do you think? Is this really a useless package? Then go ahead, delete it. But I'm not sure if that's the prevalent opinion, or if there are others like me that like seeing things like that on the AUR, that make your life easier. So at least I wanted to raise the discussion. Would love to hear your input, lukaro [0]: https://wiki.archlinux.org/title/WireGuard#Endpoint_with_changing_IP
I can make use of your package, personally. It's obviously not useless!
El sáb, 05-08-2023 a las 20:38 +0200, LuKaRo escribió:
Would love to hear your input
It's not useless at all, it's a simpler method of getting the system up and running and it's also controlled by the Arch Linux package system (apart from being maintained). There are more examples like yours all over the wiki. For example I remember some package [1] that you can install to avoid having to create pacman hooks by hand. You can reply to the deletion request indicating the same, if they delete yours then they would have to delete the one I have posted and all the others of that style (which are many). Greetings. [1]: https://wiki.archlinux.org/title/Systemd-boot#pacman_hook -- Óscar García Amor | ogarcia at moire.org | http://ogarcia.me
I can imagine you could try to push for it being included with wireguard-tools, since it provides the scripts being run, or use a configuration management tool like Ansible to push unit files into your machine, which could also make sure the unit is enabled too. Martin On Sat, Aug 5, 2023 at 8:38 PM LuKaRo <lists@lrose.de> wrote:
Hi everyone,
wireguard users need to manually re-resolve the DNS when using endpoints with changing IPs. The wiki page lists an example solution using a systemd timer[0]. I like that solution a lot and use it heavily on multiple machines, and as I prefer to have system files managed by pacman instead of manually creating them, I created an AUR package for that.
Today I set up another machine using that package, and I thought, why not push the package to the public, so others can use it as well. Of course, you can as well just copy-paste the example on the wiki page, but I guess there are more people out there who prefer having system files managed by pacman instead of manually creating them. Its easier, after all.
However, less than an hour after pushing my package to the AUR and mentioning it in the wiki, the change was reverted and a deletion request was filed with the comment
useless package which literally just copy-pastes the units from the wiki
Yes, that's right, it doesn't need to do more than that, because the example on the wiki works great, no need to change that. However, I still think it adheres to the AUR submission guidelines, as I can imagine I'm not the only one who prefers installing an AUR package over copying file contents from the wiki.
What do you think? Is this really a useless package? Then go ahead, delete it. But I'm not sure if that's the prevalent opinion, or if there are others like me that like seeing things like that on the AUR, that make your life easier. So at least I wanted to raise the discussion.
Would love to hear your input,
lukaro
[0]: https://wiki.archlinux.org/title/WireGuard#Endpoint_with_changing_IP
On Sun, 2023-08-06 at 11:06 +0200, Martin Rys wrote:
On Sat, Aug 5, 2023 at 8:38 PM LuKaRo <lists@lrose.de> wrote:
Today I set up another machine or use a configuration management tool like Ansible
Hi, to occasionally drive a nail into the wall to hang a picture, you could build and program a robot to use a hammer, or you could just use a hammer yourself. Even with two left hands using the hammer yourself will be the more efficient way. I like the template message of https://en.wikipedia.org/wiki/Ansible_(software) : "This article may be too technical for most readers to understand. Please help improve it to make it understandable to non-experts, without removing the technical details. (April 2022)" It's probably not the right tool to "set up another machine" every now and then. Regards, Ralf
participants (5)
-
Abraham S.A.H.
-
LuKaRo
-
Martin Rys
-
Ralf Mardorf
-
Óscar García Amor