Univention Bugzilla – Bug 41308
Generation of UCC desktop image fails if ISO should be created
Last modified: 2023-06-28 10:32:51 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
Created attachment 7674 [details] ucc-image-toolkit.log
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
UCC 1.x / 2.x is out of maintenance. In case this Bug is still relevant please clone with the correct version.