ondra
November 19, 2024, 4:46pm
1
qdl is command line based low level flash utility to flash devices sporting Qualcomm SoC.
With move to base core24
and addition of new features, network-observe
interface is required for smooth functionality.
Snap has already more powerful interfaces connected as per older request:
qdl is command line based low level flash utility to flash devices sporting Qualcomm SoC.
As such, it requires to have access to raw-usb. Since flasher requires sudo privileges, it also needs to have home: read: all as device image would be typically stored in user’s home directory.
Reference upstream project:
https://github.com/linux-msm/qdl
As reference this is very much equivalent of Install Universal Update Utility - UUU on Linux | Snap Store for Qualcomm silicon.
cav
November 20, 2024, 1:19am
2
hi @ondra , just to get a better idea of the snap, which part of functionality requires network-observe?
Thanks!
ondra
November 21, 2024, 6:31pm
3
Hi @cav
This is the denial from aa
audit: type=1400 audit(1732213488.126:7110): apparmor="DENIED" operation="create" class="net" profile="snap.qdl.qdl" pid=714449 comm="qdl" family="netlink" sock_type="raw" protocol=15 requested="create" denied="create"
The network-observe
interface seemed like the least permissive interface to fix this denial. The denial is blocking as the flash process does not proceed and bails out.
Cheers!
cav
November 25, 2024, 12:14am
4
too easy! +1 from me for auto-connecting network-observe
to qdl
+1 from me as well for auto-connect of network-observe
for qdl
- this is required for standard functionality of this snap.
Hello @ondra . +2 votes for, 0 votes against, granting auto-connect of interface network-observe
to snap qdl
This is now live!
1 Like