>>1695136In Russia to about 2010 passenger trains discharged human waste on tracks at will. About 1 hour range around cities toilets would be closed, but further they are open. You flush toilet it just opens hole and you could see tracks.
Today they run container type toilets, that are emptied during service stops.