Bug#930654: base-files: mesg: ttyname failed: No such device

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#930654: base-files: mesg: ttyname failed: No such device

Balint Reczey-4
Package: base-files
Version: 10.2
Severity: normal
Tags: patch

Dear Maintainer,

Every time I log in to a Debian LXC container I get this greeting :-):

$ lxc shell sid
mesg: ttyname failed: No such device
root@sid:~#

Please consider applying the following patch or something similar to
suppress the useless error.
------------------------------
--- ./share/dot.profile
+++ ./share/dot.profile
@@ -6,4 +6,4 @@
   fi
 fi

-mesg n || true
+mesg n 2> /dev/null || true
------------------------------

Thanks,
Balint

PS:  This was a discussion already in #794727 .



--
Balint Reczey
Ubuntu & Debian Developer