If your landlord or friend has spent time in prison

What impact could it have on your security clearance chances if you have lived for more than a year with a person who had spent time in prison 10+ years prior to you knowing them but had no indications of any criminal behavior since you have known them ?

What if you rented out a room from such a person and lived in their house ?

I can see the people doing background checks will ask this person questions about me since I’ve known him for 3 years and lived with him 2+ years as a Renter.