[opensuse-support] systemd-nspawn and openSUSE "base server system"
hi, I'm trying to create systemd-nspawn machines that i can update and install software from within the machines themselves, with the ultimate goal of automating that with transactional-update. I couldn't find any docs on how to create a machine with a particular system role (transactional-server) and openSUSE doesn't seem to have a wiki page for systemd-nspawn, so i just followed the openSUSE example at the bottom of the systemd-nspawn freedesktop page [1] to create some sort of normal TW machine. Unfortunately, this results in a machine that can't install or update software from within the machine. When i try, I get :
Media source 'https://download.opensuse.org/tumbleweed/repo/oss' does not contain the desired medium History: - Download (curl) error for 'https://download.opensuse.org/tumbleweed/repo/oss/media.1/media': Error code: Curl error 60 Error message: SSL certificate problem: unable to get local issuer certificate I wasn't sure if maybe systemd-nspawn was the culprit, and not my machines' packages/config, so i consulted the ArchLinux wiki's systemd-nspawn page [2] and created an Arch machine following those instructions. This resulted in a working machine that i could install software in. So, not a systemd-nspawn issue.
I just added "patterns-base-base patterns-base-enhanced_base patterns-base-minimal_base patterns-base-sw_management" to the machine, but the result was the same. I had also previously added "ca-certificates" and "ca-certificates-mozilla" in case it was related to the error. IOW, i'm guessing. What packages/patterns or other config are required to have a openSUSE machine that i can at least use zypper in to install packages and run "dup"? thanks in advance, ITwrx [1] https://www.freedesktop.org/software/systemd/man/systemd-nspawn.html [2] https://wiki.archlinux.org/index.php/systemd-nspawn -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
26.03.2020 18:38, ITwrx пишет:
hi,
I'm trying to create systemd-nspawn machines that i can update and install software from within the machines themselves, with the ultimate goal of automating that with transactional-update. I couldn't find any docs on how to create a machine with a particular system role (transactional-server) and openSUSE doesn't seem to have a wiki page for systemd-nspawn, so i just followed the openSUSE example at the bottom of the systemd-nspawn freedesktop page [1] to create some sort of normal TW machine. Unfortunately, this results in a machine that can't install or update software from within the machine. When i try, I get :
Media source 'https://download.opensuse.org/tumbleweed/repo/oss' does not contain the desired medium History: - Download (curl) error for 'https://download.opensuse.org/tumbleweed/repo/oss/media.1/media': Error code: Curl error 60 Error message: SSL certificate problem: unable to get local issuer certificate
Do not use https, it does not work with redirector on openSUSE download site anyway.
I wasn't sure if maybe systemd-nspawn was the culprit, and not my machines' packages/config, so i consulted the ArchLinux wiki's systemd-nspawn page [2] and created an Arch machine following those instructions. This resulted in a working machine that i could install software in. So, not a systemd-nspawn issue.
I just added "patterns-base-base patterns-base-enhanced_base patterns-base-minimal_base patterns-base-sw_management" to the machine, but the result was the same. I had also previously added "ca-certificates" and "ca-certificates-mozilla" in case it was related to the error. IOW, i'm guessing.
What packages/patterns or other config are required to have a openSUSE machine that i can at least use zypper in to install packages and run "dup"?
thanks in advance,
ITwrx
[1] https://www.freedesktop.org/software/systemd/man/systemd-nspawn.html
-- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On 3/26/20 12:47 PM, Andrei Borzenkov wrote:
Do not use https, it does not work with redirector on openSUSE download site anyway.
I thought there may be something up with https, but i didn't try it previously because i didn't understand why it works in the host, but not in the container. I just rechecked and the host is using http... http repo url does work in the container too. Thanks for your response. Now i can move on with setting up the server. -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
participants (2)
-
Andrei Borzenkov
-
ITwrx