I posted a thread a couple of days ago regarding the problem of light leaks and dust ingress with M42 adapters when using lenses where the barrel is narrow at the mount (an example being the MIR-1 37mm lens I recently bought). The problem is that when using the official or third party flush M42 adapters with such lenses, the two cut-outs provided to allow easy mounting / dis-mounting of the adapter remain uncovered, allowing light and dust to enter the camera.
I've found a cheap and easy solution to this problem, which I hope others may find helpful:
I bought a rubber o-ring which has an internal diameter of 38mm and thickness of 4mm. At 38mm, it's around 5mm less than the diameter of the lens barrel. When stretched slightly, the o-ring can be rolled onto the back of the lens. After mounting the lens onto the camera, the ring can be pushed or rolled back slightly so that it sits snugly against the camera's lens mount - covering the visible areas of the M42 adapter (and, importantly, those cut-outs!) completely. The o-ring is a neat fit (which is good), so it may be necessary to go for a slightly different diameter depending on the lens, but I believe the 38mm size should stretch to fit most narrow barrel lenses. With my MIR-1, the o-ring does partially cover some of the lens barrel markings, but it's a small price to pay if I can use the lens. Obviously this won't be a weather-sealed solution, and I'd hesitate to use it in very damp or dusty environments, but I'd be quite confident to use it outdoors in reasonable conditions. Note that the electronic contacts and screw drive on the mount will remain uncovered, so you really don't want to rely on this in inclement weather!
You can find these o-rings online (I used eBay, but I'm sure they're a commonly available item).
They say a picture is worth a thousand words, so here are a few to explain what I mean: