Public bug reported:

Martin Smola reported that last tar security updates caused a possible
regression:


=== Original Report ===
 
Environment:

Ubuntu 22.04.5 LTS (Jammy)
OpenEmbedded / Yocto (Scarthgap)

The problem is fully reproducible.

Results:

tar 1.34+dfsg-1build3 -> OK
tar 1.34+dfsg-1ubuntu0.1.22.04.4 -> FAIL
tar 1.34+dfsg-1ubuntu0.1.22.04.5 -> FAIL

Downgrading back to 1.34+dfsg-1build3 immediately fixes the problem.

This does not appear to be the same issue as LP #2160650. Version
.22.04.5 fixes that issue, but this regression is still reproducible.
The failure happens during the OpenEmbedded do_package task while
copying the package using:

tar --exclude=./sysroot-only -cf - -C <image> -p -S . | tar -xf - -C
<package>

The relevant error is:

got *at() syscall for unknown directory, fd 4
unknown base path for fd 4, path lib
couldn't allocate absolute path for 'lib'

tar: ./usr/lib: Cannot mkdir: Bad address

The complete log.do_package is attached.

** Affects: tar (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "log.do_package.16658"
   
https://bugs.launchpad.net/bugs/2161305/+attachment/5984497/+files/log.do_package.16658

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161305

Title:
  Possible tar regression affecting OpenEmbedded

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tar/+bug/2161305/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to