UCC BugReports


I’m trying to build my own image for UCC with the ucc-image comand. I have found several bugs:

  • selecting btrfs as filesystem is not possible. The command in ucc-image for formating a filesystem hardcodes the -F flag into the commandline. This is not a valid flag for mkfs.btrfs. (line 292 in /usr/sbin/ucc-image)
  • UCC 2.0 is based on trusty. The debboostrap supplied with ucs 4.0-2 does not have trusty defintion and so cannot bootstrap a trusty image. /usr/share/debootstrap/scripts/trusty does not exist.

ucc-image -c /usr/share/doc/ucc-image-toolkit/example/ucc-thinclient.cfg -t /tmp/foo -d"foobar" -i"foobar.img"

Creating working directory done (/tmp/tmp7wkqJN)
Preparing logfile done (/var/log/univention/ucc-image-toolkit.log)
Creating debootstrap image done
Installing base system (this may take a while)
ERROR: The command “/usr/sbin/debootstrap --arch=i386 trusty /tmp/tmp7wkqJN/bootstrap ucc2.software-univention.de/” failed with the error code 1


  • Folken

Your first issue is created as an enhancement at our bugzilla: [bug]38783[/bug]
The second issue [bug]38802[/bug] is planned to be fixed in the next UCC version (2.1) and will most likely be backported for UCC 2.0. There is an easy workaround available - you would need to add a symlink:

ln -s /usr/share/debootstrap/scripts/gutsy

Kind regards,
Jens Thorp-Hansen

Thank you. I was now able to generate an image.