Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一加12更新11838之后termux安装包的时候报错 #1727

Closed
2 of 3 tasks
geniucker-dev opened this issue May 12, 2024 · 3 comments
Closed
2 of 3 tasks

一加12更新11838之后termux安装包的时候报错 #1727

geniucker-dev opened this issue May 12, 2024 · 3 comments

Comments

@geniucker-dev
Copy link

Please check before submitting an issue

  • I have searched the issues and haven't found anything relevant
  • I will upload bugreport file in KernelSU Manager - Settings - Report log
  • I know how to reproduce the issue which may not be specific to my device

Describe the bug

安装软件包的时候出现

E: Can not write log (Is /dev/pts mounted?) - open (13: Permission denied)

To Reproduce

用termux安装软件包

Expected behavior

不报错

Screenshots

手里的设备只有一加12出现这个情况
Screenshot_2024-05-12-10-22-49-90_84d3000e3f4017145260f7618db1d683

Screenshot_2024-05-12-10-49-20-82_84d3000e3f4017145260f7618db1d683
/dev/pts/0的所有者貌似和其他设备不一样,其他设备都是termux的id

Logs

KernelSU_bugreport_2024-05-12_11_28.tar.gz

Device info

  • Device: OnePlus 12
  • OS Version: 14
  • KernelSU Version: 11838 LKM
  • Kernel Version: 6.1.57

Additional context

No response

@abbuaus
Copy link

abbuaus commented May 15, 2024

我遇到了相同的问题
屏幕截图 2024-05-15 080759
我遇到了相同的问题

@trialman
Copy link

相同问题, 红米 12t pro , ksu 0.9.4

image
termux
不给root权限的时候, pkg 安装正常, ssh可以正常连接

给了root权限后 , 出现 /dev/pts 权限问题, 以下为 sshd 日志
image

@tiann tiann closed this as completed in 123b66e May 16, 2024
natsumerinchan added a commit to natsumerinchan/KernelSU that referenced this issue May 23, 2024
natsumerinchan added a commit to natsumerinchan/KernelSU that referenced this issue May 25, 2024
@supechicken
Copy link
Contributor

同樣的情況在11854上還存在,關掉selinux就行了

~ $ su -c 'ls -laZ /dev/pts/0'
crw------- 1 u0_a560 u0_a560 u:object_r:devpts:s0 136, 0 2024-05-26 19:48 /dev/pts/0
~ $ echo 1 > /dev/pts/0
bash: /dev/pts/0: Permission denied
~ $ su -c 'setenforce 0'; echo 1 > /dev/pts/0
1

KernelSU_bugreport_2024-05-26_19_45.tar.gz

natsumerinchan added a commit to natsumerinchan/KernelSU that referenced this issue May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants