[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.
https://bugs.launchpad.net/bugs/1167281

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

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

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:
https://bugs.launchpad.net/hundredpapercuts/+bug/1167281/+subscriptions



More information about the foundations-bugs mailing list