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

Bug #1167281 reported by Andre Klapper
56
This bug affects 12 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Confirmed
Medium
Unassigned
base-files (Ubuntu)
Confirmed
Medium
Unassigned
xen-3.1 (Ubuntu)
Invalid
Undecided
Unassigned

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

Tags: wily xenial
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in xen-3.1 (Ubuntu):
status: New → Confirmed
Richard Hansen (rhansen)
tags: added: wily
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

xen-3.1 is not an Ubuntu package.

Changed in xen-3.1 (Ubuntu):
status: Confirmed → Invalid
Richard Hansen (rhansen)
tags: added: xenial
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in base-files (Ubuntu):
status: New → Confirmed
Changed in base-files (Ubuntu):
importance: Undecided → Medium
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.