You are not logged in.
Hi all,
I've got a couple of Arch servers and an Arch workstation that I'm working on; only the workstation has internet access and I need to keep the servers up to date and be able to install packages.
At the moment, the servers have the workstation's pacman package and cache directories mounted via SSHFS, but I've got problems with keys (pacman not being able to look up keys) and system upgrades. Nothing that I can't work around, but I'm thinking there must be a more "professional" way to get this done.
TL;DR - What's the best way to set up internetless Arch servers with a network pacman repo/cache?
Last edited by syngin (2012-04-03 07:00:21)
Offline
Something I don't get here - you have internet access on one box, which is networked with the other boxes. Are you aware that you can provide internet access to all boxes?
To clarify - I'm asking beause of your missing-keys issue, sharing the cache is not affected.
Offline
Yep, well capable of doing that which is why I'm asking - I can't do that without having to have difficult conversations with the security team here. And, no, I don't need to be told about the lack of security implications in doing this ![]()
As far as keys, I've just set the SigLevel to "Never" as I trust the packages on my workstation, but this all feels a little hinky.
Offline
Import the keys over sneakernet then.
Offline
Which leads me to believe that the best way to manage internetless servers and pacman is pretty much what I'm doing now, correct?
Offline
I'm guessing your best bet (without invoking the wrath of your security department) is to keep doing what you're doing indeed. In order to setup pacman keysigning, there's always the option to download the keys from your workstation, save them to a file on a share where your servers can access them and them import them via pacman-key.
Burninate!
Offline
Cheers, I'll check it out. What's the best bet for system upgrades? Currently pacman -Su wants real repos...
Offline
If I'm not mistaken, you can configure a "local repo" by putting something among the lines of the following in your /etc/pacman.conf (in the repo section):
[repo name]
Server = file:///var/cache/pacman/pkgReplace the path with your exact mountpoint of the remote pacman cache obviously.
Burninate!
Offline
Ahh, so obvious. Thanks.
Offline