← Back to issue list

Reconsider the Pebble binary location

View original Github issue

Metadata

Project
rockcraft
Number
#1211
Type
issue
State
open
Author
cjdcordeiro
Labels
—
Created
Updated
Closed
—

Current evaluation

Design discussion (opened by maintainer,0 comments, unlabelled): /usr/bin/pebble may collide with Ubuntu's `pebble` package; proposes a rock-specific path such as /.rock

Suggested action: needs triage

Reason: The author (maintainer cjdcordeiro) explicitly writes "_Needs discussion_" and there are zero comments, no labels and no assignee, so it has never been triaged. Code context shows the location has already flip-flopped: commit 3dddfa14 (PR #528) moved Pebble to /.rock/bin and commit 15b653a2 (PR #552) moved it back to /usr/bin, and rockcraft/pebble.py currently hardcodes PEBBLE_BINARY_DIR = "usr/bin" with a comment that this is intentional for the usrmerged install dir. The conflicting Ubuntu `pebble` package is test-only, so urgency is low, but any move is a runtime path break needing discussion first — hence low actionability.

Evaluated by: mr-cal-bot

Impact: 35 Quick Win: 4 Complexity: 60 Confidence: 66 Actionability: 30

Issue body

An interesting point was raised recently in https://bugs.launchpad.net/cloud-images/+bug/2153133, referring to the fact that the current Pebble location (`/usr/bin/pebble`) may conflict with existing Ubuntu packages (e.g. `pebble` (ACME (RFC 8555) test-only server)). While it is true that we can't prevent every single potential conflict out there, we may want to consider putting Pebble in a more rock-specific path (potentially `/.rock`?). _Needs discussion_

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 35
Quick Win: 4
Complexity: 60
Confidence: 66
Actionability: 30
needs triage Design discussion (opened by maintainer,0 comments, unlabelled): /usr/bin/pebble may collide with Ubuntu's `pebble` package; proposes a rock-specific path such as /.rock
stealth/space-bunny-alpha
Impact: 40
Quick Win: 20
Complexity: 42
Confidence: 93
Actionability: 85
close resolved Pebble path conflicts were addressed by merged PRs #528 and #552, selecting /.rock/bin and an intentional /usr/bin path for Ubuntu 24.04+.
stealth/space-bunny-alpha
Impact: 42
Quick Win: 24
Complexity: 40
Confidence: 92
Actionability: 94
close resolved Pebble path selection is implemented: affected 24.04 rocks use /.rock/bin, while newer bases retain /usr/bin. The discussion issue remains open.
stealth/space-bunny-alpha
Impact: 55
Quick Win: 11
Complexity: 55
Confidence: 88
Actionability: 44
needs triage Pebble relocation to avoid Ubuntu package conflicts remains open for design discussion. PRs #528 and #552 introduced a rock-specific location and a deliberate /usr/bin exception for Ubuntu 24.04+.
stealth/space-bunny-alpha
Impact: 38
Quick Win: 7
Complexity: 64
Confidence: 94
Actionability: 48
needs triage Pebble relocation was tried but only partially retained: PR #528 moved it to /.rock/bin, while PR #552 restored /usr/bin for Ubuntu 24.04+, leaving the policy for discussion.
qwen3.6-35b-a3b-mtp-q6
Impact: 70
Quick Win: 42
Staleness: 30
Complexity: 40
Confidence: 85
Support Request: 10
close stale 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.
qwen/qwen3.6-35b-a3b
Staleness: 45
Complexity: 20
Confidence: 70
Support Request: 0
needs triage Discusses moving the Pebble binary from /usr/bin/pebble to a rock-specific path like /.rock to avoid conflicts with existing Ubuntu packages. Currently awaiting maintainer discussion and triage.
qwen3.6-35b-a3b-mtp-q6
Staleness: 65
Complexity: 45
Confidence: 85
Support Request: 10
needs triage Discusses potential naming conflict with an existing Ubuntu package and proposes relocating the Pebble binary to a rock-specific path like /.rock. Currently awaiting maintainer discussion and triage.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/rockcraft#552 (confidence 90%)

    PR #552 (commit 15b653a2) deliberately reverted /.rock/bin back to /usr/bin for 24.04+, so the current code encodes a prior decision against this change

  • Related To: canonical/rockcraft#528 (confidence 85%)

    PR #528 (commit 3dddfa14) previously relocated Pebble to /.rock/bin, the exact option proposed here

Related issues

Issue Project State Summary Similarity
#528 fix(pebble): place pebble in a separate location rockcraft merged PR #528 merged via commit 3dddfa14, moving the Pebble binary from bin/ to .rock/bin so it no longer collides with Ubuntu 24.04 base-files' bin symlink to usr/bin.
82%
#552 fix: change pebble dir in 24.04 from /.rock/bin to /usr/bin rockcraft merged Merged PR #552 (commit 15b653a2), moving Pebble from /.rock/bin to /usr/bin for Ubuntu 24.04 and later to provide a stable runtime path.
73%
#525 Update pebble part for 24.04 rocks rockcraft closed Updated Pebble placement for Ubuntu 24.04 rocks via merged PR #528 (commit 3dddfa14), avoiding the /bin-to-/usr/bin usrmerge symlink conflict.
73%