[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#795063: marked as done (cups: Printers are deleted in printers.conf frequently)



Your message dated Thu, 13 Aug 2015 19:41:06 +0100
with message-id <20150813184106.GD15138@copernicus.demon.co.uk>
and subject line Re: Bug#795063: cups: Printers are deleted in printers.conf frequently
has caused the Debian Bug report #795063,
regarding cups: Printers are deleted in printers.conf frequently
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
795063: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=795063
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups
Version: 2.0.3-10
Severity: important

Dear Maintainer,

my printers.conf is changed frequently without intervention so that nearly all
network printers are deleted after a short time.

The printers are installed manually because the Kyocera printers do not show up
in the list of availabe printers.

Purging Cups, switching off browsing in cupds.conf or deinstalling cups-browsed
do not solve this problem.

To prevent Cups from deleting printers I had set printers.conf to immutable
(chattr +i /etc/cups/printers.conf).





-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages cups depends on:
ii  cups-client            2.0.3-10
ii  cups-common            2.0.3-10
ii  cups-core-drivers      2.0.3-10
ii  cups-daemon            2.0.3-10
ii  cups-filters           1.0.71-1+b1
ii  cups-ppdc              2.0.3-10
ii  cups-server-common     2.0.3-10
ii  debconf [debconf-2.0]  1.5.57
ii  ghostscript            9.16~dfsg-2
ii  libavahi-client3       0.6.31-5
ii  libavahi-common3       0.6.31-5
ii  libc-bin               2.19-19
ii  libc6                  2.19-19
ii  libcups2               2.0.3-10
ii  libcupscgi1            2.0.3-10
ii  libcupsimage2          2.0.3-10
ii  libcupsmime1           2.0.3-10
ii  libcupsppdc1           2.0.3-10
ii  libgcc1                1:5.2.1-15
ii  libstdc++6             5.2.1-15
ii  libusb-1.0-0           2:1.0.19-1
ii  lsb-base               4.1+Debian13+nmu1
ii  poppler-utils          0.26.5-3
ii  procps                 2:3.3.10-2

Versions of packages cups recommends:
ii  avahi-daemon                     0.6.31-5
ii  colord                           1.2.1-1+b2
ii  cups-filters [ghostscript-cups]  1.0.71-1+b1
ii  printer-driver-gutenprint        5.2.10-3

Versions of packages cups suggests:
ii  cups-bsd                            2.0.3-10
ii  cups-pdf                            2.6.1-20
ii  foomatic-db                         20150411-1
pn  hplip                               <none>
ii  printer-driver-cups-pdf [cups-pdf]  2.6.1-20
pn  printer-driver-hpcups               <none>
ii  smbclient                           2:4.1.17+dfsg-4
ii  udev                                224-1

-- debconf information:
  cupsys/backend: lpd, socket, usb, snmp, dnssd
  cupsys/raw-print: true
# Printer configuration file for CUPS v2.0.3
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer KyoFS2020DN>
UUID urn:uuid:de0608ee-f9b1-3a34-6305-f189baed5e6c
AuthInfoRequired none
Info Kyocera FS-2020DN Laser BW
Location R 1714, Moe 7, Uni Kassel
DeviceURI socket://xxx.xxx.xxx.34:9100
State Idle
StateTime 1389955415
Type 8425556
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy abort-job
Option cups-browsed true
Attribute marker-colors none,none
Attribute marker-levels 11,-1
Attribute marker-names TK-340,Waste Toner Box
Attribute marker-types toner,waste-toner
Attribute marker-change-time 1389955415
</Printer>
<Printer KyoFSC5400DN>
UUID urn:uuid:2b7970e1-cfac-39b6-70f1-a8af342a2f7f
Info Kyocera FS-C5400DN Farblaser
Location Raum 1722a, Moe 7, Uni Kassel
MakeModel Kyocera FS-C5400DN (KPDL)
DeviceURI socket://xxx.xxx.xxx.36:9100
State Idle
StateTime 1389888996
Type 8425564
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Option cups-browsed true
Attribute marker-colors none
Attribute marker-levels -1
Attribute marker-types toner
Attribute marker-change-time 1382440423
</Printer>
<Printer OkiC5950>
UUID urn:uuid:cb217e10-bfc8-3d49-67e9-566caf8f07d2
Info Oki C5950 Farblaser Duplex
Location R 1714 / Moe 7 / Uni Kassel
DeviceURI socket://xxx.xxx.xxx.38:9100
State Idle
StateTime 1426241008
Type 8425566
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Option cups-browsed true
</Printer>
<Printer MP2000>
UUID urn:uuid:2d4b24a6-a3d0-34f6-7cb8-6b9737ae9854
AuthInfoRequired none
Info Ricoh Aficio MP 2000 Laser s/w Duplex
Location R 1722a, Moe 7, Uni Kassel
DeviceURI socket://xxx.xxx.xxx.37
State Idle
StateTime 1389957557
Type 8400916
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Option cups-browsed true
Attribute marker-colors \#000000
Attribute marker-levels -1
Attribute marker-names Toner
Attribute marker-types toner
Attribute marker-change-time 1389957557
</Printer>


<DefaultPrinter PDF>
UUID urn:uuid:aeae4119-7582-31ac-5c75-4cc5c46c8212
Info PDF
DeviceURI cups-pdf:/
State Idle
StateTime 1382694546
Type 8450124
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</DefaultPrinter>
#
# Configuration file for the CUPS scheduler.  See "man cupsd.conf" for a
# complete description of this file.
#

# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn
PageLogFormat

# Deactivate CUPS' internal logrotating, as we provide a better one, especially
# LogLevel debug2 gets usable now
MaxLogSize 0

# Only listen for connections from the local machine.
Listen xxx.xx.xx.x:631
Listen localhost:631
Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
Browsing On
BrowseLocalProtocols dnssd

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Web interface setting...
WebInterface Yes

# Restrict access to the server...
<Location />
  Order allow,deny  
  Allow all
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
  Allow all
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
  Allow all
</Location>

# Set the default printer/job policies...
<Policy default>
  # Job/subscription privacy...
  JobPrivateAccess all
  JobPrivateValues none
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
  </Limit>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

# Set the authenticated printer/job policies...
<Policy authenticated>
  # Job/subscription privacy...
  JobPrivateAccess all
  JobPrivateValues none
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Default
    Order deny,allow
  </Limit>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

--- End Message ---
--- Begin Message ---
On Thu 13 Aug 2015 at 17:39:08 +0200, Axel Dürrbaum wrote:

> Hello Brian,
> 
> Thanks for your help!

And thanks for your quick reply. We can put this to bed now.

> I removed the lines with "cup-browsed" in printers.conf and now the file
> is not changed anymore.

I half-expected that.

> They must come from an early version of CUPS, maybe from Jessie?

Maybe. It's probable neither of us has the time nor energy to find out.

> I do not remember putting them manually into the file.

You seem to be satisfied so I am going to close the report

> Now my only problem is printing from my PC (Debian Jessie, CUPS 2.02
> from experimental) to an Oki C5950 printer on the server (also CUPS 2.02
> ).
> I always  get "Create-Job: client-error-not-authorized (Der Drucker oder
> die Klasse ist nicht freigegeben.)" and the print job is halted.
> 
> And a popup with "opc-life-over" from the Mate desktop.

The popup message seems to have something to do with toner supplies.
 
> All other three printers on the server are working without problems.
> 
> Printing over the old server (Debian wheezy 7.8 with CUPS 1.5.3) with
> the same PPD works.
> 
> But I cannot find any (helpful) informations about this problem with Goo
> gle.

If you are reasonably sure there is no client or server problem you
should submit a bug report.

--- End Message ---

Reply to: