Bug 34698 - Document packages_hold / thin client kernel update
Document packages_hold / thin client kernel update
Status: CLOSED FIXED
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: Documentation
unspecified
Other Linux
: P5 normal
: UCC 2.0
Assigned To: Moritz Muehlenhoff
Erik Damrose
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-29 14:33 CEST by Moritz Muehlenhoff
Modified: 2014-06-12 09:19 CEST (History)
2 users (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

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2014-04-29 14:33:34 CEST
+++ This bug was initially created as a clone of Bug #34489 +++

A kernel update on the current thin client image does not work, the /boot partition is too small

-> apt-get dist-upgrade
...
mkdir: das Verzeichnis »/tmp/mkinitramfs_pm4bBG//lib/i386-linux-gnu“ kann nicht angelegt werden: Die Datei existiert bereits
cp: Fehler beim Schreiben von »/tmp/mkinitramfs_pm4bBG//lib/i386-linux-gnu“: Auf dem Gerät ist kein Speicherplatz mehr verfügbar
cp: »/tmp/mkinitramfs_pm4bBG//lib/i386-linux-gnu“ konnte nicht erweitert werden: Auf dem Gerät ist kein Speicherplatz mehr verfügbar
...

-> df -h /boot/
Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
/dev/sda2        88M     84M     0  100% /boot

One kernel alone needs 50MB in /boot, so our 100MB boot partition is too small for two kernels.

We need a bigger /boot partition (150 MB).
But what is with the already installed/partitioned thin-clients. During Image update to UCC 2.0 the partitioning is not changed further kernel updates will fail.

Maybe we could:

(1) don't allow kernel updates on thin clients (remove kernel meta package from thin client)

(2) don't allow package updates on thin clients but provide new (updated) thin client images,
Comment 1 Moritz Muehlenhoff univentionstaff 2014-05-07 07:52:56 CEST
Documented in revision 49917
Comment 2 Moritz Muehlenhoff univentionstaff 2014-05-07 07:54:07 CEST
(In reply to Moritz Muehlenhoff from comment #1)
> Documented in revision 49917

And revision 49918
Comment 3 Erik Damrose univentionstaff 2014-05-22 17:33:25 CEST
The hold-packages may not be separated by commas but by newlines, the same as the packages and packages_no_recommends. See the paragraph above hold-packages: The format is not specified. Maybe document the correct way there, too.
Comment 4 Moritz Muehlenhoff univentionstaff 2014-05-23 10:50:25 CEST
Fixed in revision 50579
Comment 5 Erik Damrose univentionstaff 2014-05-23 11:16:25 CEST
Verified
Comment 6 Moritz Muehlenhoff univentionstaff 2014-06-12 09:19:46 CEST
UCC 2.0 has been released:
 http://docs.univention.de/release-notes-ucc-2.0.html

If this error occurs again, please use "Clone This Bug".