Git Product home page Git Product logo

cups-snap's People

Contributors

brlin-tw avatar github-actions[bot] avatar janpieper avatar kenvandine avatar kubiko avatar rudra-iitm avatar tillkamppeter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cups-snap's Issues

**int num_options; not should be set to zero, none initinalized value will cause segement

main(int  argc,				/* I - Number of command-line args */
     char *argv[])			/* I - Command-line arguments */
{
  const char	*device_uri;            /* URI with which we were called */
  char scheme[64], username[32], system_cups_server[1024], resource[32];
  int port, status;
  char *system_queue;
  char *p;
  http_t *http;
  int num_options; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< should set to zero 
  cups_option_t	*options;

cups-snap is not installable on ipv6-only systems

The cups-snap is currently only installable on legacy systems with ipv4 support.

# snap install --edge cups

error: cannot install "cups": persistent network error: Post
       "https://api.snapcraft.io/v2/snaps/refresh": dial tcp 185.125.188.55:443: connect: network
       is unreachable

Ubuntu doesn't seem to care about IPv6 Support for api.snapcraft.io
Please move the cups-snap to a system which is ipv6 capable.

Unable to read "/var/snap/cups/common/etc/cups/cupsd.conf" due to errors.

I am running on the Ubuntu system and suddenly service snap.cups.cupsd.service started failing to start.

System details:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
KERNEL="6.2.0-37-generic"

I have used journalctl -u snap.cups.cupsd.service -f which provided following output:`

pro 12 21:13:59 X10SRA systemd[1]: Started Service for snap application cups.cupsd.
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + mkdir -p /var/snap/cups/980/var/spool/tmp
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + mkdir -p /var/snap/cups/980/var/run/certs
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + mkdir -p /var/snap/cups/980/var/log
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + mkdir -p /var/snap/cups/980/var/cache/fontconfig
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + mkdir -p /var/snap/cups/common/etc/cups/ppd
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + mkdir -p /var/snap/cups/common/etc/cups/ssl
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + mkdir -p /var/snap/cups/common/run
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + mkdir -m 0755 -p /run/cups
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + export LC_ALL=C.UTF-8
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + export LANG=C.UTF-8
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + export TMPDIR=/var/snap/cups/980/tmp
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + mkdir -p /var/snap/cups/980/tmp
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + CUPSTMPDIR=/var/snap/cups/980/var/spool/tmp
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + [ -d /var/snap/cups/980/tmp ]
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + chown -R root.root /var/snap/cups/980/tmp
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + chmod -R u+rwX /var/snap/cups/980/tmp
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + rm -rf /var/snap/cups/980/tmp
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + [ -d /var/snap/cups/980/tmp ]
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + [ -d /var/snap/cups/980/var/spool/tmp ]
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + chown -R root.root /var/snap/cups/980/var/spool/tmp
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + chmod -R u+rwX /var/snap/cups/980/var/spool/tmp
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + rm -rf /var/snap/cups/980/var/spool/tmp
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + [ -d /var/snap/cups/980/var/spool/tmp ]
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + mkdir -p /var/snap/cups/980/tmp
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + chown -R root.root /var/snap/cups/980/tmp
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + chmod -R 1777 /var/snap/cups/980/tmp
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + mkdir -p /var/snap/cups/980/var/spool/tmp
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + chown -R root.snap_daemon /var/snap/cups/980/var/spool/tmp
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + chmod -R 1770 /var/snap/cups/980/var/spool/tmp
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + CUPSUSER=snap_daemon
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + ALTCUPSUSER=root
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + CUPSGROUP=snap_daemon
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + ALTCUPSGROUP=root
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + CUPSSYSTEMGROUP=lpadmin
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + ALTCUPSSYSTEMGROUP=adm
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + TESTFILE=/var/snap/cups/980/tmp/testfile
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + touch /var/snap/cups/980/tmp/testfile
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + chown snap_daemon /var/snap/cups/980/tmp/testfile
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + chgrp snap_daemon /var/snap/cups/980/tmp/testfile
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + rm -f /var/snap/cups/980/tmp/testfile
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + getent group lpadmin
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + [ ! -f /var/snap/cups/common/etc/cups/cups-files.conf ]
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + perl -p -i -e s:^(\s*\#)?\s*User\s+\S+\s*$:User snap_daemon\n:; -e s:^(\s*\#)?\s*Group\s+.*$:Group snap_daemon:; -e s:^(\s*\#)?\s*SystemGroup\s+.*$:SystemGroup lpadmin root:; -e s:^(\s*\#)?\s*AccessLog\s+.*$:AccessLog /var/snap/cups/980/var/log/access_log:; -e s:^(\s*\#)?\s*CacheDir\s+.*$:CacheDir /var/snap/cups/980/var/cache:; -e s:^(\s*\#)?\s*DataDir\s+.*$:DataDir /snap/cups/980/share/cups:; -e s:^(\s*\#)?\s*DocumentRoot\s+.*$:DocumentRoot /snap/cups/980/share/cups/doc:; -e s:^(\s*\#)?\s*ErrorLog\s+.*$:ErrorLog /var/snap/cups/980/var/log/error_log:; -e s:^(\s*\#)?\s*FontPath\s+.*$:\#FontPath (NOT SUPPORTED ANY MORE):; -e s:^(\s*\#)?\s*PageLog\s+.*$:PageLog /var/snap/cups/980/var/log/page_log:; -e s:^(\s*\#)?\s*Printcap\s+.*$:Printcap /var/snap/cups/common/etc/printcap:; -e s:^(\s*\#)?\s*RequestRoot\s+.*$:RequestRoot /var/snap/cups/980/var/spool:; -e s:^(\s*\#)?\s*ServerBin\s+.*$:ServerBin /snap/cups/980/lib/cups:; -e s:^(\s*\#)?\s*ServerRoot\s+.*$:ServerRoot /var/snap/cups/common/etc/cups:; -e s:^(\s*\#)?\s*StateDir\s+.*$:StateDir /var/snap/cups/980/var/run:; -e s:^(\s*\#)?\s*TempDir\s+.*$:TempDir /var/snap/cups/980/var/spool/tmp:; /var/snap/cups/common/etc/cups/cups-files.conf
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + PROXY_MODE=NO
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + SYSTEM_CUPS_SERVER=
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + rm -f /var/snap/cups/980/var/run/proxy-mode
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + [ ! -f /var/snap/cups/common/no-proxy ]
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + [ -r /etc/cups/cupsd.conf ]
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + touch /var/snap/cups/980/var/run/proxy-mode
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + PROXY_MODE=YES
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + SYSTEM_CUPS_SERVER=localhost:631
pro 12 21:13:59 X10SRA cups.cupsd[26521]: + grep -E ^[ \t]*Listen[ \t]+/ /etc/cups/cupsd.conf
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + LINE=Listen /run/cups/cups.sock
pro 12 21:13:59 X10SRA cups.cupsd[26523]: + echo Listen /run/cups/cups.sock
pro 12 21:13:59 X10SRA cups.cupsd[26524]: + head -1
pro 12 21:13:59 X10SRA cups.cupsd[26525]: + perl -p -e s:^\s*Listen\s+(\S+)\s*$:\1:
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + SYSTEM_CUPS_SERVER=/run/cups/cups.sock
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + PORT=631
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + ALTPORT=10631
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + DOMAINSOCKET=/run/cups/cups.sock
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + [ ! -d /run/cups ]
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + ALTDOMAINSOCKET=/var/snap/cups/common/run/cups.sock
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + [ YES = YES ]
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + PORT=
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + DOMAINSOCKET=/var/snap/cups/common/run/cups.sock
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + [ ! -f /var/snap/cups/common/etc/cups/cupsd.conf ]
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + [ YES = YES ]
pro 12 21:13:59 X10SRA cups.cupsd[26527]: + cat /var/snap/cups/common/etc/cups/cupsd.conf
pro 12 21:13:59 X10SRA cups.cupsd[26528]: + grep -v Listen
pro 12 21:13:59 X10SRA cups.cupsd[26529]: + grep -v Port
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + mv /var/snap/cups/common/etc/cups/cupsd.conf.new /var/snap/cups/common/etc/cups/cupsd.conf
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + LISTENLINES=
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + [ /var/snap/cups/common/run/cups.sock = /var/snap/cups/common/run/cups.sock ]
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + LISTENLINES=Listen /var/snap/cups/common/run/cups.sock
pro 12 21:13:59 X10SRA cups.cupsd[26532]: + cat /var/snap/cups/common/etc/cups/cupsd.conf
pro 12 21:13:59 X10SRA cups.cupsd[26533]: + grep -v Listen
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + echo Listen /var/snap/cups/common/run/cups.sock
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + cat /var/snap/cups/common/etc/cups/cupsd.conf.new
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + rm -f /var/snap/cups/common/etc/cups/cupsd.conf.new
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + touch /var/snap/cups/common/etc/cups/client.conf
pro 12 21:13:59 X10SRA cups.cupsd[26538]: + cat /var/snap/cups/common/etc/cups/client.conf
pro 12 21:13:59 X10SRA cups.cupsd[26539]: + grep -v ServerName
pro 12 21:13:59 X10SRA cups.cupsd[26537]: + true
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + echo ServerName /var/snap/cups/common/run/cups.sock
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + cat /var/snap/cups/common/etc/cups/client.conf.new
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + rm -f /var/snap/cups/common/etc/cups/client.conf.new
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + [ ! -f /var/snap/cups/common/etc/cups/snmp.conf ]
pro 12 21:13:59 X10SRA cups.cupsd[26542]: + yes n
pro 12 21:13:59 X10SRA cups.cupsd[26543]: + cp -ri /snap/cups/980/etc/cups/ppd /var/snap/cups/common/etc/cups/
pro 12 21:13:59 X10SRA cups.cupsd[26544]: + yes n
pro 12 21:13:59 X10SRA cups.cupsd[26545]: + cp -ri /snap/cups/980/etc/cups/ssl /var/snap/cups/common/etc/cups/
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + SCHEDULER=cupsd
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + CUPS_PID=26546
pro 12 21:13:59 X10SRA cups.cupsd[26546]: + exec cupsd -f -s /var/snap/cups/common/etc/cups/cups-files.conf -c /var/snap/cups/common/etc/cups/cupsd.conf
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + echo 26546
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + [ YES = YES ]
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + PROXY_DAEMON=cups-proxyd
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + PROXYD_PID=26547
pro 12 21:13:59 X10SRA cups.cupsd[26466]: +
pro 12 21:13:59 X10SRA cups.cupsd[26547]: +
pro 12 21:13:59 X10SRA cups.cupsd[26466]: echo 26547
pro 12 21:13:59 X10SRA cups.cupsd[26547]: exec cups-proxyd /var/snap/cups/common/run/cups.sock /run/cups/cups.sock -l --logdir /var/snap/cups/980/var/log
pro 12 21:13:59 X10SRA cups.cupsd[26466]: + wait 26546
pro 12 21:13:59 X10SRA cupsd[26546]: Unable to read "/var/snap/cups/common/etc/cups/cupsd.conf" due to errors.
pro 12 21:13:59 X10SRA systemd[1]: snap.cups.cupsd.service: Main process exited, code=exited, status=1/FAILURE
pro 12 21:13:59 X10SRA systemd[1]: snap.cups.cupsd.service: Failed with result 'exit-code'.
pro 12 21:13:59 X10SRA systemd[1]: snap.cups.cupsd.service: Scheduled restart job, restart counter is at 5.
pro 12 21:13:59 X10SRA systemd[1]: Stopped Service for snap application cups.cupsd.
pro 12 21:13:59 X10SRA systemd[1]: snap.cups.cupsd.service: Start request repeated too quickly.
pro 12 21:13:59 X10SRA systemd[1]: snap.cups.cupsd.service: Failed with result 'exit-code'.
pro 12 21:13:59 X10SRA systemd[1]: Failed to start Service for snap application cups.cupsd.

The error was this line:
Unable to read "/var/snap/cups/common/etc/cups/cupsd.conf" due to errors.

I have located all cupsd.conf files:

 zangetsu  X10SRA  /etc  locate cupsd.conf
/etc/cups/cupsd.conf
/snap/cups/980/etc/cups/cupsd.conf
/snap/cups/980/etc/cups/cupsd.conf.default
/snap/cups/980/share/cups/doc/help/man-cupsd.conf.html
/usr/share/cups/cupsd.conf.default
/usr/share/cups/doc-root/help/man-cupsd.conf.html
/usr/share/man/de/man5/cupsd.conf.5.gz
/usr/share/man/fr/man5/cupsd.conf.5.gz
/usr/share/man/man5/cupsd.conf.5.gz
/var/snap/cups/common/etc/cups/cupsd.conf

I attach the failing file conf:
cupsd-failing.conf.txt
and the working file from /etc/cups folder. I used this file to overwrite the failing one:
cupsd-working-from-etc.conf.txt

One operation which I was doing on system level was that I changed the hostname. But I did notice the failing service much later, so not sure if it is/was related to that error.

tlcraven

failed installation on LibertyOS - there was no error stated

Samsung ML-2164

hi, first thank you for developing this snap. it enables you to build a small sleek system to add wireless printing functionality to USB printers.

now to my questions:
Is there a way to get Samsung ML2160 Version in specific ML-2164 to work?

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

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:

  • Disconnect cups:network-bind from snapd:network-bind (cannot compile /var/lib/snapd/seccomp/bpf/snap.cups.ippeveprinter.src: error: cannot parse line: cannot parse token "g:snap_daemon" (line "setgid g:snap_daemon"): group: unknown group snap_daemon)**

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

snap.cups.cupsd.service fails to start on LXD containers

I have several LXD containers running Ubuntu 22.04 (on hosts running on 22.04 as well as well as one running 22.10) And all seem to have the same issue with the snap cups service failing to start. It seems like a permission issue on chowning /var/snap/cups/<number>/var/spool/tmp:

  [ubuntu:~] 6s 141 $ journalctl -u snap.cups.cupsd.service
  Feb 20 15:59:34 lxd-container systemd[1]: Started Service for snap application cups.cupsd.
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + mkdir -p /var/snap/cups/872/var/spool/tmp
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + mkdir -p /var/snap/cups/872/var/run/certs
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + mkdir -p /var/snap/cups/872/var/log
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + mkdir -p /var/snap/cups/872/var/cache/fontconfig
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + mkdir -p /var/snap/cups/common/etc/cups/ppd
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + mkdir -p /var/snap/cups/common/etc/cups/ssl
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + mkdir -p /var/snap/cups/common/run
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + mkdir -m 0755 -p /run/cups
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + export LC_ALL=C.UTF-8
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + export LANG=C.UTF-8
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + export TMPDIR=/var/snap/cups/872/tmp
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + mkdir -p /var/snap/cups/872/tmp
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + CUPSTMPDIR=/var/snap/cups/872/var/spool/tmp
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + [ -d /var/snap/cups/872/tmp ]
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + chown -R root.root /var/snap/cups/872/tmp
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + chmod -R u+rwX /var/snap/cups/872/tmp
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + rm -rf /var/snap/cups/872/tmp
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + [ -d /var/snap/cups/872/tmp ]
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + [ -d /var/snap/cups/872/var/spool/tmp ]
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + chown -R root.root /var/snap/cups/872/var/spool/tmp
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + chmod -R u+rwX /var/snap/cups/872/var/spool/tmp
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + rm -rf /var/snap/cups/872/var/spool/tmp
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + [ -d /var/snap/cups/872/var/spool/tmp ]
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + mkdir -p /var/snap/cups/872/tmp
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + chown -R root.root /var/snap/cups/872/tmp
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + chmod -R 1777 /var/snap/cups/872/tmp
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + mkdir -p /var/snap/cups/872/var/spool/tmp
  Feb 20 15:59:35 lxd-container cups.cupsd[5789]: + chown -R root.snap_daemon /var/snap/cups/872/var/spool/tmp
  Feb 20 15:59:35 lxd-container cups.cupsd[6386]: chown: changing ownership of '/var/snap/cups/872/var/spool/tmp': Invalid argument
  Feb 20 15:59:35 lxd-container systemd[1]: snap.cups.cupsd.service: Main process exited, code=exited, status=1/FAILURE
  Feb 20 15:59:35 lxd-container systemd[1]: snap.cups.cupsd.service: Failed with result 'exit-code'.### 

I have only run into this issue on LXD containers, not on the hosts themselves, which also run both the chromium and firefox snaps, which pull in cups, but where snap.cups.cupsd seems to load just fine.

Since it's a permissions thing I tried setting security.privileged and security.nesting on the LXD containers but it didn't fix the issue starting cupsd.

Please provide armhf builds

I need the cups stack on Raspberry Pi running UbuntuCore18, so it would be really helpful if this snap built for armhf as well.

pdf printers

PDF printers are not visible. Can we install separately. Did not want to use cups-pdf do we have any other options.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.