termux / proot

An chroot-like implementation using ptrace.
https://wiki.termux.com/wiki/PRoot
Other
751 stars 161 forks source link

[Bug]: Cannot create files due to "disk full" #173

Closed Yisus7u7 closed 3 years ago

Yisus7u7 commented 3 years ago

Problem description

Screenshot_20210817-151118

I installed kde plasma in termux

What steps will reproduce the bug?

But the kde apps cannot create some files, a message appears saying that the disk is full

What is the expected behavior?

And that's false, if I have space.

The problem happens in any facility and any phone

ghost commented 3 years ago

But the kde apps cannot create some files, a message appears saying that the disk is full

And what I can do? I'm not author or maintainer of KDE or other packages.

Guys, let's understand that proot-distro is just a shell script wrapper that automates downloading rootfs, extracting it and launching the proot. Nothing more. Any error in package comes from proot itself and not the proot-distro.

So what issue/bug reports I'm accepting:

Everything else is beyond the control of PRoot Distro.

michalbednarski commented 3 years ago

Appears to be proot issue with QSaveFile.commit() (at least as far as I can see with quick testing with Kate (text editor), although issue there applies only to config files and not files saved by application)

Moved issue to proot repo and reopening

(though please be patient as I yet still have to debug particular root cause, there were recently fixes related to QSaveFile in proot although it appears that in previous version issue is also present so this isn't regression)

Yisus7u7 commented 3 years ago

Dolphin also can't create files..

Yonle commented 3 years ago

Can confirm this issue in Android 8 with Alpine proot & Plasma installed with following error:

kf.config.core: Couldn't write "/home/yonle/.config/plasma-localerc" . Disk full?
Yisus7u7 commented 3 years ago

Can confirm this issue in Android 8 with Alpine proot & Plasma installed with following error:

kf.config.core: Couldn't write "/home/yonle/.config/plasma-localerc" . Disk full?

That error sucess in any distro, why will this happen..

michalbednarski commented 3 years ago

Should be fixed in newest proot update available in Termux apt repo

Yonle commented 3 years ago

It's fixed @michalbednarski. Good job 👍