In order for water to flow down a drain, the pipes need ... to create a seal, preventing sewer gas from backing up into your ...
Finish by sealing any exposed nails with roofing ... you could leave the opening exposed, provided the vent pipe rises above the roof by the amount recommended by your local building department.