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

Bug #1520346 reported by Till Kamppeter
22
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Pat McGowan
lxc-android-config (Ubuntu)
Fix Released
High
Ken VanDine

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.

Changed in lxc-android-config (Ubuntu):
importance: Undecided → High
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Not sure why there is an override file when there is no conf and we did not have cups previously

Changed in lxc-android-config (Ubuntu):
assignee: nobody → Ondrej Kubik (w-ondra)
status: New → Confirmed
Changed in canonical-devices-system-image:
assignee: nobody → John McAleely (john.mcaleely)
importance: Undecided → High
milestone: none → backlog
status: New → Confirmed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

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

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Are there any plans about when this will get fixed?

Revision history for this message
Simon Fels (morphis) wrote :

@Till: You could easily go and push a MP against https://code.launchpad.net/~phablet-team/lxc-android-config/trunk yourself.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :
Changed in lxc-android-config (Ubuntu):
status: Confirmed → In Progress
Changed in canonical-devices-system-image:
status: Confirmed → In Progress
assignee: John McAleely (john.mcaleely) → Sebastien Bacher (seb128)
milestone: backlog → ww08-2016
Changed in lxc-android-config (Ubuntu):
assignee: Ondrej Kubik (w-ondra) → Ken VanDine (ken-vandine)
Changed in canonical-devices-system-image:
assignee: Sebastien Bacher (seb128) → Pat McGowan (pat-mcgowan)
milestone: ww08-2016 → 11
Changed in canonical-devices-system-image:
status: In Progress → Fix Released
status: Fix Released → Fix Committed
Changed in lxc-android-config (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.