[Touch-packages] [Bug 2026200] Re: Snap update broke launching and printing on 20.04 Ubuntu.

2023-07-10 Thread Michaelus
@Nathan

Thank you for the clarity on the Core20 vs Core22, however, I will still
maintain that had this latest Chromium SNAP been built on Core20, as has
seemingly been until now, we wouldn't be having this dialog.

When Chromium has been built against Core20, I've been able to call
chromium headless from Apache via:

/snap/chromium/current/usr/lib/chromium-browser/chrome

... and it hasn't mattered which "build" the ../current/... pointed to.

For me, Chromium built on Core22 is what "broke" my setup.

Again, I appreciate the stable/core20 build, and will have to commit to
within 30 days:

a) Upgrade our production environments to Ubuntu 22.04

b) Stop using Ubuntu altogether, and go with straight-Debian, so "apt
install chromium-browser" actually installs the Debian package, not
force install a SNAP (comment for future readers, not trying to argue
that APT pushes the SNAP installs for Chromium on Ubuntu)

c) find an alternative way to generate PDF from HTML reports

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/2026200

Title:
  Snap update broke launching and printing on 20.04 Ubuntu.

Status in chromium-browser package in Ubuntu:
  Invalid
Status in cups package in Ubuntu:
  Incomplete

Bug description:
  Two deployed ubuntu images, 20.04 and 22.04. Both images are fully
  updated.

  Issue appears to only impact 20.04.
  chrome snap version 2529

  Launching chrome from menu shortcut that is managed by the snap works
  and it using this location /snap/bin/chromium

  Launching chrome from desktop shortcut that I manage on 20.04 fails - 
/snap/chromium/current/usr/lib/chromium-browser/chrome
  Updating the desktop shortcut with this location on 20.04 works - 
/snap/bin/chromium

  Try and print from the browser, print dialog in chrome does not list any 
system printers, only shows PDF.
  Doing the same on 22.04 image, I get a list of printers.

  CLI I run cups.lstat -v which works on 22.04, does not work on 20.04. 20.04 I 
get an error "cannot stat /var/lib/snapd/seccomp/bpf/snap.cups.lpstat.bin: No 
such file or directory"
  I've run these tests on multiple 20.04 and 22.04 machines and I'm getting 
100% failure rate on 20.04.

  I get this error when running chrome from cli from this path on 20.04
  /snap/chromium/current/usr/lib/chromium-browser which points to 2529
  snap image.

  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by 
/snap/chromium/current/usr/lib/chromium-browser/chrome)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by 
/snap/chromium/current/usr/lib/chromium-browser/chrome)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by 
/snap/chromium/current/usr/lib/chromium-browser/chrome)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by 
/snap/chromium/current/usr/lib/chromium-browser/chrome)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by 
/snap/chromium/2529/usr/lib/chromium-browser/libffmpeg.so)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by 
/snap/chromium/2529/usr/lib/chromium-browser/libffmpeg.so)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2026200/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2026200] Re: Snap update broke launching and printing on 20.04 Ubuntu.

2023-07-10 Thread Michaelus
-- Nathan

The symlink I'm referring to is the  *current*  in this path:

/snap/chromium/**current**/usr/lib/chromium-browser/chrome

... which is a symlink to build 2529 or, now I have 2497


(I still maintain that if Ubuntu 20.04 LTS is supported until April
2025, and its base SNAP is core20, it is not appropriate (if, only
because of my biased opinion) to build snaps on core22, which, you
admit, is the base snap core for Ubuntu 22.04)

Do you have any sense of "how long" the stable/core20 channel will be
available?


I am grateful for the stable/core20 build as of now, but need to plan to either 
migrate to Ubuntu 22.04 (or later) or off Ubuntu altogether

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/2026200

Title:
  Snap update broke launching and printing on 20.04 Ubuntu.

Status in chromium-browser package in Ubuntu:
  Invalid
Status in cups package in Ubuntu:
  Incomplete

Bug description:
  Two deployed ubuntu images, 20.04 and 22.04. Both images are fully
  updated.

  Issue appears to only impact 20.04.
  chrome snap version 2529

  Launching chrome from menu shortcut that is managed by the snap works
  and it using this location /snap/bin/chromium

  Launching chrome from desktop shortcut that I manage on 20.04 fails - 
/snap/chromium/current/usr/lib/chromium-browser/chrome
  Updating the desktop shortcut with this location on 20.04 works - 
/snap/bin/chromium

  Try and print from the browser, print dialog in chrome does not list any 
system printers, only shows PDF.
  Doing the same on 22.04 image, I get a list of printers.

  CLI I run cups.lstat -v which works on 22.04, does not work on 20.04. 20.04 I 
get an error "cannot stat /var/lib/snapd/seccomp/bpf/snap.cups.lpstat.bin: No 
such file or directory"
  I've run these tests on multiple 20.04 and 22.04 machines and I'm getting 
100% failure rate on 20.04.

  I get this error when running chrome from cli from this path on 20.04
  /snap/chromium/current/usr/lib/chromium-browser which points to 2529
  snap image.

  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by 
/snap/chromium/current/usr/lib/chromium-browser/chrome)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by 
/snap/chromium/current/usr/lib/chromium-browser/chrome)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by 
/snap/chromium/current/usr/lib/chromium-browser/chrome)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by 
/snap/chromium/current/usr/lib/chromium-browser/chrome)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by 
/snap/chromium/2529/usr/lib/chromium-browser/libffmpeg.so)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by 
/snap/chromium/2529/usr/lib/chromium-browser/libffmpeg.so)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2026200/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2026200] Re: Snap update broke launching and printing on 20.04 Ubuntu.

2023-07-07 Thread Michaelus
Nathan Teodosio:

>> "That invocation is not supported, so one could argue that it breaks
unsupported setups."

My apologies, but that comes off as a rather convenient way of saying,
"Well, you shouldn't have been doing it that way in the first place, and
be happy it's worked for you this long."

To be clear, you're saying invoking chromium via a fully qualified,
real-path, with a SNAP-created symbolic link to a actual build
directory, is a "unsupported setup" ?

If I could just install Chromium directly via apt, and not be forced
into a SNAP ...

(I'm not going to try to argue that, here, though)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/2026200

Title:
  Snap update broke launching and printing on 20.04 Ubuntu.

Status in chromium-browser package in Ubuntu:
  Invalid
Status in cups package in Ubuntu:
  Incomplete

Bug description:
  Two deployed ubuntu images, 20.04 and 22.04. Both images are fully
  updated.

  Issue appears to only impact 20.04.
  chrome snap version 2529

  Launching chrome from menu shortcut that is managed by the snap works
  and it using this location /snap/bin/chromium

  Launching chrome from desktop shortcut that I manage on 20.04 fails - 
/snap/chromium/current/usr/lib/chromium-browser/chrome
  Updating the desktop shortcut with this location on 20.04 works - 
/snap/bin/chromium

  Try and print from the browser, print dialog in chrome does not list any 
system printers, only shows PDF.
  Doing the same on 22.04 image, I get a list of printers.

  CLI I run cups.lstat -v which works on 22.04, does not work on 20.04. 20.04 I 
get an error "cannot stat /var/lib/snapd/seccomp/bpf/snap.cups.lpstat.bin: No 
such file or directory"
  I've run these tests on multiple 20.04 and 22.04 machines and I'm getting 
100% failure rate on 20.04.

  I get this error when running chrome from cli from this path on 20.04
  /snap/chromium/current/usr/lib/chromium-browser which points to 2529
  snap image.

  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by 
/snap/chromium/current/usr/lib/chromium-browser/chrome)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by 
/snap/chromium/current/usr/lib/chromium-browser/chrome)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by 
/snap/chromium/current/usr/lib/chromium-browser/chrome)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by 
/snap/chromium/current/usr/lib/chromium-browser/chrome)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by 
/snap/chromium/2529/usr/lib/chromium-browser/libffmpeg.so)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by 
/snap/chromium/2529/usr/lib/chromium-browser/libffmpeg.so)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2026200/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2026200] Re: Snap update broke launching and printing on 20.04 Ubuntu.

2023-07-07 Thread Michaelus
I've been using headless chromium on the cli with the --print-to-pdf
parameter to generate PDF documents on Ubuntu 20.04 for well over a
year.

Chromium has been invoked at:

/snap/chromium/current/usr/lib/chromium-browser/chrome

... by the Apache user, and, because APT forces the SNAP Chromium
package, rather than the standard Debian package, and because the Apache
user's (www-data) home directory is /var/www and not /home/www-data, one
cannot invoke Chromium via Apache at /snap/bin/chromium because of the
SNAP home directory requirement

It is my opinion that IF Ubuntu 20.04 LTS (supported until April 2025)
is built with SNAP Core20, building a single Chromium SNAP on Core22
going forward will continue to break Ubuntu 20.04 systems

Please do not make assumptions that everyone is calling Chromium with an
actual/normal user

I can confirm that this "fixes" the issue for me:

  snap refresh --channel stable/core20 chromium


Nathan Teodosio said: "...And that's why we discourage and cannot support 
unconfined runs."

... well, the fact that /snap/chromium/**current**/usr/lib/chromium-
browser/chrome  (current) is a symlink to whatever build # is the
"current" suggests Chromium can/and-without-problems-should-be-able-to-
be called from that path (as it has been, until someone decided to make
the latest Chromium build against Core22)

That, and the fact that there's no option to revert to a previous
Chromium build, is why this is "broken"

With respect, not "everyone and everything" is running on the "latest
and greatest"

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/2026200

Title:
  Snap update broke launching and printing on 20.04 Ubuntu.

Status in chromium-browser package in Ubuntu:
  Invalid
Status in cups package in Ubuntu:
  Incomplete

Bug description:
  Two deployed ubuntu images, 20.04 and 22.04. Both images are fully
  updated.

  Issue appears to only impact 20.04.
  chrome snap version 2529

  Launching chrome from menu shortcut that is managed by the snap works
  and it using this location /snap/bin/chromium

  Launching chrome from desktop shortcut that I manage on 20.04 fails - 
/snap/chromium/current/usr/lib/chromium-browser/chrome
  Updating the desktop shortcut with this location on 20.04 works - 
/snap/bin/chromium

  Try and print from the browser, print dialog in chrome does not list any 
system printers, only shows PDF.
  Doing the same on 22.04 image, I get a list of printers.

  CLI I run cups.lstat -v which works on 22.04, does not work on 20.04. 20.04 I 
get an error "cannot stat /var/lib/snapd/seccomp/bpf/snap.cups.lpstat.bin: No 
such file or directory"
  I've run these tests on multiple 20.04 and 22.04 machines and I'm getting 
100% failure rate on 20.04.

  I get this error when running chrome from cli from this path on 20.04
  /snap/chromium/current/usr/lib/chromium-browser which points to 2529
  snap image.

  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by 
/snap/chromium/current/usr/lib/chromium-browser/chrome)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by 
/snap/chromium/current/usr/lib/chromium-browser/chrome)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by 
/snap/chromium/current/usr/lib/chromium-browser/chrome)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by 
/snap/chromium/current/usr/lib/chromium-browser/chrome)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by 
/snap/chromium/2529/usr/lib/chromium-browser/libffmpeg.so)
  /snap/chromium/current/usr/lib/chromium-browser/chrome: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by 
/snap/chromium/2529/usr/lib/chromium-browser/libffmpeg.so)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2026200/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp