OpenPrinting / cups-snap

Complete CUPS printing stack in a snap
25 stars 14 forks source link

/var/lib/snapd/seccomp/bpf/snap.cups.*.bin files missing #16

Open d3al opened 1 year ago

d3al commented 1 year ago

All cups related bin files are missing but I do have the src files from /var/lib/snapd/seccomp/bpf/

I'm not able to compile them manually, I get "error: cannot parse line: cannot parse token "g:snap_daemon" (line "setgid g:snap_daemon"): group: unknown group snap_daemon"

I'm having a problem where snap.cups is failing on ubuntu 20.04 machines which I have many of them in production. 22.04 machines are working, bin files are there but I can't compile manually on 22.04 either.

How can I force repopulation of these bin files? I tried removing cups snap but it fails using sudo snap remove cups with this error **# sudo snap remove cups 2023-07-05T13:58:06-07:00 INFO Waiting for "snap.cups.cupsd.service" to stop. 2023-07-05T13:58:36-07:00 INFO Waiting for "snap.cups.cups-browsed.service" to stop. error: cannot perform the following tasks:

This is how I'm trying to manually compile a src file sudo /usr/lib/snapd/snap-seccomp compile /var/lib/snapd/seccomp/bpf/snap.cups.cupsd.src out.bin

tillkamppeter commented 1 year ago

I have checked in Ubuntu 23.04 and 23.10 and there the *.bin files for the CUPS Snap are correctly generated, so I am not able to reproduce the bug.

@jhenstridge @mvo5 You as Snap experts do you have an idea what is happening here?

tillkamppeter commented 1 year ago

This bug was also mentioned in the following Ubuntu bug report on chromium-browser:

https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2026200

Snap update broke launching and printing on 20.04 Ubuntu.

in comment #11 the original poster of the bug report, Dalik (tek2001x), makes the same observation.

@d3al, can it be that you are actually Dalik?

d3al commented 1 year ago

Yes thats me.

On Thu, 2023-07-06 at 13:29 -0700, Till Kamppeter wrote:

This bug was also mentioned in the following Ubuntu bug report on chromium-browser: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2026200 Snap update broke launching and printing on 20.04 Ubuntu. in comment #11 the original poster of the bug report, Dalik (tek2001x), makes the same observation. @d3al, can it be that you are actually Dalik? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>