You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.
When installing a package in toolbox, you are suddenly escaped from the container.
I've noticed that when switching toolbox script to use fedora:24 image instead of fedora:latest ( ~:25 release ) image problem does not exist any longer. This might be problem of systemd-nspawn-way of running toolbox container. When installing package in fedora:25 user is warned about missing repository GPG key and prompted to add it. When this situation occurs in container ran via systemd-nspawn, container gets KILLed.
...
Installed size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] tcpdump-4.7.4-4.fc24.x86_64.rpm: Already downloaded
warning: /var/cache/dnf/fedora-310f9d37d74ceec1/packages/tcpdump-4.7.4-4.fc24.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fdb19c98: NOKEY
Container core-fedora-latest terminated by signal KILL.
[root@69a35700f7e7 /]# dnf install tcpdump
Fedora 25 - x86_64 - Updates 30 MB/s | 9.9 MB 00:00
Fedora 25 - x86_64 20 MB/s | 50 MB 00:02
Last metadata expiration check: 0:00:20 ago on Tue Dec 6 14:24:30 2016.
Dependencies resolved.
=====================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================
Installing:
tcpdump x86_64 14:4.7.4-4.fc24 fedora 442 k
Transaction Summary
=====================================================================================================================================
Install 1 Package
Total download size: 442 k
Installed size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
tcpdump-4.7.4-4.fc24.x86_64.rpm 1.2 MB/s | 442 kB 00:00
-------------------------------------------------------------------------------------------------------------------------------------
Total 366 kB/s | 442 kB 00:01
warning: /var/cache/dnf/fedora-310f9d37d74ceec1/packages/tcpdump-4.7.4-4.fc24.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fdb19c98: NOKEY
Importing GPG key 0xFDB19C98:
Userid : "Fedora 25 Primary (25) <fedora-25-primary@fedoraproject.org>"
Fingerprint: C437 DCCD 558A 66A3 7D6F 4372 4089 D8F2 FDB1 9C98
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-25-x86_64
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing : tcpdump-14:4.7.4-4.fc24.x86_64 1/1
Verifying : tcpdump-14:4.7.4-4.fc24.x86_64 1/1
Installed:
tcpdump.x86_64 14:4.7.4-4.fc24
Complete!
Actual Behavior
core@ip-10-40-20-221 ~ $ toolbox
Spawning container core-fedora-latest on /var/lib/toolbox/core-fedora-latest.
Press ^] three times within 1s to kill container.
[root@ip-10-40-20-221 ~]#
[root@ip-10-40-20-221 ~]# dnf install tcpdump
Last metadata expiration check: 0:22:35 ago on Tue Dec 6 14:03:48 2016.
Dependencies resolved.
=====================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================
Installing:
tcpdump x86_64 14:4.7.4-4.fc24 fedora 442 k
Transaction Summary
=====================================================================================================================================
Install 1 Package
Total size: 442 k
Installed size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] tcpdump-4.7.4-4.fc24.x86_64.rpm: Already downloaded
warning: /var/cache/dnf/fedora-310f9d37d74ceec1/packages/tcpdump-4.7.4-4.fc24.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fdb19c98: NOKEY
Container core-fedora-latest terminated by signal KILL.
Reproduction Steps
Run toolbox
When in toolbox install tcpdump -> dnf install tcpdump
Other Information
Feature Request
Environment
What hardware/cloud provider/hypervisor is being used to run CoreOS?
Desired Feature
Other Information
The text was updated successfully, but these errors were encountered:
After all, I think that using latest image in such a vital CoreOS component is unacceptable -> toolbox should be frozen and bound to particular CoreOS release IMO.
Issue Report
Bug
When installing a package in
toolbox
, you are suddenly escaped from the container.I've noticed that when switching toolbox script to use
fedora:24
image instead offedora:latest
( ~:25
release ) image problem does not exist any longer. This might be problem ofsystemd-nspawn
-way of running toolbox container. When installing package infedora:25
user is warned about missing repository GPG key and prompted to add it. When this situation occurs in container ran viasystemd-nspawn
, container gets KILLed.CoreOS Version
Environment
AWS EC2.
Expected Behavior
Actual Behavior
Reproduction Steps
toolbox
dnf install tcpdump
Other Information
Feature Request
Environment
What hardware/cloud provider/hypervisor is being used to run CoreOS?
Desired Feature
Other Information
The text was updated successfully, but these errors were encountered: