A One-Dimensional Probabilistic Packing Problem