[Bug 1167281] Re: "stdin: is not a tty" due to "mesg n" instead of "tty -s && mesg n" in .profile

Alberto Salvia Novella es20490446e at gmail.com
Thu May 26 21:10:48 UTC 2016

** Changed in: base-files (Ubuntu)
   Importance: Undecided => Medium

** Also affects: hundredpapercuts
   Importance: Undecided
       Status: New

** Changed in: hundredpapercuts
       Status: New => Confirmed

** Changed in: hundredpapercuts
   Importance: Undecided => Medium

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to base-files in Ubuntu.

  "stdin: is not a tty" due to "mesg n" instead of "tty -s && mesg n" in

Status in One Hundred Papercuts:
Status in base-files package in Ubuntu:
Status in xen-3.1 package in Ubuntu:

Bug description:
  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

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list