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

Launchpad Bug Tracker 1167281 at bugs.launchpad.net
Tue May 24 08:13:04 UTC 2016

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: base-files (Ubuntu)
       Status: New => Confirmed

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 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