Sewage ejector pump without a vent
I just bought my house a few months ago. On the inspection report it said "Sewerage ejector pump is not sealed. This condition will allow toxic plumbing gasses to enter the home." We put a seal over the hole, but still have a sewage smell coming from that room in the basement. We also need to put on a backflow valve to the pump.
It looks like instead of caulking that hole shut, it should have a pipe going to the roof to vent it out. Is the lack of a pipe something the inspector should have told us about? Without the vent is it even legal? Could a backflow valve be the reason we have that smell or is it definitely the lack of the vent?