On Mon, Apr 03, 2017 at 01:32:33AM +0200, Santiago Vila wrote: > I see that doing as you suggest makes motd to have the usual uname > line that was lost some time ago, but I don't see why exactly you call > this a "jessie -> stretch" regression. Was it not already broken in > jessie? > > (I don't see any uname line in any jessie machine here, at least not > in any which was installed from scratch).
jessie's /etc/pam.d/login has: session optional pam_exec.so type=open_session stdout /bin/uname -snrvm session optional pam_motd.so …which would show uname in a login session. But you're right (and I was confused myself) that it didn't show up on SSH sessions, so it's not that much of a regression after all. > In either case, I will try to have this fixed for stretch, at > least for newly installed systems, as the fix is certainly trivial. Thank you so much! Best, Faidon