Dear @reviewers ,
I have created a snap called DuckPowered (registered name is duckpowered), whose purpose is to automatically underclock the CPU based on current usage.
My most recent upload just got automatically rejected due to the following issue (I have pressed the request manual review button):
human review required due to 'allow-installation' constraint (bool) declaration-snap-v2_plugs_installation (duckpowered-system-files, system-files)
I think what I have to do is request allow-installation of the system-files interface here.
My app requires this interface so it can modify /etc/default/grub to add intel_pstate=disable
if the user consents.
The user is clearly warned and asked for consent before this permission is exercised with the following prompt:
(zenity prompt if GUI enabled) We found a driver called intel_pstate. It causes issues with DuckPowered. Press OK to continue.
And the next prompt says: Do you consent to disabling this driver? We will modify the kernel boot line
(shell script read command if GUI not enabled) [!] intel_pstate found! We will now disable the intel_pstate driver as it causes issue with DuckPowered, do you consent [Y/N]?
You can verify this by checking the source code here: https://github.com/Kotin-for-win/DuckPowered-Snap
May my snap be granted the allow-installation parameter?
Additionally, manually connecting interfaces will be frustrating for my users. May I request automatic connection for the following interfaces (justification provided):
cpu-control (The first line of my Store Description will be DuckPowered automatically underclocks your CPU when your workload allows, so the user is told about this permission. It is required for my app to actually function).
system-files as discussed above.
system-observe (this is required to gain information about the system to allow the dynamic underclocking. The second line of my Store Description will be This dymanic underclocking is possible because DuckPowered gets real-time information from your system to make an intelligent decision, telling the user about this permission).
I believe the x11 and wayland interfaces I’m using are already auto-connect.
You can find the full source code of my snap here: https://github.com/Kotin-for-win/DuckPowered-Snap
Thank you so much for reading through this request.
Have a great day and thank you again for your time,
Michael (foss-for-the-win)