linuxdeploy icon indicating copy to clipboard operation
linuxdeploy copied to clipboard

ash: write error: Socket operation on non-socket

Open Neosate opened this issue 10 years ago • 10 comments

As of the latest version 1.5.4-182 I am unable to get past "Making file system (xxx)..." I am workign on a rooted Xperia z3v with android 5.0.2. This all worked with pervious versions of LinuxDeploy. When I replaced my SDcard and tried to reinstall, I get errors.

With BusyBox v1.24..1-meefik, I get the following:

install Checking installation path ... done Making file system (ext4) ... done fail <<< install

It does not matter what file system I try to make. I can get pas this step with BusyBox v1.24.1-Stericson, But fail later.

install Checking installation path ... done Making file system (ext4) ... done Mounting Partitions: / ... done Installing Debian-based Distribution: sh : applet not found E: Cannot install into target 'data/local/linux' mounted with noexec or nodev <<< install

This worked fine before the update

Neosate avatar Dec 22 '15 20:12 Neosate

Please, install BusyBox from https://play.google.com/store/apps/details?id=ru.meefik.busybox or https://github.com/meefik/busybox/releases Remove it and install again (from app interface). Any other BusyBox builds is not supported.

meefik avatar Dec 22 '15 20:12 meefik

Enable trace mode and put error logs here.

meefik avatar Dec 22 '15 20:12 meefik

I had updated and changed the bussybox to the one noted in Linux Deploy install screen. Attached in the log file. All the settings are identical to previous installations that have worked before the update.

linuxdeploy.txt

Neosate avatar Dec 22 '15 20:12 Neosate

See #243 and #346

meefik avatar Dec 22 '15 21:12 meefik

For test try the command:

busybox ash -c "echo test"

It seems that the command echo returns this error. Here's source code this command: https://git.busybox.net/busybox/tree/coreutils/echo.c

meefik avatar Dec 29 '15 22:12 meefik

error persists, I experience no errors installing or running on any other devices. this may be an Xperia specific issue. Though I had it working early this year on the device.

Neosate avatar Dec 30 '15 16:12 Neosate

Try static version of compatible BusyBox: https://yadi.sk/d/fBZdWQt7mmXci

meefik avatar Jan 09 '16 22:01 meefik

Hi meefik, big fun of your work. How exactly can you install static vesrion of BusyBox? It's not an .apk so. Sorry for the ignorance

ch07021 avatar Apr 25 '16 19:04 ch07021

@ch07021 Static BusyBox installer (apk): https://yadi.sk/d/d7al9qzbrHLRB

meefik avatar Apr 25 '16 19:04 meefik

@meefik Thank you for you quick reply. However lollipop seems unable to open this apk... I even tried with apk installers but nothing. Could you enlighten me one more time? Thanks in advance

ch07021 avatar Apr 25 '16 20:04 ch07021