Agent policies not applied, commands queued until app is opened, and kiosk mode transition fails
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
调研方向
Start by reading the Android Agent policy enforcement, background command execution, and kiosk transition entry points, then compare their behavior with the server REST API and the QR work profile enrollment flow. The report covers three separate failures and does not include device model, Android version, or diagnostic logs; request those details and inspect server, supervisor, and Android logcat output. Done means restrictions take effect, supported commands run in the background, and an enrolled device can switch to kiosk mode.
由索引模型根据 Issue 内容生成。
描述
Component
Server / REST API
What happened?
Hi, I was testing your MDM, and I noticed a few issues. Thank you for making this project available!
Component: Android Agent, device policies, background service/command execution, and kiosk mode.
Issues observed:
- Device restrictions: Block Screenshots and Block Factory Reset do not seem to take effect when enabled.
- Commands: After QR enrollment and work profile setup, commands remain queued until I manually open the MDMesh Agent app.
- Kiosk mode: Switching an already enrolled device from the default agent configuration to kiosk mode does not seem to work.
Expected behavior:
Restrictions should be enforced, commands should execute in the background where supported, and switching to kiosk mode should work as documented.
I'm not sure what is causing these issues, but I wanted to share my findings to help with debugging. Thanks!
Steps to reproduce
Enroll an Android device using the QR code.
Set up the work profile and complete enrollment.
Select an agent and enable restrictions such as Block Screenshots and Block Factory Reset.
Check whether the restrictions take effect on the device.
Send commands from the MDM dashboard while the agent app is not open.
Observe that the commands remain queued, then manually open the agent app and check whether they execute.
Enroll or configure a device using the default agent, then attempt to switch it to kiosk mode.
MDMesh version / commit
0.3.1 and 0.3.2
Environment
Deployment: Docker
Host OS: Ubuntu Linux
Android device model: To be added
Android version: To be added
Enrollment mode: QR code / work profile
Relevant logs
I can provide relevant server, supervisor, and Android adb logcat logs if needed to help investigate these issues.
I have not confirmed the underlying cause, so any guidance on expected behavior or additional debugging steps would be appreciated.
Thanks for your time and for maintaining MDMesh!
Before submitting
- I searched existing issues and this isn't a duplicate.
- I'm not reporting a security vulnerability here (those go via private disclosure, not a public issue).
- 主要语言
- Java
- 星标
- 44
- 派生
- 25
- 平均合并
- 1 天 13 小时
- 30 天内合并 PR
- 80
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
MDMesh-app/MDMesh 的其他 Issue
-
enhancement
难度 1/5 1-3 小时 新手友好度 88/100
MDMesh-app/MDMesh#252 ·
维护者通常 2 天内回复
-
enhancement
难度 3/5 1-2 天 新手友好度 45/100
MDMesh-app/MDMesh#253 ·
维护者通常 2 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 48/100
MDMesh-app/MDMesh#232 ·
维护者通常 2 天内回复
-
enhancement
难度 3/5 半天 新手友好度 45/100
MDMesh-app/MDMesh#205 ·
维护者通常 2 天内回复
-
难度 5/5 一周以上 新手友好度 12/100
MDMesh-app/MDMesh#204 · 2 条评论 ·
维护者通常 2 天内回复
查看 MDMesh-app/MDMesh 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
-
bug devops low
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 1/5 1 小时以内 新手友好度 80/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
aphtech/brailleblaster#209 ·
维护者通常 1 天内回复