Public bug reported:

The cups package ships a default config at /etc/cups/cupsd.conf as a
dpkg conffile, and the CUPS server modifies this file automatically when
settings are changed through GUI tools (e.g., system-config-printer-
gnome). When the user upgrades to a later version of Ubuntu, there is
virtually always a conflict on this conffile if they have changed any
server settings (e.g., enabling printer sharing), and the user is
presented with a dpkg keep/replace dialog.

This is a problem because if the user was not technically savvy enough
to modify the config by hand in the first place, then they are certainly
not technically savvy enough to understand the conffile keep/replace
dialog. This makes upgrading Ubuntu scary for non-technical users.

Since the cupsd.conf format does not seem to be undergoing significant
churn, the simplest solution is probably for cupsd.conf to not be a
conffile, which can be achieved easily:

- Stop shipping /etc/cups/cupsd.conf. Continue to ship 
/etc/cups/cupsd.conf.default.
- In package postinst, if /etc/cups/cupsd.conf does not exist, copy 
/etc/cups/cupsd.conf.default to /etc/cups/cupsd.conf.

If the cupsd.conf format undergoes breaking changes in the future, the
postinst could rewrite /etc/cups/cupsd.conf upon upgrade.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: cups 1.6.1-0ubuntu11
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
Date: Sun Oct 28 16:21:46 2012
InstallationDate: Installed on 2011-04-30 (547 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
Lpstat:
 device for Brother-MFC-7220: ipp://192.168.1.100:631/printers/Brother-MFC-7220
 device for Brother-MFC-7220-local: usb://Brother/MFC-7220?serial=000M9N259310
MachineType: System76, Inc. Serval Professional
MarkForUpload: True
Papersize: letter
PpdFiles:
 Brother-MFC-7220: Brother MFC7220 for CUPS
 Brother-MFC-7220-local: Brother MFC7220 for CUPS
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-17-generic 
root=UUID=355c2248-a24b-4840-8000-e563ad9d0727 ro quiet splash pcie_aspm=off
SourcePackage: cups
UpgradeStatus: Upgraded to quantal on 2012-10-21 (7 days ago)
dmi.bios.date: 06/01/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4.6.4
dmi.board.asset.tag: Not Applicable
dmi.board.name: Serval Professional
dmi.board.vendor: System76, Inc.
dmi.board.version: serp7
dmi.chassis.asset.tag: Not Applicable
dmi.chassis.type: 10
dmi.chassis.vendor: System76, Inc.
dmi.chassis.version: serp7
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr4.6.4:bd06/01/2011:svnSystem76,Inc.:pnServalProfessional:pvrserp7:rvnSystem76,Inc.:rnServalProfessional:rvrserp7:cvnSystem76,Inc.:ct10:cvrserp7:
dmi.product.name: Serval Professional
dmi.product.version: serp7
dmi.sys.vendor: System76, Inc.

** Affects: cups (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug quantal running-unity

** Description changed:

  The cups package ships a default config at /etc/cups/cupsd.conf as a
  dpkg conffile, and the CUPS server modifies this file automatically when
  settings are changed through GUI tools (e.g., system-config-printer-
  gnome). When the user upgrades to a later version of Ubuntu, there is
  virtually always a conflict on this conffile if they have changed any
  server settings (e.g., enabling printer sharing), and the user is
  presented with a dpkg keep/replace dialog.
  
  This is a problem because if the user was not technically savvy enough
  to modify the config by hand in the first place, then they are certainly
  not technically savvy enough to understand the conffile keep/replace
  dialog. This makes upgrading Ubuntu scary for non-technical users.
  
  Since the cupsd.conf format does not seem to be undergoing significant
- churn, the simplest solution is probably for the default cupsd.conf to
- not be a conffile, which can be achieved easily:
+ churn, the simplest solution is probably for cupsd.conf to not be a
+ conffile, which can be achieved easily:
  
  - Stop shipping /etc/cups/cupsd.conf. Continue to ship 
/etc/cups/cupsd.conf.default.
  - In package postinst, if /etc/cups/cupsd.conf does not exist, copy 
/etc/cups/cupsd.conf.default to /etc/cups/cupsd.conf.
  
  If the cupsd.conf format undergoes breaking changes in the future, the
  postinst could rewrite /etc/cups/cupsd.conf upon upgrade.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: cups 1.6.1-0ubuntu11
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  Date: Sun Oct 28 16:21:46 2012
  InstallationDate: Installed on 2011-04-30 (547 days ago)
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  Lpstat:
-  device for Brother-MFC-7220: 
ipp://192.168.1.100:631/printers/Brother-MFC-7220
-  device for Brother-MFC-7220-local: usb://Brother/MFC-7220?serial=000M9N259310
+  device for Brother-MFC-7220: 
ipp://192.168.1.100:631/printers/Brother-MFC-7220
+  device for Brother-MFC-7220-local: usb://Brother/MFC-7220?serial=000M9N259310
  MachineType: System76, Inc. Serval Professional
  MarkForUpload: True
  Papersize: letter
  PpdFiles:
-  Brother-MFC-7220: Brother MFC7220 for CUPS
-  Brother-MFC-7220-local: Brother MFC7220 for CUPS
+  Brother-MFC-7220: Brother MFC7220 for CUPS
+  Brother-MFC-7220-local: Brother MFC7220 for CUPS
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-17-generic 
root=UUID=355c2248-a24b-4840-8000-e563ad9d0727 ro quiet splash pcie_aspm=off
  SourcePackage: cups
  UpgradeStatus: Upgraded to quantal on 2012-10-21 (7 days ago)
  dmi.bios.date: 06/01/2011
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 4.6.4
  dmi.board.asset.tag: Not Applicable
  dmi.board.name: Serval Professional
  dmi.board.vendor: System76, Inc.
  dmi.board.version: serp7
  dmi.chassis.asset.tag: Not Applicable
  dmi.chassis.type: 10
  dmi.chassis.vendor: System76, Inc.
  dmi.chassis.version: serp7
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr4.6.4:bd06/01/2011:svnSystem76,Inc.:pnServalProfessional:pvrserp7:rvnSystem76,Inc.:rnServalProfessional:rvrserp7:cvnSystem76,Inc.:ct10:cvrserp7:
  dmi.product.name: Serval Professional
  dmi.product.version: serp7
  dmi.sys.vendor: System76, Inc.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1072506

Title:
  cupsd.conf should not be a dpkg conffile

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1072506/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to