[Mageia-sysadm] Needs locking iurt chroot tarballs

Thierry Vignaud thierry.vignaud at gmail.com
Tue Feb 28 09:02:55 CET 2012


Yesterday evening, iurt chroot was rebuild due to new rpm.
However some packages failed to build:

D: [iurt_root_command] Running iurt_root_command --untar
D: [iurt_root_command] Uncompress tarball
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
I: [iurt_root_command] ERROR: Uncompress tarball

There're 2 bugs:
1) build continues despite the tar failure
2) we should:
- either lock the chroot tarball when rebuilding it and when unpackagint it
  in order to prevent that to happen again
- ensure chroot tarball is updated atomically (temp tarball + single mv)


More information about the Mageia-sysadm mailing list