Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKrOiPQ2idv0f94VQBvyVHm6esQMCcyyTtp-6M5NUA4-XyNrUA@mail.gmail.com>
Date: Fri, 25 Feb 2022 17:59:26 +0000
From: naruto canada <narutocanada@...il.com>
To: musl@...ts.openwall.com
Subject: anyone know how to approach this problem (expect5.x.x hangs)

hi

I'm in the process of porting all my desktop env. over to musl.
I'm about 70% done. I hit a few minor snags but got over them.
I had expected a lot more painful experience, but it turned out ok.
I could not get xserver to compile but will work around using vnc for now.
I am quite happy I got qemu to compile.
The last 30% (Browsers !!!), I dare not approach them right now.

Anyway, back to my probem, expect5.x.x hangs,
no seg fault, so I do not know how to approach this problem.
normally I do a simple test:
expect -c "spawn ls" # this always succeeds.

(I use expect to automate password creation)
VNCRP=123456 # need 6 characters # create ~/.vnc/passwd
echo '#!/usr/bin/expect
set timeout -1
spawn vncpasswd
expect "Password:"
send "'$VNCRP'\r"
expect "Verify:"
send "'$VNCRP'\r"
expect "Would you like to enter a view-only password (y/n)?"
send "n\r"
interact' > /tmp/p.ex
expect /tmp/p.ex
This script works fine under glibc, but hangs under musl.

I've already tried the same version of expect and patches from
aports-3.15.0/main/expect/*.patch
I got the same result. (it hangs)

This is not a priority problem for me. I can easily work around it
without using expect.
Just wondering if anyone know how to approach this problem (when there
is no seg fault)
Thanks.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.