Should we change the behaviour of -P for lsblk in util-linux for Jammy?

Andreas Hasenack andreas at canonical.com
Fri Feb 18 11:51:26 UTC 2022


Hi,

On Fri, Feb 18, 2022 at 2:18 AM Bryce Harrington
<bryce.harrington at canonical.com> wrote:
>
> On Thu, Feb 17, 2022 at 01:00:07PM +1300, Matthew Ruffell wrote:
> > 3) Revert the single patch which caused all of this,
> > 58b510e580 libsmartcols: sanitize variable names on export output
> > which is a tidier and well tested solution, and drop the patch when util-linux
> > is rebased to 2.38 in KK. This keeps existing behaviour in Focal/Impish, and
> > enables older MAAS and Curtin to keep working.
> >
> > I'm leaning toward suggesting 3) at this stage, but this is mostly to keep
> > existing users happy on their older versions of MAAS.
>
> I think your hunch for #3 does sound like the safer approach to me as
> well.  Unless there's a huge number of users asking for the new feature,
> those who do need it can either wait until it's generally available, or
> use a workaround with some awk filters or whatnot.

I'd also prefer (3). And the new option for shell compatible output
could always be attempted as an SRU in the future if it's deemed
important enough.



More information about the ubuntu-devel mailing list