coreos / rpm-ostree

⚛📦 Hybrid image/package system with atomic upgrades and package layering
https://coreos.github.io/rpm-ostree
Other
872 stars 195 forks source link

install on live rootfs fails #3007

Open hdonnay opened 3 years ago

hdonnay commented 3 years ago

Host system details

State: idle
Deployments:
● ostree://fedora:fedora/aarch64/coreos/testing-devel
                   Version: 34.20210719.dev.0 (2021-07-19T01:33:08Z)
                    Commit: 773312b88ebddf13a11efd4b74d81f5eba30d9bb082a88c56c2ac0f4e4b9be90
              GPGSignature: (unsigned)

This node is netbooted into FCOS with this command line:

fedora-coreos-34.20210719.dev initrd=main coreos.live.rootfs_url=http://tftp.lan/boot/fedora-coreos-34.20210719.dev.0-live-rootfs.aarch64.img ignition.firstboot ignition.platform.id=metal ignition.config.url=http://tftp.lan/boot/${serlalnumber}.ign

Expected vs actual behavior

% sudo rpm-ostree install systemd-journal-remote --apply-live
error: Read-only file system

Expected:

% sudo rpm-ostree install systemd-journal-remote --apply-live
...
Success!

Steps to reproduce it

I think attempting to install any package on a live rootfs should give the same error

Would you like to work on the issue?

I can test on the (unofficial) aarch64 builds, and probably the x86_64 builds.

hdonnay commented 3 years ago

This also makes issues like coreos/fedora-coreos-tracker#404 unsolvable by the usual overlay method.