[Bug 1167281] Re: "stdin: is not a tty" due to "mesg n" instead of "tty -s && mesg n" in .profile
Richard Hansen
1167281 at bugs.launchpad.net
Sun Apr 24 23:54:43 UTC 2016
** Also affects: base-files (Ubuntu)
Importance: Undecided
Status: New
** Tags added: xenial
--
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 base-files package in Ubuntu:
New
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/ubuntu/+source/base-files/+bug/1167281/+subscriptions
More information about the foundations-bugs
mailing list