I've seen a few people report this, so I'm going to have another look at the code. I can't replicate it! You should just go speak to him and it triggers..
When I try to talk to the janitor to solve the locker mystery, the janitor just gives me the programmed responses for whatever room he's in. I never get to talk to him about the mystery, even though I have dirt on him.