There is a bug in unionfs, but it only manifested itself because of our accidental use of stage-1 libraries in stage-2.