juju 3.2.2 contains pebble with a regression

Bug #2033094 reported by John A Meinel
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Unassigned

Bug Description

Pebble made a recent change to inherit env variables from the Pebble process to the services that it spawns. However it had an issue with HOME an USR
https://github.com/canonical/pebble/issues/260
https://github.com/canonical/pebble/issues/263

This was fixed by:
https://github.com/canonical/pebble/pull/262

However, 3.2.2 shipped with this pebble:
31: github.com/canonical/pebble v0.0.0-20230711093550-00bcd1f7dda5

but the fix landed as:
commit 02ad28a16a3594b38e242bfe0d7eef8a896db386
Author: shayancanonical <email address hidden>
Date: Mon Aug 7 20:33:37 2023 -0400

    Do not inherit HOME and USER env vars from pebble daemon environment (#262)

    Also use root home directory when running tests as sudo

Note that there are several other patches in pebble by this time, and there isn't a formal release process for pebble for us to select, but we can at least move to 02ad28.

Tags: pebble
John A Meinel (jameinel)
Changed in juju:
milestone: none → 3.2.3
Revision history for this message
Ben Hoyt (benhoyt) wrote :

Note that the Pebble "require" line in the go.mod on Juju's 3.2 branch already points at 02ad28, so there's nothing further to do here (other than ship 3.2.3).

https://github.com/juju/juju/blob/3.2/go.mod#L27

Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.