Public bug reported:
Hi,
I'm currently trying to enable the latest version of the cura-slicer app
to print on a USB-connected 3D-Printer (it has a built-in USB-serial-
converter)
Bus 001 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial
adapter
Even after the author recently added the raw connection and connections now are
# snap connections | fgrep cura-slicer
content[gnome-3-38-2004] cura-slicer:gnome-3-38-2004
gnome-3-38-2004:gnome-3-38-2004
-
content[gtk-3-themes] cura-slicer:gtk-3-themes
gtk-common-themes:gtk-3-themes
-
content[icon-themes] cura-slicer:icon-themes
gtk-common-themes:icon-themes
-
content[sound-themes] cura-slicer:sound-themes
gtk-common-themes:sound-themes
-
desktop cura-slicer:desktop
:desktop
-
desktop-legacy cura-slicer:desktop-legacy
:desktop-legacy
-
gsettings cura-slicer:gsettings
:gsettings
-
home cura-slicer:home
:home
-
mount-observe cura-slicer:mount-observe
:mount-observe
manual
network cura-slicer:network
:network
-
network-bind cura-slicer:network-bind
:network-bind
-
network-manager-observe
cura-slicer:network-manager-observe :network-manager-observe
-
opengl cura-slicer:opengl
:opengl
-
raw-usb cura-slicer:raw-usb
:raw-usb
manual
removable-media cura-slicer:removable-media
:removable-media
manual
unity7 cura-slicer:unity7
:unity7
-
wayland cura-slicer:wayland
:wayland
-
x11 cura-slicer:x11
:x11
-
Note, that cura-slicer:mount-observe , cura-slicer:removable-media , and
cura-slicer:raw-usb have been added, it still doesn't print. Instead I have
hundreds of kernel error messages of the type
[87557.508219] audit: type=1400 audit(1636805709.652:2164): apparmor="DENIED"
operation="open" profile="snap.cura-slicer.cura"
name="/sys/devices/pnp0/00:04/id" pid=157463 comm="python3" requested_mask="r"
denied_mask="r" fsuid=1000 ouid=0
and I have noe clue how to debug this, since I have no idea – and, even worse,
not found any documentation or specification about snapd's security model and
armor rules and how to change them – where to start.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: snapd 2.51.1+20.04ubuntu2
ProcVersionSignature: Ubuntu 5.4.0-89.100-generic 5.4.143
Uname: Linux 5.4.0-89-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset
nvidia
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: LXQt
Date: Sat Nov 13 13:20:42 2021
InstallationDate: Installed on 2018-04-28 (1294 days ago)
InstallationMedia: Lubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
SourcePackage: snapd
UpgradeStatus: Upgraded to focal on 2020-11-16 (361 days ago)
** Affects: snapd (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug focal
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1950855
Title:
Can't enable snap to print on a usb printer
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1950855/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs