Let $X$ be a normal surface. Is any rational singularity $\mathbf{Q}$-factorial? I've seen this somewhere for surfaces over fields, but what about the general case of an integral 2-dimensional excellent normal scheme?

In this generality it might not hold so what if we assume that $X$ is fibered ( = flat projective) over a Dedekind scheme? When can we hope for such a result to hold. Probably there are some problems depending on the characteristic.

What about the converse?

I know that every surface fibered over $\mathrm{Spec} \mathbf{Z}$ is $\mathbf{Q}$-factorial. Are all its singularities rational?

I know that one has to be careful with the base scheme. Probably if the base scheme is a smooth projective curve over a field things might not work so well, but maybe if the base is $\mathrm{Spec} \mathbf{Z}$ things might become better.