"stdin: is not a tty" due to "mesg n" instead of "tty -s && mesg n" in .profile
Bug #1167281 reported by
Andre Klapper
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:/
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:/
tags: | added: wily |
tags: | added: xenial |
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.
Status changed to 'Confirmed' because the bug affects multiple users.