fix(pebble): place pebble in a separate location
Metadata
Current evaluation
Merged. Relocates the pebble binary to .rock/bin/ to resolve conflicts with Ubuntu 24.04's bin symlink. Approved by reviewers and passed CI. Reviewers confirmed adding .rocks/bin to $PATH for docker exec compatibility, tracked as ROCKS-1088.
Suggested action: —
No scores available.
Issue body
The context here is that starting from Ubuntu 24.04, the 'base-files' package (and related chisel slices) provides "bin" as a symlink to "usr/bin". This breaks the previous "phantom" pebble part because it created "bin" as a regular directory which then conflicts with the symlink.
Moving forward, the pebble binary is now placed in ".rock/bin/". This way we won't get further collisions and this reflects the fact that the location of the binary is, and should be seen, as an implementation detail.
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Relocates the pebble binary to .rock/bin/ to resolve conflicts with Ubuntu 24.04's bin symlink. Approved by reviewers and passed CI. Reviewers confirmed adding .rocks/bin to $PATH for docker exec compatibility, tracked as ROCKS-1088. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Relocates the pebble binary to .rock/bin/ to prevent conflicts with Ubuntu 24.04's bin symlink. Reviewers requested adding .rocks/bin to $PATH for docker exec compatibility, with the follow-up tracked in ROCKS-1088. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Relocates pebble to .rock/bin/ to avoid conflicts with Ubuntu 24.04's bin symlink. Approved, though reviewers requested adding .rocks/bin to $PATH for docker exec usability, tracked as ROCKS-1088. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #552 fix: change pebble dir in 24.04 from /.rock/bin to /usr/bin | rockcraft | merged | Merged a fix updating the pebble binary path from /.rock/bin to /usr/bin for Ubuntu 24.04+ rocks. Approved by two reviewers, passed CI, and builds on PR #528 to ensure stable runtime paths. | |
| #1211 Reconsider the Pebble binary location | rockcraft | open | Issue about Pebble binary location conflict with Ubuntu packages. Resolved by merged PRs #528 and #552 which relocated pebble to .rock/bin/ then back to /usr/bin for Ubuntu 24.04+ rocks. | |
| #725 fix: set PATH on bare-based rocks | rockcraft | merged | Merged fix that sets the default Ubuntu PATH on bare-based rocks images to mitigate security risks if the Pebble entrypoint is bypassed. Approved by three reviewers, passed CI, and resolves issue #711. | |
| #525 Update pebble part for 24.04 rocks | rockcraft | closed | Resolved usrmerge symlink conflicts by updating the pebble binary location for 24.04 rocks. Closed after being fixed by pull request #528. |