Hi,
Helmut Grohne reported a bug in pseudo, which, upon further
investigation, happens when tar (at least v1.34) is extracting a file.
My initial reproducer was this:
$ cd /tmp
$ PSEUDO_PREFIX=/usr PSEUDO_LOCALSTATEDIR=/tmp/state pseudo /bin/bash
# mkdir -p foobar
# tar -C /lib -c -f - . | tar -C /tmp/foobar -xv
./
./cryptsetup/
./cryptsetup/cryptdisks-functions
./cryptsetup/functions
./cryptsetup/scripts/
./cryptsetup/scripts/decrypt_ssl
./cryptsetup/scripts/decrypt_keyctl
./cryptsetup/scripts/decrypt_gnupg
./cryptsetup/scripts/decrypt_gnupg-sc
./cryptsetup/scripts/passdev
./cryptsetup/scripts/decrypt_opensc
./cryptsetup/scripts/decrypt_derived
./cryptsetup/askpass
abort()ing pseudo client by server request. See
https://wiki.yoctoproject.org/wiki/Pseudo_Abort for more details on this.
Check logfile: /tmp/state/pseudo.log
Aborted
# cat /tmp/state/pseudo.log
debug_logfile: fd 2
pid 977255 [parent 977254], doing new pid setup and server start
Setup complete, sending SIGUSR1 to pid 977254.
path mismatch [2 links]: ino 18745211 db
'/tmp/foobar/cryptsetup/scripts' req '/proc/self/fd/4'.
#
However, the same happened when I pre-tarred /lib and extracted it:
# tar -C /lib -c -f /tmp/test.tar .
# tar -C /tmp/foobar -xv -f /tmp/test.tar
./
./cryptsetup/
./cryptsetup/cryptdisks-functions
./cryptsetup/functions
./cryptsetup/scripts/
./cryptsetup/scripts/decrypt_ssl
./cryptsetup/scripts/decrypt_keyctl
./cryptsetup/scripts/decrypt_gnupg
./cryptsetup/scripts/decrypt_gnupg-sc
./cryptsetup/scripts/passdev
./cryptsetup/scripts/decrypt_opensc
./cryptsetup/scripts/decrypt_derived
./cryptsetup/askpass
./cryptsetup/checks/
./cryptsetup/checks/ext2
./cryptsetup/checks/un_blkid
./cryptsetup/checks/swap
./cryptsetup/checks/blkid
./cryptsetup/checks/xfs
./linux-sound-base/
abort()ing pseudo client by server request. See
https://wiki.yoctoproject.org/wiki/Pseudo_Abort for more details on this.
Check logfile: /tmp/state/pseudo.log
Aborted
--
Cheers,
Andrej
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160661):
https://lists.openembedded.org/g/openembedded-core/message/160661
Mute This Topic: https://lists.openembedded.org/mt/88494038/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-