sbuild-launchpad-chroot does not notice tar extract failures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sbuild-launchpad-chroot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Confirmed
|
Undecided
|
Unassigned | ||
Impish |
Won't Fix
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Nothing is checking exit code of tar when the downloaded tarball is extracted.
Tar could fail for many reasons including permission or
filesystem full.
If tar failed, sbuild-
The user would likely fail in a less obvious way later on.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: sbuild-
ProcVersionSign
Uname: Linux 5.11.0-46-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu Jan 27 12:22:26 2022
InstallationDate: Installed on 2020-01-15 (742 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: sbuild-
UpgradeStatus: Upgraded to focal on 2020-04-17 (650 days ago)
Related branches
- dann frazier: Approve
-
Diff: 15 lines (+2/-2)1 file modifiedbin/sbuild-launchpad-chroot (+2/-2)
Changed in sbuild-launchpad-chroot (Ubuntu Impish): | |
status: | New → Confirmed |
This bug was fixed in the package sbuild- launchpad- chroot - 0.19
--------------- launchpad- chroot (0.19) jammy; urgency=medium
sbuild-
* Check the exit code of tar when extracting a root file system.
Thanks to Scott Moser. (LP: #1959324)
-- dann frazier <email address hidden> Mon, 31 Jan 2022 12:38:07 -0700