Though some industry representatives claim that using sealant alone is a building code violation, there is a lot of ambiguity surrounding what is required for sealing penetrations. In many jurisdictions, if the roofing manufacturer specifies a method for sealing such penetrations, then the lag screw installation must conform to these specifications. In cases where the manufacturer doesn't specify these details or the roofing manufacturer is unknown, the building code specifies that the penetration must be flashed in a waterproof manner. This often means consulting with the original roofer, researching roofing best practices, and/ or referring to the rack manufacturer's installation instructions.