Bug 48898 - hangs with certain args
Summary: hangs with certain args
Status: CLOSED WORKSFORME
Alias: None
Product: Branch p10
Classification: Unclassified
Component: hasher (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P5 normal
Assignee: Dmitry V. Levin
QA Contact: qa-p10@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-22 13:16 MSK by ildar
Modified: 2023-12-26 11:49 MSK (History)
1 user (show)

See Also:


Attachments
ps afxw (2.21 KB, text/x-log)
2023-12-22 13:16 MSK, ildar
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ildar 2023-12-22 13:16:47 MSK
Created attachment 15256 [details]
ps afxw

hsh в привилегированном контейнере работает (hsh --initroot-only --workdir=$TMP/hasher ; hsh-shell --workdir=$TMP/hasher)

Но с определёнными опциями виснет и не проходит до конца фазу `--init` на этом месте:
hsh-initroot: Unpacked rpm_4.13.0.1-alt34%3ap10+308150.100.4.1@1668010392_x86%5f64.rpm.       
hsh-initroot: Unpacked initial package list.                                                                                                         
hsh-initroot: Created fakedata.                                                                                                                      
^Chsh-initroot: Unpack of setup_2.2.17-alt1%3ap10+309128.100.2.1@1668097696_noarch.rpm for fakedata failed.

прикладываю вывод `ps afxw`

сам контейнер запускается так:
mkdir -pm 777 /tmp/alt-builder; podman run --rm --privileged -it --mount type=bind,source=/tmp/alt-builder,destination=/tmp IMAGE
Comment 1 Alexander Makeenkov 2023-12-26 11:40:34 MSK
Не удаётся воспроизвести:

hsh-initroot: Unpacked rpm_4.13.0.1-alt34%3ap10+308150.100.4.1@1668010392_x86%5f64.rpm.
hsh-initroot: Unpacked initial package list.
hsh-initroot: Created entry point: /tmp/.private/test/hasher/chroot/.host/entry
hsh-initroot: Created RPM database.
Preparing packages...
setup-2.2.17-alt1.noarch
<13>Dec 26 08:37:08 rpmi: setup-2.2.17-alt1 p10+309128.100.2.1 1668097696 installed
filesystem-2.3.18-alt1.x86_64
<13>Dec 26 08:37:08 rpmi: filesystem-2.3.18-alt1 sisyphus+257426.100.1.1 1599226664 installed
glibc-preinstall-6:2.32-alt5.p10.2.x86_64

hsh-initroot: Installed initial package list.
Preparing...                                                                                                                                                        
Updating / installing...
 1: setup-2.2.17-alt1                                                                                                                                               
 2: filesystem-2.3.18-alt1


37: rpm-4.13.0.1-alt34                                                                                                                                              
Running /usr/lib/rpm/posttrans-filetriggers
hsh-initroot: RPM database updated.
Comment 2 Alexander Makeenkov 2023-12-26 11:49:20 MSK
С параметром --save-fakeroot тоже не зависло:

hsh-initroot: Unpacked initial package list.
hsh-initroot: Created fakedata.
hsh-initroot: Unpacked setup_2.2.17-alt1%3ap10+309128.100.2.1@1668097696_noarch.rpm for fakedata.
hsh-initroot: Unpacked filesystem_2.3.18-alt1%3asisyphus+257426.100.1.1@1599226664_x86%5f64.rpm for fakedata.
.....
hsh-initroot: Unpacked rpm_4.13.0.1-alt34%3ap10+308150.100.4.1@1668010392_x86%5f64.rpm for fakedata.
hsh-initroot: Created entry point: /tmp/.private/test/hasher/chroot/.host/entry
hsh-initroot: Created RPM database.
Preparing packages...
setup-2.2.17-alt1.noarch