2010-03-16 19:34:20 |
Andrew Pollock |
bug |
|
|
added bug |
2010-03-16 19:34:58 |
Andrew Pollock |
bug watch added |
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563726 |
|
2010-03-16 19:34:58 |
Andrew Pollock |
bug task added |
|
tar (Debian) |
|
2010-03-16 19:58:51 |
Victor Vargas |
tar (Ubuntu): importance |
Undecided |
Medium |
|
2010-03-30 23:56:43 |
Andrew Pollock |
summary |
Impossible to bootstrap Lucid on Dapper |
FFe: Sync tar 1.23-1 (main) from Debian squeeze (main) |
|
2010-03-30 23:57:09 |
Andrew Pollock |
attachment added |
|
Upstream ChangeLog diff http://launchpadlibrarian.net/42568270/changelog.diff |
|
2010-04-01 00:28:29 |
Bug Watch Updater |
tar (Debian): status |
Unknown |
Fix Released |
|
2010-04-22 07:12:50 |
Steve Langasek |
nominated for series |
|
Ubuntu Lucid |
|
2010-04-22 07:12:50 |
Steve Langasek |
bug task added |
|
tar (Ubuntu Lucid) |
|
2010-04-22 12:12:31 |
Scott Kitterman |
bug task added |
|
ubuntu-release-notes |
|
2010-04-22 12:16:53 |
Scott Kitterman |
ubuntu-release-notes: status |
New |
Won't Fix |
|
2010-04-22 15:58:55 |
Andrew Pollock |
bug watch added |
|
https://bugzilla.redhat.com/show_bug.cgi?id=552320 |
|
2010-04-22 15:58:55 |
Andrew Pollock |
bug task added |
|
tar (Fedora) |
|
2010-04-22 17:05:55 |
Andrew Pollock |
summary |
FFe: Sync tar 1.23-1 (main) from Debian squeeze (main) |
Impossible to bootstrap Lucid on Dapper |
|
2010-04-22 17:10:53 |
Andrew Pollock |
attachment added |
|
Cherry picked changes to gnulib http://launchpadlibrarian.net/45033122/tar_1.22-2ubuntu1.debdiff |
|
2010-04-22 17:12:02 |
Andrew Pollock |
attachment added |
|
tar_1.22-2ubuntu1 build log http://launchpadlibrarian.net/45033188/tar_1.22-2ubuntu1_amd64.build |
|
2010-04-22 19:06:46 |
Nathan Stratton Treadway |
summary |
Impossible to bootstrap Lucid on Dapper |
tar/gnulib bug prevents bootstraping Lucid on Dapper, causes Lucid upgrade to abort on older linux kernels (e.g. in a chroot or Xen VM) |
|
2010-04-22 20:00:14 |
Dmitry Nedospasov |
attachment added |
|
2.6.18 tar output http://launchpadlibrarian.net/45043681/tar.log |
|
2010-05-02 22:23:26 |
Steve Langasek |
ubuntu-release-notes: status |
Won't Fix |
Triaged |
|
2010-06-08 12:39:41 |
Keith Ward |
attachment added |
|
Patch from above debian bug, which fixes this. http://launchpadlibrarian.net/49944671/tar-futimens.patch |
|
2010-06-08 12:40:24 |
Keith Ward |
tar (Ubuntu Lucid): status |
New |
Fix Released |
|
2010-06-08 12:41:15 |
Keith Ward |
tar (Ubuntu): status |
New |
Fix Released |
|
2010-06-08 13:05:44 |
Keith Ward |
tar (Ubuntu): status |
Fix Released |
In Progress |
|
2010-06-08 13:05:54 |
Keith Ward |
tar (Ubuntu Lucid): status |
Fix Released |
In Progress |
|
2010-06-08 13:06:45 |
Keith Ward |
tar (Ubuntu): status |
In Progress |
Fix Released |
|
2010-08-21 18:11:05 |
Keith Ward |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2010-08-24 17:03:27 |
Keith Ward |
summary |
tar/gnulib bug prevents bootstraping Lucid on Dapper, causes Lucid upgrade to abort on older linux kernels (e.g. in a chroot or Xen VM) |
tar: futimens() with a bad file descriptor (AT_FDCWD) causes bootstrapping failure with kernels < 2.6.22 |
|
2010-08-24 17:29:51 |
Keith Ward |
description |
Binary package hint: tar
Currently if you try to debootstrap Lucid on anything running a kernel older than 2.6.22, (I've specifically tried on 2.6.18) it fails with stuff like:
# dpkg --force-depends --install var/cache/apt/archives/base-files_5.0.0ubuntu10_amd64.deb var/cache/apt/archives/base-passwd_3.5.22_amd64.deb
tar: ./postinst: Cannot utime: Bad file descriptor
tar: ./preinst: Cannot utime: Bad file descriptor
tar: ./conffiles: Cannot utime: Bad file descriptor
tar: ./md5sums: Cannot utime: Bad file descriptor
tar: ./control: Cannot utime: Bad file descriptor
tar: .: Cannot utime: Bad file descriptor
tar: Exiting with failure status due to previous errors
dpkg-deb: subprocess tar returned error exit status 2
dpkg: error processing var/cache/apt/archives/base-files_5.0.0ubuntu10_amd64.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
tar: ./postinst: Cannot utime: Bad file descriptor
tar: ./md5sums: Cannot utime: Bad file descriptor
tar: ./control: Cannot utime: Bad file descriptor
tar: .: Cannot utime: Bad file descriptor
tar: Exiting with failure status due to previous errors
dpkg-deb: subprocess tar returned error exit status 2
dpkg: error processing var/cache/apt/archives/base-passwd_3.5.22_amd64.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
var/cache/apt/archives/base-files_5.0.0ubuntu10_amd64.deb
var/cache/apt/archives/base-passwd_3.5.22_amd64.deb
From further investigation, this appears to be due to a bug in tar. |
Binary package hint: tar
Bootstrapping Ubuntu Lucid with debootstrap is currently impossible with any kernel < 2.6.22, due to a bug in tar - specifically it fails because of a change to eglibc.
According to the debian bug report It seems that before eglibc 2.10.2-3, calls to futimens failed silently, however due to a patch made to eglibc 2.10.2-3, if futimens is called without a valid file descriptor, it now fails with an "Bad File Descriptor" error, because the corresponding utimensat() syscall was not added until kernel 2.6.22
Test Case:
1) Boot a kernel older than 2.6.22
2) Attempt to Bootstrap Ubuntu Lucid to any target.
The bootstrap will fail once it attempts to unpack packages with: tar: ./postinst: Cannot utime: Bad file descriptor
A patch is available (attached in launchpad) originating from the associated debian bug, that ensures that futimens is only called with a valid file descriptor.
A debdiff for 1.22-2 ( changing to 1.22-2ubuntu1 ) will be attached shortly.
|
|
2010-08-24 17:30:16 |
Keith Ward |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2010-08-24 17:31:29 |
Keith Ward |
attachment added |
|
Debdiff for tar-1.22 with added tar-futimens patch from debian bug report. https://bugs.launchpad.net/ubuntu/lucid/+source/tar/+bug/539814/+attachment/1515914/+files/tar-1.22-2ubuntu1.debdiff |
|
2010-08-24 18:21:55 |
Iain Lane |
bug |
|
|
added subscriber Iain Lane |
2010-08-24 18:22:14 |
Iain Lane |
tar (Ubuntu Lucid): status |
In Progress |
Triaged |
|
2010-09-17 22:17:18 |
Alan Pope πΊπ§π± π¦ |
bug |
|
|
added subscriber Alan Pope |
2010-09-18 19:38:48 |
Robbie Williamson |
tar (Ubuntu Lucid): milestone |
|
lucid-updates |
|
2010-09-18 19:39:18 |
Robbie Williamson |
tar (Ubuntu Lucid): assignee |
|
Canonical Foundations Team (canonical-foundations) |
|
2010-09-18 19:39:36 |
Robbie Williamson |
removed subscriber Ubuntu Release Team |
|
|
|
2010-09-20 12:27:09 |
Matthias Klose |
tar (Ubuntu Lucid): status |
Triaged |
In Progress |
|
2010-09-20 12:27:09 |
Matthias Klose |
tar (Ubuntu Lucid): assignee |
Canonical Foundations Team (canonical-foundations) |
Matthias Klose (doko) |
|
2010-09-20 15:12:54 |
Benjamin Drung |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2010-09-20 15:35:47 |
Colin Watson |
tar (Ubuntu Lucid): status |
In Progress |
Fix Committed |
|
2010-09-20 15:35:52 |
Colin Watson |
bug |
|
|
added subscriber SRU Verification |
2010-09-20 15:35:58 |
Colin Watson |
tags |
|
verification-needed |
|
2010-09-22 21:37:26 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/lucid-proposed/tar |
|
2010-09-30 16:03:21 |
Jean-Baptiste Lallement |
tags |
verification-needed |
verification-done |
|
2010-10-05 13:22:51 |
Launchpad Janitor |
tar (Ubuntu Lucid): status |
Fix Committed |
Fix Released |
|
2010-10-07 02:03:49 |
Michael K. Edwards |
bug |
|
|
added subscriber Michael K. Edwards |
2010-12-01 16:26:05 |
getnuked |
bug |
|
|
added subscriber BlueBuntu |
2011-04-27 13:24:44 |
Colin Watson |
bug task added |
|
debootstrap (Ubuntu) |
|
2011-04-27 13:24:55 |
Colin Watson |
debootstrap (Ubuntu): status |
New |
Triaged |
|
2011-04-27 13:24:59 |
Colin Watson |
debootstrap (Ubuntu): importance |
Undecided |
Wishlist |
|
2011-04-27 13:25:02 |
Colin Watson |
debootstrap (Ubuntu Lucid): status |
New |
Triaged |
|
2011-04-27 13:25:06 |
Colin Watson |
debootstrap (Ubuntu Lucid): importance |
Undecided |
Wishlist |
|
2011-04-27 13:26:54 |
Colin Watson |
ubuntu-release-notes: status |
Triaged |
Fix Released |
|
2011-04-27 13:26:54 |
Colin Watson |
ubuntu-release-notes: assignee |
|
Colin Watson (cjwatson) |
|
2015-06-17 11:43:57 |
Rolf Leggewie |
debootstrap (Ubuntu Lucid): status |
Triaged |
Won't Fix |
|
2017-10-27 07:05:42 |
Bug Watch Updater |
tar (Fedora): status |
Unknown |
Fix Released |
|
2017-10-27 07:05:42 |
Bug Watch Updater |
tar (Fedora): importance |
Unknown |
High |
|