Public bug reported:

Out of the box, the frr package is set to use syslog for logging:
# cat frr.conf 
# default to using syslog. /etc/rsyslog.d/45-frr.conf places the log in
# /var/log/frr/frr.log
...
log syslog informational

The packaging creates /var/log/frr owned by frr:
drwxr-x--- 2 frr frr 3 Jan 17 17:43 /var/log/frr

In Ubuntu, rsyslog runs as the unprivileged syslog user, not root (like
in debian), which means it cannot write to this logging directory:

Jan 17 17:57:25 j-frr-mir rsyslogd: file '/var/log/frr/frr.log': open
error: Permission denied [v8.2112.0 try https://www.rsyslog.com/e/2433 ]

** Affects: frr (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- syslog lgoging does not work
+ syslog logging does not work

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

Title:
  syslog logging does not work

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to