Switch to a dev
branch and enable initrd regeneration:
ostree commit -b dev --fsync=no --tree=ref=$booted_commit
rpm-ostree rebase :dev
rpm-ostree initramfs --enable
reboot
Updating files:
NAME="Red Hat Enterprise Linux CoreOS" | |
VERSION="9.4.202409221629-0 (Plow)" | |
ID="rhel" | |
ID_LIKE="fedora" | |
VERSION_ID="9.4" | |
PLATFORM_ID="platform:el9" | |
PRETTY_NAME="Red Hat Enterprise Linux CoreOS 9.4.202409221629-0 (Plow)" | |
ANSI_COLOR="0;31" | |
LOGO="fedora-logo-icon" | |
CPE_NAME="cpe:/o:redhat:enterprise_linux:9::baseos" |
Start the container using at least these switches: | |
(host) podman run -ti \ | |
--privileged \ | |
--pid=host \ | |
-v /:/host \ | |
--name gdb \ | |
--detach-keys=ctrl-t \ | |
registry.fedoraproject.org/fedora:32 /bin/bash |
{ | |
"ref": "fedora/x86_64/coreos/testing", | |
"ostree-n-metadata-total": 8363, | |
"ostree-n-metadata-written": 2800, | |
"ostree-n-content-total": 4836, | |
"ostree-n-content-written": 241, | |
"ostree-n-cache-hits": 15054, | |
"ostree-content-bytes-written": 120538393, | |
"ostree-commit": "f482e2f1870124abf1f0094b7fcc66f86db8394a4096e1e66984b80178e84b34", | |
"ostree-content-checksum": "ca63ec06f384ec21076be1f0f14c6c80fdaaf7edd1d862733942cd46c2541a88", |
{ | |
"ignition": { | |
"version": "2.2.0" | |
}, | |
"storage": { | |
"files": [ | |
{ | |
"filesystem": "root", | |
"path": "/etc/udev/rules.d/39-redhat.rules", | |
"mode": 420, |
{ | |
"ignition": { | |
"config": {}, | |
"security": { | |
"tls": {} | |
}, | |
"timeouts": {}, | |
"version": "3.0.0" | |
}, | |
"passwd": { |
Switch to a dev
branch and enable initrd regeneration:
ostree commit -b dev --fsync=no --tree=ref=$booted_commit
rpm-ostree rebase :dev
rpm-ostree initramfs --enable
reboot
Updating files:
{ | |
"ignition": { | |
"config": {}, | |
"security": { | |
"tls": {} | |
}, | |
"timeouts": {}, | |
"version": "2.2.0" | |
}, | |
"networkd": {}, |
[ | |
{ | |
"ID": "c5e0871c45fbc1d5b15d486c146f5022c35b4a46a49d14622e6f90da469c65df", | |
"Created": "2018-08-07T14:09:31.854809081-04:00", | |
"Path": "/bin/bash", | |
"Args": [ | |
"/bin/bash" | |
], | |
"State": { | |
"OciVersion": "1.0.0", |
2018-02-09 19:16:00 | |
Full thread dump OpenJDK Server VM (25.161-b14 mixed mode): | |
"Attach Listener" #128 daemon prio=9 os_prio=0 tid=0x0c9bd800 nid=0x15d waiting on condition [0x00000000] | |
java.lang.Thread.State: RUNNABLE | |
Locked ownable synchronizers: | |
- None | |
"RequestHandlerThread[#33]" #123 daemon prio=5 os_prio=0 tid=0x092a1400 nid=0x143 waiting on condition [0xd3176000] |
2018-02-08 18:12:18 | |
Full thread dump OpenJDK Server VM (25.161-b14 mixed mode): | |
"Attach Listener" #98 daemon prio=9 os_prio=0 tid=0x0c66b000 nid=0xc9 waiting on condition [0x00000000] | |
java.lang.Thread.State: RUNNABLE | |
Locked ownable synchronizers: | |
- None | |
"RequestHandlerThread[#12]" #94 daemon prio=5 os_prio=0 tid=0x0c66e400 nid=0xb6 waiting on condition [0xcf604000] |