Bug 7576 - "mesg: ttyname failed" shown in systemctl status on Ubuntu systems
Summary: "mesg: ttyname failed" shown in systemctl status on Ubuntu systems
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-23 16:15 CEST by Pierre Ossman
Modified: 2020-10-27 12:41 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2020-10-23 16:15:33 CEST
Starting our services on Ubuntu systems (and Debian?) gives the following log line:

> Oct 19 00:06:20 ubuntu1804 bash[2008]: mesg: ttyname failed: Inappropriate ioctl for device

This is caused by us starting our services through a login shell (for locale, see bug 5102) and Ubuntu has this in ~root/.profile:

> mesg n || true

(Note that this is only seen in "systemctl status" as it happens before we set up our own logging)
Comment 1 Pierre Ossman cendio 2020-10-23 16:15:51 CEST
Tested on Ubuntu 18.04.

Note You need to log in before you can comment on or make changes to this bug.