← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 904099] Re: rsyslog configuration not working

 

After working with sphery and jya on IRC we've solved this.  Current
0.25 master packages on autobuilds (2012-02-17+) should have the fixed
rsyslog configuration.

Note: if you modified the one from packages before that, you might need to manually remove it from /etc/rsyslog.d.
Note2: You may have to restart rsyslogd's upstart job for these to be effective (or reboot).  

** Changed in: mythbuntu
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.
https://bugs.launchpad.net/bugs/904099

Title:
  rsyslog configuration not working

Status in Mythbuntu, Ubuntu derivative focused upon MythTV:
  Fix Released

Bug description:
  I am running the nightly master builds currently at
  2:0.25.0~master.20111213.72d4370-0ubuntu0mythbuntu2

  At some point the logging for the backend in the mythbuntu packages
  was changed to use syslog together with an rsyslogd configuration
  stanza:

  ---- cut ----
  $FileOwner mythtv
  $FileGroup mythtv
  $FileCreateMode 0644
  $DirOwner mythtv
  $DirGroup mythtv
  $DirCreateMode 0755

  $template mythtvFile,"/var/log/mythtv/%programname%.log"

  local7.* ?mythtvFile
  & ~
  ---- cut ----

  This is not working as I think you expect it should be working.
  Specifically, the log files being created by rsyslogd are not
  owner.group mythtv.mythtv:

  -rw-r--r-- 1 syslog syslog 3456 2011-12-14 00:25 mythbackend.log

  Of course, I had to make the containing directory (/var/log/mythtv/)
  permissive to creating files with such ownership.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mythbuntu/+bug/904099/+subscriptions


References