[FFe] strace - merge 6.1-0.1

Bug #2008207 reported by Adrien Nader
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
strace (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Merrge 6.1-0.1 from Debian.

Revision history for this message
Adrien Nader (adrien) wrote :

PPA at https://launchpad.net/~adrien-n/+archive/ubuntu/merge-strace-6.1-0.1-v2

Attaching debdiff from 5.19-0ubuntu1 to 6.1-0.1ubuntu1: strace_5.19-0ubuntu1.dsc-to-strace_6.1-0.1ubuntu1.dsc.diff

I've removed the change related to kexec_file_load because our build/test machines arm64+armhf machines should have kernels recent enough now.
I'd also like to remove other patches but we can do this during the 23.10 cycle (this will require running on test machines which I don't have access to myself).

There's a work-around for the following issue:
- strace testsuite creates huge but sparse files
- autopkgtest calls tar with -S/--sparse
- tar reads the huge-but-sparse files in full and expands them
- this increase storage requirements by 2*3TB of storage which machines probably don't have
- build fails

I'll see during the stabilization of 23.04 or development of 23.10 if I can reproduce that outside of debian packaging and if so, discuss that issue upstream.

Revision history for this message
Adrien Nader (adrien) wrote :

Attaching debdiff from strace_6.1-0.1 to strace_6.1-0.1ubuntu1: strace_6.1-0.1.dsc-to-strace_6.1-0.1ubuntu1.dsc.diff

Revision history for this message
Simon Quigley (tsimonq2) wrote :

Hi Adrien, thanks for your work on this. It looks like we're past Feature Freeze, therefore this fix will need an FFE, or Feature Freeze Exception, as documented here: https://wiki.ubuntu.com/FreezeExceptionProcess

While I will keep ~ubuntu-sponsors subscribed, there is a chance this will need to land next cycle.

Thanks again.

Revision history for this message
Adrien Nader (adrien) wrote :

I plan to file an FFe for that and it might serve for other strace updates: the strace version needs to be at least equal to the kernel version (which makes a lot of sense actually).

Revision history for this message
Adrien Nader (adrien) wrote :

Requesting an FFE for this update. I discussed this with Steve who actually granted the exception orally but I wanted to go through the process mostly to learn and practice the process (and also because it is likely we will need other FFes for strace in order to keep up with the kernel and having this written once could help for these).

The reason to request this FFe is that the strace version must match the kernel version due to how coupled the two are. The strace version can be actually be higher since strace stays compatible with older kernels and the kernel tries to not break userspace. Since lunar will have Linux 6.1, it should also have strace >= 6.1. Since the versionning is the same as the kernel's, the change from 5.19 to 6.1 is in no way major and breaking.

The changes are pretty simple: mostly updates to match Linux 6.1 and some improvements for terminal ioctl, PTP_* ioctl and setns syscall.

I have tested the updated package on my machine. It installs cleanly, I was able to strace find, ls, touch and other simple commands. Its own testsuite also passed on my machine during packaging.

There are full debdiffs for this strace merge (which happens to line up with Debian's freeze) earlier in this bug. As for the requested files, I'll be copying short ones (install log, NEWS) below and attaching others (ChangeLog, build log).

==> install log <==
# a re-install because I lost the previous log but output was the same besides the version
(Reading database ... 262021 files and directories currently installed.)
Preparing to unpack strace_6.1-0.1ubuntu1~ppa1_amd64.deb ...
Unpacking strace (6.1-0.1ubuntu1~ppa1) over (6.1-0.1ubuntu1~ppa1) ...
Setting up strace (6.1-0.1ubuntu1~ppa1) ...
Processing triggers for man-db (2.10.2-2) ...

==> NEWS <==
Noteworthy changes in release 6.1 (2022-12-12)
==============================================

* Improvements
  * Enhanced decoding of terminal ioctl commands.
  * Updated decoding of statx syscall.
  * Updated lists of ABS_*, BPF_*, BTRFS_*, COUNTER_*, ETH_P_*, IFLA_*,
    KVM_*, MADV_*, NLMSGERR_*, PERF_*, STATX_*, and TLS_* constants.
  * Updated lists of ioctl commands from Linux 6.1.

* Bug fixes
  * Fixed injection tests on ia64.

Noteworthy changes in release 6.0 (2022-10-29)
==============================================

* Improvements
  * Enhanced decoding of PTP_* ioctl commands.
  * Updated decoding of setns syscall.
  * Updated lists of BPF_*, BTRFS_*, FAN_*, ETH_P_*, KVM_*, NDTPA_*,
    NT_*, PERF_*, and TLS_INFO_* constants.
  * Updated lists of ioctl commands from Linux 6.0.

Revision history for this message
Adrien Nader (adrien) wrote :

Attaching ChangeLog of strace from 5.19 to 6.1.

Revision history for this message
Adrien Nader (adrien) wrote :

Attaching buildlog from PPA.

Revision history for this message
Graham Inggs (ginggs) wrote :

FFe granted, please go ahead.

summary: - strace - merge 6.1-0.1
+ [FFe] strace - merge 6.1-0.1
Changed in strace (Ubuntu):
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package strace - 6.2-0ubuntu1

---------------
strace (6.2-0ubuntu1) lunar; urgency=medium

  * New upstream release (LP: #2012258)

 -- Adrien Nader <email address hidden> Mon, 20 Mar 2023 12:44:18 +0100

Changed in strace (Ubuntu):
status: Triaged → 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.