ostreedev / ostree-rs-ext

Rust library with higher level APIs on top of the core ostree API
Apache License 2.0
74 stars 24 forks source link

tar: Fix hang if ostree exits with failure #559

Closed cgwalters closed 10 months ago

cgwalters commented 10 months ago

A classic bug; we need to concurrently handle both the process exit status as well as output from its stdout/stderr streams.

I hit this hang when running ostree-ext-cli container pull directly and the target sysroot mount isn't writable.