The old saying, if it moves and shouldn't, duct tape it. If it doesn't move and should, WD40.
Duct tape was problematical because it would dry out and flake apart, but this Gorilla Tape is awesome stuff!
Gorilla tape, YES. Great stuff. I just eat the extra cost and buy it. "If it works it works". There are now too many knock-off / "brand-X" duct tape versions.
My duct tape holster is now over 15 years old and a bit frayed, yet is intact functionality-wise. Note that I also used staples, over which I duct taped. Such puppies are imminently repairable.
I love WD40 and use it often. HOWEVER, I don't use it on my weaponry. Penetrating oils do their job ... they do their job TOO well. Penetrating oils can penetrate into cartridges that are not lacquered. My surplus military ammo has lacquered primers and bullets; nevertheless, I just do NOT take chances. I don't gamble.
There's that old story (true or not?) about the police officer re-qualifying at the range and the ammo in his revolver would not fire. This due to perpetual use of penetrating oils when cleaning his service weapon. It's not up for debate that some penetrating oils REALLY do their job and inactivate primers.
Too, over-oiling a weapon results in the oil turning into some yucky sort of sticky goo. Don't over-oil. In freezing conditions, oil turns into syrup and sticks. During terrible cold weather, use silicone lubricants whose solvent instantly evaporates leaving only the silicone.
Oh, and as is well-known, copper cleaning firearm solvents destroy nickel plating. Firearms are first copper-plated before being nickel plated. The solvent gets in between the nickel and the steel and eats-out that copper -- poof, the nickel starts to flake off.
----------------------------------------------------------------------------