Linear regression is extra-special because it's a special case of several different frameworks and model classes.
I should have written that it's better (in my opinion) to think of logistic regression in the context of GLMs, at least while you're learning.
Edit: yes logistic regression is a special case of regression with a different loss function. But it's not nearly "as special" as linear regression.
Joke aside, the truth is that logistic regression can be understood based on several assumptions.
Above we have the latent variable explanation. Then there is a Bayesian version. There's even a "random utlity" formulation, where one models explicitly choices of an agent with a probabilistic error. That one is good to explain hierarchical logit models and many of the "issues" with logit such as IAA.
GLM on the other hand I don't feel like it adds much except parameterizing the procedure, which ain't even a good thing. Nowadays we appreciate the semi parametric nature of regression a lot, which is why GLM has declined in use.
The point about the probability distribution is reasonable, but I am not sure if it is taken seriously by everyone applying GLM either. And again, if it is not necessary to assume such a distribution, then I would prefer a semi parametric approach, such as in linear regression.
In that framework, they are literally the same model with different "settings" - Gaussian vs Bernoulli distribution.