On page 268 of Prof. John M Lee's book "Introduction to Smooth Manifolds" (second edition), it says if $E$, $M$ and $F$ are smooth manifolds with or without boundary, $\pi:E\to M$ is a smooth map and all the local trivializations $\Phi:\pi^{-1}(U)\to U\times F$ are diffeomorphisms, where $U$ is an open subset of $M$, then $\pi:E\to M$ is called a smooth fiber bundle.
My questions are
is there a problem if some or all of the smooth manifolds $E$, $M$ and $F$ have nonempty boundary? For example, if $E$ has empty boundary but $M$ and $F$ have nonempty boundary, and you happen to take $U$ in above to be an open submanifold with boundary, then $U\times F$ would be a smooth manifold with corner. But $\pi^{-1}(U)\subseteq E$ should not have a boundary?
From this post we know that Ehresmann fibration theorem, which states if "$E$ and $M$ are smooth manifolds without boundary and $f:E\to M$ is a smooth surjective submersion which is proper, then it is a smooth fiber bundle", should work when $E$ and $M$ are smooth manifolds with boundary by adding the extra assumption that the restriction $f|_{\partial M}:\partial M\to\partial N$ is a (proper?) submersion. If it works, am I correct that in this case the fiber is still a smooth manifold without boundary?
I would like to know which case is impossible and what extra assumptions need to be imposed. For example, if all the smooth manifolds $E$, $M$ and $F$ have empty boundary, the definition of a smooth fiber bundle is fine; while if all the smooth manifolds $E$, $M$ and $F$ has nonempty boundary, it does not seem fine to me unless more assumption(s) is added.
Besides Prof. Lee's book and Prof. Liviu I Nicolaescu's book "Lectures on the Geometry of Manifolds" (third edition) (in Definition 3.4.50, for which $E$ is a smooth manifold with boundary and $M$ is a smooth manifold with empty boundary) I have not seen a definition of smooth fiber bundle where some or all of the spaces are smooth manifolds with boundary. Is there a reference (paper, monograph, or even textbooks) which has such a definition.
Thanks in advance.