[Bug 918947] [NEW] rsyslog $WorkDirectory should be explicitly set

Jamie Strandboge jamie at ubuntu.com
Thu Jan 19 22:14:08 UTC 2012


Public bug reported:

In testing the imfile functionality, I learned that when $WorkDirectory
is not explicitly set, it defaults to '/'. This means that state files
(and presumably other files) are written directly in /. This violates
the FHS and is generally weird.

Upstream documentation uses /var/spool/rsyslog, which seems like a sane
default. Patch to achieve this is forthcoming.

** Affects: rsyslog (Ubuntu)
     Importance: Medium
     Assignee: Jamie Strandboge (jdstrand)
         Status: Triaged

** Affects: rsyslog (Ubuntu Precise)
     Importance: Medium
     Assignee: Jamie Strandboge (jdstrand)
         Status: Triaged

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

** Changed in: rsyslog (Ubuntu)
       Status: New => Triaged

** Changed in: rsyslog (Ubuntu)
    Milestone: None => ubuntu-12.04-beta-1

** Changed in: rsyslog (Ubuntu)
     Assignee: (unassigned) => Jamie Strandboge (jdstrand)

** Also affects: rsyslog (Ubuntu Precise)
   Importance: Medium
     Assignee: Jamie Strandboge (jdstrand)
       Status: Triaged

-- 
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/918947

Title:
  rsyslog $WorkDirectory should be explicitly set

Status in “rsyslog” package in Ubuntu:
  Triaged
Status in “rsyslog” source package in Precise:
  Triaged

Bug description:
  In testing the imfile functionality, I learned that when
  $WorkDirectory is not explicitly set, it defaults to '/'. This means
  that state files (and presumably other files) are written directly in
  /. This violates the FHS and is generally weird.

  Upstream documentation uses /var/spool/rsyslog, which seems like a
  sane default. Patch to achieve this is forthcoming.

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




More information about the foundations-bugs mailing list