Bug 41308 - Generation of UCC desktop image fails if ISO should be created
Generation of UCC desktop image fails if ISO should be created
Status: CLOSED WONTFIX
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: Image Desktop
UCC 2.1
Other Linux
: P5 normal
: UCC 2.1-errata
Assigned To: UCC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-20 12:20 CEST by Michael Grandjean
Modified: 2023-06-28 10:32 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046
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
ucc-image-toolkit.log (772.49 KB, text/x-log)
2016-05-20 12:33 CEST, Michael Grandjean
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Grandjean univentionstaff 2016-05-20 12:20:54 CEST
I tried to build a new image with the ucc-dekstop.cfg that is shipped with the UCC 2.1 App:

> ucc-image cmd: grub-mkrescue -o /tmp/tmpLxRSmm/ucc-2.1-desktop-image.img.iso /tmp/tmpLxRSmm/cdrom -iso-level 3
> grub-mkrescue: Ungültige Option -- »i«
> Rufen Sie »grub-mkrescue --help« oder »grub-mkrescue --usage« auf, um weitere
> Informationen zu erhalten.
> The command "grub-mkrescue -o /tmp/tmpLxRSmm/ucc-2.1-desktop-image.img.iso /tmp/tmpLxRSmm/cdrom -iso-level 3" failed with the error code 64
> Traceback (most recent call last):
>   File "/usr/sbin/ucc-image", line 601, in <module>
>     _run_cmd(cmd_block, logfile_fd)
>   File "/usr/sbin/ucc-image", line 64, in _run_cmd
>     raise RuntimeError(msg)
> RuntimeError: The command "grub-mkrescue -o /tmp/tmpLxRSmm/ucc-2.1-desktop-image.img.iso /tmp/tmpLxRSmm/cdrom -iso-level 3" failed with the error code 64
> ucc-image cmd: fuser -k /tmp/tmpLxRSmm/bootstrap
> The command "fuser -k /tmp/tmpLxRSmm/bootstrap" failed with the error code 1
> ucc-image cmd: /usr/sbin/chroot /tmp/tmpLxRSmm/bootstrap umount /proc
> /usr/sbin/chroot: failed to run command `umount': No such file or directory
> The command "/usr/sbin/chroot /tmp/tmpLxRSmm/bootstrap umount /proc" failed with the error code 127
> Finished WITH ERROR /usr/sbin/ucc-image -c /usr/share/doc/ucc-image-toolkit/example/ucc-desktop.cfg -i 001 -d Bob der Baumeister -t /var/lib/univention-client-boot/ at 2016-05-20 10:10:01
Comment 1 Michael Grandjean univentionstaff 2016-05-20 12:33:12 CEST
Created attachment 7674 [details]
ucc-image-toolkit.log
Comment 2 Erik Damrose univentionstaff 2016-05-26 10:02:02 CEST
Workaround: univention-install grub2-common=2.00-18.92.201506300903 grub-pc=2.00-18.92.201506300903 grub-pc-bin=2.00-18.92.201506300903 grub-common=2.00-18.92.201506300903
Comment 3 Ingo Steuwer univentionstaff 2020-06-19 16:55:42 CEST
UCC 1.x / 2.x is out of maintenance. In case this Bug is still relevant please clone with the correct version.