We study some distribution properties of a random sum of i.i.d. non-negative random variables, where the number of terms is geometrically distributed and not independent of the summands. The results are applied to the system failure time of a one-unit system with a single spare and repair facility. In such a system when the operating unit fails it is immediately replaced by the spare and sent to the repair facility. The system continues operating until the first time when the failed unit has not yet been repaired by the failure of the operating unit. Certain ageing properties such as NBU, NWU, NBUE, NWUE, HNBUE, HNWUE, L+ and L– are shown to be inheritable from the working time of the operating unit to the system lifetime.