Public bug reported:

###-----
### NOTE English is not my native language, I do my best ...
###-----

Distribution is Lubuntu (Ubuntu-19.04).

###-----
### NOTE by request
###-----
# cat /proc/version_signature
Ubuntu 5.0.0-15.16-generic 5.0.6

# apt-cache policy cups
cups:
  Installed: 2.2.10-4ubuntu1
  Candidate: 2.2.10-4ubuntu1
  Version table:
 *** 2.2.10-4ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu disco-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.2.10-4 500
        500 http://archive.ubuntu.com/ubuntu disco/main amd64 Packages

# lsb_release -rd
Description:    Ubuntu 19.04
Release:        19.04

###-----
### NOTE starting point
###-----
My printing system for the last 12-15 years based on cups had/has the following 
setup:

* 1 network laser printer "Brother MFC 9142CDN"
* 3 "symbolic" printers which are copies of the former, configured to set 
defaults for particular uses: "monoprinter" (grayscale), "colorprinter" (full 
color) and "labelprinter" (use of manual feed)

The "Brother MFC 9142CDN" was instantly discovered and completely PPD
configured and successfully tested with a fresh Lubuntu-19.04 install,
last week.

###-----
### NOTE by request: see attachment for "ubuntu-bug cups" output
###-----

###-----
### NOTE After first install and fresh configuration my printer setup looks as 
follows
###-----
# lpstat -s
device for Brother_MFC_9142CDN: ipp://BRN30055C78CF3B.local:631/ipp/print
device for colorprinter: ipp://BRN30055C78CF3B.local:631/ipp/print
device for labelprinter: ipp://BRN30055C78CF3B.local:631/ipp/print
device for monoprinter: ipp://BRN30055C78CF3B.local:631/ipp/print
# ls -l ppd/
total 96
-rw-rw-r-- 1 root lp 8619 May 12 18:07 Brother_MFC_9142CDN.ppd
-rw-rw-r-- 1 root lp 8619 May 12 18:07 Brother_MFC_9142CDN.ppd.O
-rw-r----- 1 root lp 8617 May 17 21:00 colorprinter.ppd
-rw-r----- 1 root lp 8635 May 17 20:56 colorprinter.ppd.O
-rw-r----- 1 root lp 8622 May 17 21:05 labelprinter.ppd
-rw-r----- 1 root lp 8622 May 17 21:01 labelprinter.ppd.O
-rw-r----- 1 root lp 8620 May 17 20:59 monoprinter.ppd
-rw-r----- 1 root lp 8635 May 17 20:58 monoprinter.ppd.O

###-----
### NOTE Only the first of these (Brother_MFC_9142CDN) survives a reboot
###-----
# lpstat -s
device for Brother_MFC_9142CDN: ipp://BRN30055C78CF3B.local:631/ipp/print

###-----
### NOTE strangely, this one also disappears after some minutes
###-----
LANG=en lpstat -s
no system default destination
lpstat: No destinations added.
lpstat: No destinations added.

###-----
### NOTE printers.conf / printers.conf.O - mind the sizes
###
### printers.conf: no printer definition, just standard comment "DO NOT EDIT 
..."
### printers.conf.O: only the physical network printer "Brother_MFC_9142CDN" 
description
###   while the 3 other printers (monoprinter, colorprinter, labelprinter) are 
missing
###-----
# ls -l /etc/cups/printers.conf*
-rw------- 1 root lp     111 Mai 19 08:00 printers.conf
-rw------- 1 root lp     923 Mai 19 07:55 printers.conf.O

###-----
### NOTE the PPDs are also lost at this time
###-----
# ls -l /etc/cups/ppd/
total 0

###-----
### NOTE after my fresh and working configuration, the PPDs looked like this
###
### Only the "Brother_MFC_9142CDN" survives a reboot though it also disappears 
later.
### Mind the permissions: 664 versus 640 ... don't know why
###-----
# ls -l ppd/
total 96
-rw-rw-r-- 1 root lp 8619 May 12 18:07 Brother_MFC_9142CDN.ppd
-rw-rw-r-- 1 root lp 8619 May 12 18:07 Brother_MFC_9142CDN.ppd.O
-rw-r----- 1 root lp 8617 May 17 21:00 colorprinter.ppd
-rw-r----- 1 root lp 8635 May 17 20:56 colorprinter.ppd.O
-rw-r----- 1 root lp 8622 May 17 21:05 labelprinter.ppd
-rw-r----- 1 root lp 8622 May 17 21:01 labelprinter.ppd.O
-rw-r----- 1 root lp 8620 May 17 20:59 monoprinter.ppd
-rw-r----- 1 root lp 8635 May 17 20:58 monoprinter.ppd.O

###-----
### NOTE
###
### Apart from the different settings in "/etc/cups/printers.conf" for my 3 
copies,
### the DeviceURI is the same for all four. Only the UUID differs
###-----
<Printer Brother_MFC_9142CDN>
UUID urn:uuid:f81a64b6-71d2-3878-71cf-1b1fd6b4dba3
DeviceURI ipp://BRN30055C78CF3B.local:631/ipp/print
</Printer>
<Printer colorprinter>
UUID urn:uuid:63efeecc-be6e-3065-6c0c-9a73bdd0dd62
DeviceURI ipp://BRN30055C78CF3B.local:631/ipp/print
</Printer>
<Printer labelprinter>
UUID urn:uuid:756313d5-4548-327f-666b-9f2edf2c8942
DeviceURI ipp://BRN30055C78CF3B.local:631/ipp/print
</Printer>
<DefaultPrinter monoprinter>
UUID urn:uuid:c4abcfb1-c1f2-34fd-4e8f-514209e3e5e9
DeviceURI ipp://BRN30055C78CF3B.local:631/ipp/print
</DefaultPrinter>

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

** Attachment added: "20190519-0814-CEST-apport.cups.k1bxh64q.apport"
   
https://bugs.launchpad.net/bugs/1829643/+attachment/5264742/+files/20190519-0814-CEST-apport.cups.k1bxh64q.apport

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1829643

Title:
  1 network printer + 3 configurations (copies) disappear

Status in linux package in Ubuntu:
  New

Bug description:
  ###-----
  ### NOTE English is not my native language, I do my best ...
  ###-----

  Distribution is Lubuntu (Ubuntu-19.04).

  ###-----
  ### NOTE by request
  ###-----
  # cat /proc/version_signature
  Ubuntu 5.0.0-15.16-generic 5.0.6

  # apt-cache policy cups
  cups:
    Installed: 2.2.10-4ubuntu1
    Candidate: 2.2.10-4ubuntu1
    Version table:
   *** 2.2.10-4ubuntu1 500
          500 http://archive.ubuntu.com/ubuntu disco-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       2.2.10-4 500
          500 http://archive.ubuntu.com/ubuntu disco/main amd64 Packages

  # lsb_release -rd
  Description:    Ubuntu 19.04
  Release:        19.04

  ###-----
  ### NOTE starting point
  ###-----
  My printing system for the last 12-15 years based on cups had/has the 
following setup:

  * 1 network laser printer "Brother MFC 9142CDN"
  * 3 "symbolic" printers which are copies of the former, configured to set 
defaults for particular uses: "monoprinter" (grayscale), "colorprinter" (full 
color) and "labelprinter" (use of manual feed)

  The "Brother MFC 9142CDN" was instantly discovered and completely PPD
  configured and successfully tested with a fresh Lubuntu-19.04 install,
  last week.

  ###-----
  ### NOTE by request: see attachment for "ubuntu-bug cups" output
  ###-----

  ###-----
  ### NOTE After first install and fresh configuration my printer setup looks 
as follows
  ###-----
  # lpstat -s
  device for Brother_MFC_9142CDN: ipp://BRN30055C78CF3B.local:631/ipp/print
  device for colorprinter: ipp://BRN30055C78CF3B.local:631/ipp/print
  device for labelprinter: ipp://BRN30055C78CF3B.local:631/ipp/print
  device for monoprinter: ipp://BRN30055C78CF3B.local:631/ipp/print
  # ls -l ppd/
  total 96
  -rw-rw-r-- 1 root lp 8619 May 12 18:07 Brother_MFC_9142CDN.ppd
  -rw-rw-r-- 1 root lp 8619 May 12 18:07 Brother_MFC_9142CDN.ppd.O
  -rw-r----- 1 root lp 8617 May 17 21:00 colorprinter.ppd
  -rw-r----- 1 root lp 8635 May 17 20:56 colorprinter.ppd.O
  -rw-r----- 1 root lp 8622 May 17 21:05 labelprinter.ppd
  -rw-r----- 1 root lp 8622 May 17 21:01 labelprinter.ppd.O
  -rw-r----- 1 root lp 8620 May 17 20:59 monoprinter.ppd
  -rw-r----- 1 root lp 8635 May 17 20:58 monoprinter.ppd.O

  ###-----
  ### NOTE Only the first of these (Brother_MFC_9142CDN) survives a reboot
  ###-----
  # lpstat -s
  device for Brother_MFC_9142CDN: ipp://BRN30055C78CF3B.local:631/ipp/print

  ###-----
  ### NOTE strangely, this one also disappears after some minutes
  ###-----
  LANG=en lpstat -s
  no system default destination
  lpstat: No destinations added.
  lpstat: No destinations added.

  ###-----
  ### NOTE printers.conf / printers.conf.O - mind the sizes
  ###
  ### printers.conf: no printer definition, just standard comment "DO NOT EDIT 
..."
  ### printers.conf.O: only the physical network printer "Brother_MFC_9142CDN" 
description
  ###   while the 3 other printers (monoprinter, colorprinter, labelprinter) 
are missing
  ###-----
  # ls -l /etc/cups/printers.conf*
  -rw------- 1 root lp     111 Mai 19 08:00 printers.conf
  -rw------- 1 root lp     923 Mai 19 07:55 printers.conf.O

  ###-----
  ### NOTE the PPDs are also lost at this time
  ###-----
  # ls -l /etc/cups/ppd/
  total 0

  ###-----
  ### NOTE after my fresh and working configuration, the PPDs looked like this
  ###
  ### Only the "Brother_MFC_9142CDN" survives a reboot though it also 
disappears later.
  ### Mind the permissions: 664 versus 640 ... don't know why
  ###-----
  # ls -l ppd/
  total 96
  -rw-rw-r-- 1 root lp 8619 May 12 18:07 Brother_MFC_9142CDN.ppd
  -rw-rw-r-- 1 root lp 8619 May 12 18:07 Brother_MFC_9142CDN.ppd.O
  -rw-r----- 1 root lp 8617 May 17 21:00 colorprinter.ppd
  -rw-r----- 1 root lp 8635 May 17 20:56 colorprinter.ppd.O
  -rw-r----- 1 root lp 8622 May 17 21:05 labelprinter.ppd
  -rw-r----- 1 root lp 8622 May 17 21:01 labelprinter.ppd.O
  -rw-r----- 1 root lp 8620 May 17 20:59 monoprinter.ppd
  -rw-r----- 1 root lp 8635 May 17 20:58 monoprinter.ppd.O

  ###-----
  ### NOTE
  ###
  ### Apart from the different settings in "/etc/cups/printers.conf" for my 3 
copies,
  ### the DeviceURI is the same for all four. Only the UUID differs
  ###-----
  <Printer Brother_MFC_9142CDN>
  UUID urn:uuid:f81a64b6-71d2-3878-71cf-1b1fd6b4dba3
  DeviceURI ipp://BRN30055C78CF3B.local:631/ipp/print
  </Printer>
  <Printer colorprinter>
  UUID urn:uuid:63efeecc-be6e-3065-6c0c-9a73bdd0dd62
  DeviceURI ipp://BRN30055C78CF3B.local:631/ipp/print
  </Printer>
  <Printer labelprinter>
  UUID urn:uuid:756313d5-4548-327f-666b-9f2edf2c8942
  DeviceURI ipp://BRN30055C78CF3B.local:631/ipp/print
  </Printer>
  <DefaultPrinter monoprinter>
  UUID urn:uuid:c4abcfb1-c1f2-34fd-4e8f-514209e3e5e9
  DeviceURI ipp://BRN30055C78CF3B.local:631/ipp/print
  </DefaultPrinter>

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to