← Back to team overview

touch-packages team mailing list archive

[Bug 1520346] Re: /etc/init/cups.override needs to get updated to work with the current version of CUPS

 

We are introducing CUPS to the phone, to get printing functionality.

CUPS comes with a *.conf file, but this file is for standard
desktop/server to have the CUPS daemon permanently running.

The override file changes the behavior on the phone, to get the CUPS
daemon running on-demand.

See also

https://blueprints.launchpad.net/ubuntu/+spec/client-1305-printing-
stack-with-mobile-in-mind

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

Title:
  /etc/init/cups.override needs to get updated to work with the current
  version of CUPS

Status in Canonical System Image:
  Confirmed
Status in lxc-android-config package in Ubuntu:
  Confirmed

Bug description:
  I am working on getting the Ubuntu printing stack onto the phone, see
  bug 1519914 and bug 1509423 (see details about my setup in these bug
  reports).

  CUPS is supposed to get started on-demand by Upstart, using the
  /etc/init/cups.override file. The file in the current image from

  ubuntu-device-flash touch --channel=ubuntu-touch/devel-proposed/ubuntu

  calls CUPS with the option "-x 30" which CUPS does not support any
  more and therefore needs to get removed.

  /etc/init/cups.override works if it only contains the following:

  ----------
  # cups - CUPS Printing spooler and server
  # socket activation overrides for touch
  start on socket PROTO=inet PORT=631 ADDR=127.0.0.1
  exec /usr/sbin/cupsd -f
  ----------

  Please change the file appropriately. Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1520346/+subscriptions


References