Public bug reported:
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
** Affects: cups-pdf (Ubuntu)
Importance: Undecided
Status: New
** Tags: 14.04 cups lts
** Patch added: "patch from the debian package cups-pdf= 2.6.1-18"
https://bugs.launchpad.net/bugs/1486796/+attachment/4449098/+files/cups-pdf-chroot.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1486796
Title:
14.04: cups-pdf=2.6.1-9 fails to install inside a chroot
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-pdf/+bug/1486796/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs