Bug 15735 - Fehler bei Update von univention-printserver
Fehler bei Update von univention-printserver
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Printserver
UCS 2.3
Other Linux
: P5 normal (vote)
: UCS 2.3
Assigned To: Felix Botner
Janek Walkenhorst
:
Depends on:
Blocks: 14432
  Show dependency treegraph
 
Reported: 2009-09-25 13:51 CEST by Sönke Schwardt-Krummrich
Modified: 2023-11-15 15:03 CET (History)
1 user (show)

See Also:
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:


Attachments
Fehlermeldung beim Update von univention-printserver (25.12 KB, image/png)
2009-09-25 13:51 CEST, Sönke Schwardt-Krummrich
Details
Keine Fehlermeldung beim Update (8.50 KB, text/plain)
2009-10-28 13:49 CET, Janek Walkenhorst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2009-09-25 13:51:12 CEST
Created attachment 1859 [details]
Fehlermeldung beim Update von univention-printserver

Beim Update von univention-printserver wirft dpkg-divert eine Fehlermeldung,
daß dpkg-divert nicht auf Verzeichnisse angewendet werden kann.
Comment 1 Felix Botner univentionstaff 2009-09-25 14:14:54 CEST
hp-ppd ist so gepatched, dass es das Verzeichnis /usr/share/cups/model nicht mehr anlegt. univention-printserver erstellt nun einen Link von /usr/share/cups/model auf /usr/share/ppd.

(cupsd schaut in /usr/share/cups/model nach ppds, die liegen aber noch in /usr/share/ppd)
Comment 2 Janek Walkenhorst univentionstaff 2009-10-28 13:49:22 CET
Created attachment 1945 [details]
Keine Fehlermeldung beim Update

Link existiert:
# file /usr/share/cups/model
/usr/share/cups/model: symbolic link to `../ppd'
Comment 3 Janek Walkenhorst univentionstaff 2009-10-28 13:53:23 CET
(In reply to comment #2)
> Created an attachment (id=1945) [details]
> Keine Fehlermeldung beim Update
> 
> Link existiert:
> # file /usr/share/cups/model
> /usr/share/cups/model: symbolic link to `../ppd'
Damit: Verified
Comment 4 Felix Botner univentionstaff 2009-11-12 10:48:21 CET
cupsys heißt ab UCS 2.3 cups, auch das PAM Config File bekommt den neuen Namen, das macht cups Paket selbst

updater.log:
Removing obsolete unchanged /etc/init.d/cupsys...
Moving customized /etc/pam.d/cupsys to new location /etc/pam.d/cups...
Removing obsolete unchanged /etc/logrotate.d/cupsys...
dpkg: Fehler beim Bearbeiten von

Jedoch heißt das Template aus univention-printserver noch .../pam.d/cupsys, dieses müsste umbenannt werden.
Comment 5 Felix Botner univentionstaff 2009-11-12 10:54:46 CET
Im Postinst von univention-printserver wird noch /etc/init.d/cupsys benutzt, auch dies muss in cups umbenannt werden.
Comment 6 Felix Botner univentionstaff 2009-11-12 11:06:50 CET
Das Template /etc/pam.d/cupsys wurde in /etc/pam.d/cups umbenannt. Im postinst wird nun /etc/init.d/cups benutzt.
Comment 7 Janek Walkenhorst univentionstaff 2009-11-16 11:16:00 CET
Die /etc/pam.d/cups wird nach /etc/pam.d/cups.debian umgeleitet und von UCR verwaltet.

Reopen:
Nach dem Update univention-printserver 3.0.23-1.475.200911031613 -> 3.0.23-2.476.200911121101 bleibt die ursprüngliche /etc/pam.d/cupsys Datei bestehen.
Comment 8 Janek Walkenhorst univentionstaff 2009-11-16 11:41:02 CET
(In reply to comment #7)
> Reopen:
> Nach dem Update univention-printserver 3.0.23-1.475.200911031613 ->
> 3.0.23-2.476.200911121101 bleibt die ursprüngliche /etc/pam.d/cupsys Datei
> bestehen.

Nach dem Update 2.2-2 → 2.3-0:

root@autoupdate220i386:~# dpkg -S /etc/univention/templates/files/etc/pam.d/cups*
univention-printserver: /etc/univention/templates/files/etc/pam.d/cups
univention-printserver: /etc/univention/templates/files/etc/pam.d/cupsys
root@autoupdate220i386:~# ls -l /etc/univention/templates/files/etc/pam.d/cups*
-rw-r--r-- 1 root root 66 12. Nov 11:00 /etc/univention/templates/files/etc/pam.d/cups
-rw-r--r-- 1 root root 66 12. Mär 2009  /etc/univention/templates/files/etc/pam.d/cupsys
root@autoupdate220i386:~# diff /etc/univention/templates/files/etc/pam.d/cups*
root@autoupdate220i386:~# 

root@autoupdate220i386:~# ls -l /etc/pam.d/cups*
-rw-r--r-- 1 root root 466 16. Nov 02:22 /etc/pam.d/cups
-rw-r--r-- 1 root root 468 12. Okt 11:35 /etc/pam.d/cups.debian
-rw-r--r-- 1 root root  69  7. Mai 2009  /etc/pam.d/cupsys.debian.dpkg-new
Comment 9 Stefan Gohmann univentionstaff 2009-11-16 11:50:15 CET
(In reply to comment #8)
> (In reply to comment #7)
> > Reopen:
> > Nach dem Update univention-printserver 3.0.23-1.475.200911031613 ->
> > 3.0.23-2.476.200911121101 bleibt die ursprüngliche /etc/pam.d/cupsys Datei
> > bestehen.
> 
> Nach dem Update 2.2-2 → 2.3-0:
> 
> root@autoupdate220i386:~# dpkg -S
> /etc/univention/templates/files/etc/pam.d/cups*
> univention-printserver: /etc/univention/templates/files/etc/pam.d/cups
> univention-printserver: /etc/univention/templates/files/etc/pam.d/cupsys
> root@autoupdate220i386:~# ls -l /etc/univention/templates/files/etc/pam.d/cups*
> -rw-r--r-- 1 root root 66 12. Nov 11:00
> /etc/univention/templates/files/etc/pam.d/cups
> -rw-r--r-- 1 root root 66 12. Mär 2009 
> /etc/univention/templates/files/etc/pam.d/cupsys
> root@autoupdate220i386:~# diff /etc/univention/templates/files/etc/pam.d/cups*
> root@autoupdate220i386:~# 
> 
> root@autoupdate220i386:~# ls -l /etc/pam.d/cups*
> -rw-r--r-- 1 root root 466 16. Nov 02:22 /etc/pam.d/cups
> -rw-r--r-- 1 root root 468 12. Okt 11:35 /etc/pam.d/cups.debian
> -rw-r--r-- 1 root root  69  7. Mai 2009  /etc/pam.d/cupsys.debian.dpkg-new

Das ist unkritisch, solange auch die neue Datei mitgebracht wird. Das Template ist ein conffile und wird nur entfernt, wenn das Paket per purge entfernt wird.
Comment 10 Janek Walkenhorst univentionstaff 2009-11-16 11:57:53 CET
(In reply to comment #9)
> Das ist unkritisch, solange auch die neue Datei mitgebracht wird. Das Template
> ist ein conffile und wird nur entfernt, wenn das Paket per purge entfernt wird.

Damit Verified
Comment 11 Stefan Gohmann univentionstaff 2009-12-21 08:49:39 CET
UCS 2.3 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer neueren Version von UCS erneut auftreten, so sollte der Bug dupliziert werden: "Clone This Bug".