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

[deepin v25 preview] 不可变系统保护关闭失败 #11197

Open
LFRon opened this issue Jan 21, 2025 · 3 comments
Open

[deepin v25 preview] 不可变系统保护关闭失败 #11197

LFRon opened this issue Jan 21, 2025 · 3 comments
Assignees
Labels
triage | need confirmation other | 需要确认一下进一步确认, 才能够更好的归类

Comments

@LFRon
Copy link

LFRon commented Jan 21, 2025

SUMMARY | 问题概要

deepin v25通过微信公众号给的命令关闭不可变系统保护失败

SOFTWARE/OS VERSIONS | 软件/系统版本信息

系统:deepin v25 preview 最新版

PRE-REQUIREMENT | 预置条件

使用deepin v25 preview并升级到最新版

STEPS TO REPRODUCE | 复现步骤

1.输入sudo deepin-immutable-ctl disable-system-protect enable回车并输入y再回车
2.重启电脑

OBSERVED RESULT | 观察到的结果

不可变系统仍然开着,输入sudo apt upgrade后dpkg仍然会提示系统分区不可读写,但是输入sudo deepin-immutable-ctl restore disable后却返回系统保护已关闭

Image

EXPECTED RESULT | 期望的结果

系统保护能正常关闭,方便调试和极客使用

ADDITIONAL INFORMATION | 额外补充

No response

@BLumia
Copy link
Member

BLumia commented Jan 21, 2025

输入sudo deepin-immutable-ctl disable-system-protect enable回车并输入y再回车

我记得是 sudo deepin-immutable-ctl disable-system-protect disable 才对吧?注意最后一个参数也应当是 disable 而不是 enable(是有点怪)

@LFRon
Copy link
Author

LFRon commented Jan 21, 2025

输入sudo deepin-immutable-ctl disable-system-protect enable回车并输入y再回车

我记得是 sudo deepin-immutable-ctl disable-system-protect disable 才对吧?注意最后一个参数也应当是 disable 而不是 enable(是有点怪)

我试了一下,输入disable也不起作用,反而输入enable会警告你是否要去掉保护

@BLumia BLumia added the triage | need confirmation other | 需要确认一下进一步确认, 才能够更好的归类 label Jan 21, 2025
@happyd0ggie
Copy link

启用:sudo deepin-immutable-ctl disable-system-protect false
关闭:sudo deepin-immutable-ctl disable-system-protect true
我觉着这样更符合直觉啊,或者:
启用:sudo deepin-immutable-ctl system-protect enable
关闭:sudo deepin-immutable-ctl disable-system-protect disable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage | need confirmation other | 需要确认一下进一步确认, 才能够更好的归类
Projects
None yet
Development

No branches or pull requests

5 participants