apple / apple/container

[Bug]: Unable to update kernel unless existing one is wiped

Open
#905 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
49.9k
Forks
1.8k
Avg merge
1d 20h
Merged PRs (30d)
22

Description

### I have done the following

- [x] I have searched the existing issues
- [x] If possible, I've reproduced the issue using the 'main' branch of this project

### Steps to reproduce

I tried to upgrade the kernel to try to see if a newer one works slightly better.
But setting does not make the kernel be downloaded on the next system start:

```
container system property set kernel.url https://github.com/kata-containers/kata-containers/releases/download/3.20.0/kata-static-3.20.0-arm64.tar.xz
```

Only after wiping `Library/Application Support/com.apple.container/kernels` the kernel was offered to be downloaded on start.

### Current behavior

Old kernel is being used.

### Expected behavior

Detect the new kernel option and download and extract it.

### Environment

```markdown
- OS:
- Xcode:
- Container: 0.6.0
```

### Relevant log output

```shell
N/A
```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.