14.04: cups-pdf=2.6.1-9 fails to install inside a chroot

Bug #1486796 reported by cleary
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups-pdf (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Description:
When installing cups-pdf inside a chroot as part of an unattended live build, it prompts for a password for the localhost root user.
This should not happen as per debian policy 3.9.1 (detailed below):

=================
Bug Text:

Setting up cups-pdf (2.6.1-9) ...
/usr/sbin/policy-rc.d denied action: `cups force-reload'
invoke-rc.d: policy-rc.d denied execution of force-reload.
Password for root on localhost?

=================
Versions:

$ lsb_release -rd
Description: Ubuntu 14.04.3 LTS
Release: 14.04

$ apt-cache policy cups-pdf
cups-pdf:
  Installed: 2.6.1-9
  Candidate: 2.6.1-9
  Version table:
     2.6.1-9 0

=================
References/Extra:

ref debian bugs:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539156
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614713

To quote the report in 539156:

"cups-pdf requires user interaction because of calling lpadmin in the
postinst script. This violates Debian policy "3.9.1 Prompting in
maintainer scripts". Quote: "Prompting must be done by communicating
through a program, such as debconf, which conforms to the Debian
Configuration Management Specification, version 2 or higher.""

Patch attached

Revision history for this message
cleary (bernard-gray) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch from the debian package cups-pdf= 2.6.1-18" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Martin-Éric Racine (q-funk) wrote :

This patch was merged in Debian 2.6.1-18 according to Debian.changelog. Closing.

Changed in cups-pdf (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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