Upstreaming from https://bugzilla.wikimedia.org/show_bug.cgi?id=46913 :
This used to happen at the start of every Puppet run, because of the line "mesg n" in /root/.profile. The shell provisioner is actually invoked to fix the problem by changing it to "tty -s && mesg n". This fixes the problem for every subsequent run. Still, I'd like to prevent it from appearing even once.
Ubuntu could fix this by adding a check to .profile.
Also see https://bugs.launchpad.net/ubuntu/+source/xen-3.1/+bug/201884
msg n
With:
tty -s && mesg nIn file /root/.profile.