Skip to content

[Bug]: "container system start" hangs when app root is placed on an external disk #621

@GarthSnyder

Description

@GarthSnyder

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

The container system start command hangs indefinitely for me whenever the app root is on an external disk. It prints "Verifying apiserver is running..." but never progresses beyond that.

Things I've tried that all fail in this same way:

  • Starting the 0.4.1 release version installed via package with container system start --app-root path-to-existing-dir, where path-to-existing-dir is on an external drive.
  • Symbolic linking ~/Library/Application Support/com.apple.container to path-to-existing dir.
  • Cloning the current repo to an external disk and running make all test integration as suggested in the BUILDING document.
  • Cloning the current repo to a second external disk and running make all test integration.

Things that work fine:

  • Using container normally with no special configuration.
  • Cloning to my home directory (on the root disk) and running make all test integration.

I would imagine it fails similarly on any non-root disk, but in true Apple style, I have only the one internal disk to test with. When failing during make, the process hangs at:

Running the integration tests...
Warning! Running debug build. Performance may be degraded.
Verifying apiserver is running...

Note that the make test phase always seems to work fine--even on an external disk--and it runs without errors, even though testing also appears to depend on the apiserver.

Control-C'ing the container start command after it hangs leaves the container system in a wedged and unrecoverable state. Containers can't be used until after a reboot.

Current behavior

As described above.

Expected behavior

I just want containers stored on an external disk that I specify. In other ways, I don't think there's anything unusual about what I'm trying to do.

Environment

- OS: Tahoe 26.0 release version
- Xcode: 26.0, tool chain 6.2
- Container: Doesn't get far enough to run containers

Relevant log output

See above.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

storageissues and features associated with storage.

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions