Bug 31035 - patch grub pc not to break update WITHOUT DEBIAN_FRONTEND="noninteractive"
patch grub pc not to break update WITHOUT DEBIAN_FRONTEND="noninteractive"
Status: CLOSED FIXED
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: General
unspecified
Other Linux
: P5 normal
: UCC 1.0-errata
Assigned To: Felix Botner
Erik Damrose
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-11 17:34 CEST by Felix Botner
Modified: 2013-04-24 17:26 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 Felix Botner univentionstaff 2013-04-11 17:34:48 CEST
see bug #31010

in a standard setup with thinclient image, grub-pc (src grub2) is the only package who breaks the update WITHOUT DEBIAN_FRONTEND="noninteractive"

maybe can patch grub2 to avoid this problem

Also check update in a standard setup with desktop image, maybe we need to patch some more packages 

QA: 
 * ucc update (with ubuntu packages) of the thinclient image
 * ucc update (with ubuntu packages) of the desktop image
Comment 1 Erik Damrose univentionstaff 2013-04-22 12:45:55 CEST
DEBIAN_FRONTEND=noninteractive is set in the grub2 .postinst file. No questions are asked during updates, which works in the ucc environment.

build version: 1.99-21ubuntu3.9.58.201304221220
Comment 2 Erik Damrose univentionstaff 2013-04-22 14:56:41 CEST
2013-04-22-grub2.yaml
Comment 3 Felix Botner univentionstaff 2013-04-23 16:38:49 CEST
Grub Patch works and YAML File looks good. Thinclient update (without first errata) works.

But desktop system update still fails (because of kdm, lightdm).

I imported kdm and lightdm and patched those packages as grub2. 

QA 

ucc desktop image update to testmirror and kdm|lightdm YAML files.
Comment 4 Erik Damrose univentionstaff 2013-04-24 10:06:24 CEST
Update works noninteractive: OK
YAML: corrected kde-workspace version: OK

verified