** Changed in: cupsys (Ubuntu)
       Status: Confirmed => In Progress

** Summary changed:

- cupsys 1.2.1-0ubuntu1 Configuration Error
+ cupsys 1.2.1-0ubuntu1 doesn't support 11.22.33.* network masks

** Description changed:

  Binary package hint: cupsys
  
  Dapper 6.06 LTS - upgrade from cupsys 1.2.0* breaks with a previously
  successful /etc/cups/cupsd.conf
  
  Printer: HP LaserJet6L printer.
  Fully updated 6.06 system.
  
  After today's upgrades, including the upgrade to cupsys:
  
  1. System - Admin - Printing reports "unable to contact cups server".
  
  2. sudo /etc/init.d/cupsys restart ( or stop --> start ) fails
  
  3. "sudo dpkg-reconfigure cupsys" reports the package as broken
  
  4. Output of
  
  $ tail /var/log/cups/error_log
  E [09/Jul/2006:10:38:09 +1000] Unknown directive RunAsUser on line 390.
  I [09/Jul/2006:10:38:09 +1000] Listening to :::631 (IPv6)
  I [09/Jul/2006:10:38:09 +1000] Listening to 0.0.0.0:631 (IPv4)
  E [09/Jul/2006:10:38:09 +1000] Bad netmask value 10.1.1.* on line 800.
  E [09/Jul/2006:10:38:09 +1000] Unknown Location directive Allow on line 800.
  E [09/Jul/2006:10:38:20 +1000] Unknown directive RunAsUser on line 390.
  I [09/Jul/2006:10:38:20 +1000] Listening to :::631 (IPv6)
  I [09/Jul/2006:10:38:20 +1000] Listening to 0.0.0.0:631 (IPv4)
  E [09/Jul/2006:10:38:20 +1000] Bad netmask value 10.1.1.* on line 800.
  E [09/Jul/2006:10:38:20 +1000] Unknown Location directive Allow on line 800.
  
- 5. Commenting out line 390 in cupsd.conf thus:
- 
- #RunAsUser Yes
- 
  and changing line 800  from "Allow From 10.1.1.* "  to "Allow From
  10.1.1.0/24" , followed by
  
  sudo /etc/init.d/cupsys restart
  
  rectifies the problem, and the printer successfully prints a test page
  both from the local machine at 10.1.1.4 and from the network ( 10.1.1.2
  )
- 
- I am reporting this as a bug, since the previous configuration including
- the "Allow From 10.1.1.*" and "RunAsUser Yes" functioned perfectly, and,
- in my view, users should not need to trouble-shoot the problem, and
- would often not know where to look to fix it.
- 
- Debconf does not ask on installation of the update whether the user
- wishes to modify or keep the previous configuration...

-- 
cupsys 1.2.1-0ubuntu1 doesn't support 11.22.33.* network masks
https://launchpad.net/bugs/52390

--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to