Bug 32208

Summary: Missing PDF printer type due to wrong joinscript order
Product: UCS Reporter: Sönke Schwardt-Krummrich <schwardt>
Component: PrintserverAssignee: Stefan Gohmann <gohmann>
Status: CLOSED DUPLICATE QA Contact: Felix Botner <botner>
Severity: normal    
Priority: P5 CC: gohmann, grandjean, walkenhorst
Version: UCS 3.1   
Target Milestone: UCS 4.0-2-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:

Description Sönke Schwardt-Krummrich univentionstaff 2013-08-09 10:07:18 CEST
The joinscript 79univention-printserver-pdf.inst is called before 
79univention-printserver.inst. With default settings the latter one deletes all printer type definitions, thus all changes made by 
79univention-printserver-pdf.inst are lost.

Configure 79univention-printserver-pdf.inst Tue Jul 30 14:02:43 CEST 2013
Object modified: cn=printeruris,cn=cups,cn=univention,dc=nstx,dc=local
Object created: cn=PDF,cn=cups,cn=univention,dc=nstx,dc=local
WARNING: No attribute with name 'webaccessName' in this module, value not set.
Object created: cn=pdfPrinterShare,cn=shares,dc=nstx,dc=local
Configure 79univention-printserver.inst Tue Jul 30 14:02:44 CEST 2013
Adding user `slave52$' to group `lp' ...
Adding user slave52$ to group lp
Done.
Object removed: cn=PDF,cn=cups,cn=univention,dc=nstx,dc=local
Object exists: cn=cups,cn=univention,dc=nstx,dc=local
Object created: cn=misc,cn=cups,cn=univention,dc=nstx,dc=local
Object created: cn=Alps,cn=cups,cn=univention,dc=nstx,dc=local

There is also a problem if the version of 79univention-printserver.inst is increased later on but the version of 79univention-printserver-pdf.inst is not.
In this case also the PDF printer definition is lost.
Comment 1 Michael Grandjean univentionstaff 2015-04-02 15:30:56 CEST
Happened again during UCS@school workshop


~# ucr search --brief ^version
version/erratalevel: 142
version/patchlevel: 1
version/releasename: Walle
version/version: 4.0
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2015-04-02 16:15:06 CEST
(In reply to Sönke Schwardt-Krummrich from comment #0)
> The joinscript 79univention-printserver-pdf.inst is called before 
> 79univention-printserver.inst. With default settings the latter one deletes
> all printer type definitions, thus all changes made by 
> 79univention-printserver-pdf.inst are lost.

In UCS/UCS@school environments this applies also if an additional slave with univention-printserver is installed.
Comment 3 Stefan Gohmann univentionstaff 2015-06-27 20:40:55 CEST
The printer models are no longer deleted in the printserver join script.

*** This bug has been marked as a duplicate of bug 38117 ***