** Description changed: 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. + Granted, it appears that at least with imfile, the file is created then + unlinked while keeping the fd open, I am not sure of the other uses of + WorkDirectory. At a minimum, setting WorkDirectory allows us to adjust + the AppArmor profile to have a reliable location. + Upstream documentation uses /var/spool/rsyslog, which seems like a sane default. Patch to achieve this is forthcoming.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/918947 Title: rsyslog $WorkDirectory should be explicitly set To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/918947/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs