Here's an interesting article about how the US stored the multitude of small arms built and used in WW2 during 1946-1947 or so. No mention of cosmoline.
http://weaponsman.com/?p=13309
http://weaponsman.com/?p=13309