[Bug 1258245] Re: syslog user can't write to /dev/ttyS0

Alberto Salvia Novella es20490446e at gmail.com
Sun Feb 9 16:08:31 UTC 2014


** Changed in: rsyslog (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsyslog in Ubuntu.
https://bugs.launchpad.net/bugs/1258245

Title:
  syslog user can't write to /dev/ttyS0

Status in “rsyslog” package in Ubuntu:
  Confirmed

Bug description:
  We configure a VM via libvirt to have a serial device(/dev/ttyS0) that
  writes to a file on the host. During the desktop install we have some
  early preseed logic that adds an /etc/rsyslog.d config file that
  directs syslog messages to /dev/ttyS0. Under recent images, nothing is
  showing up in the file on the host end. For a quick sanity check I ran
  the following command in the VM:

   echo ANDY > /dev/ttyS0

  This works when done as root, but won't work when run as the syslog
  user. Digging a little more I see rsyslogd runs as syslog (which is in
  the syslog and adm groups) and ttyS0 is writeable to root and dialout.

  This is based on today's image with includes rsyslog 7.4.4-1ubuntu2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/1258245/+subscriptions



More information about the foundations-bugs mailing list