Skip to content

Commit

Permalink
Add 00rsyslog.conf to systemd packages
Browse files Browse the repository at this point in the history
Override systemd's default tmpfiles.d/var.conf to make
/var/log writable by the syslog group,
so that rsyslog can run as user.
Fixes rsyslog#61.
  • Loading branch information
wjordan committed Jan 8, 2020
1 parent b1fe18b commit 3123189
Show file tree
Hide file tree
Showing 32 changed files with 208 additions and 0 deletions.
12 changes: 12 additions & 0 deletions rsyslog/artful/master/debian/00rsyslog.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
# the syslog group, so that rsyslog can run as user.
# See tmpfiles.d(5) for details.

# Type Path Mode UID GID Age Argument
z /var/log 0775 root syslog -
z /var/log/auth.log 0640 syslog adm -
z /var/log/mail.err 0640 syslog adm -
z /var/log/mail.log 0640 syslog adm -
z /var/log/kern.log 0640 syslog adm -
z /var/log/syslog 0640 syslog adm -
d /var/spool/rsyslog 0700 syslog adm -
1 change: 1 addition & 0 deletions rsyslog/artful/master/debian/rsyslog.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
debian/rsyslog.conf /etc/
debian/00rsyslog.conf usr/lib/tmpfiles.d/
debian/50-default.conf /usr/share/rsyslog
debian/tmp/usr/sbin/
debian/tmp/usr/share/man/
Expand Down
12 changes: 12 additions & 0 deletions rsyslog/artful/v8-stable/debian/00rsyslog.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
# the syslog group, so that rsyslog can run as user.
# See tmpfiles.d(5) for details.

# Type Path Mode UID GID Age Argument
z /var/log 0775 root syslog -
z /var/log/auth.log 0640 syslog adm -
z /var/log/mail.err 0640 syslog adm -
z /var/log/mail.log 0640 syslog adm -
z /var/log/kern.log 0640 syslog adm -
z /var/log/syslog 0640 syslog adm -
d /var/spool/rsyslog 0700 syslog adm -
1 change: 1 addition & 0 deletions rsyslog/artful/v8-stable/debian/rsyslog.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
debian/rsyslog.conf /etc/
debian/00rsyslog.conf usr/lib/tmpfiles.d/
debian/50-default.conf /usr/share/rsyslog
debian/tmp/usr/sbin/
debian/tmp/usr/share/man/
Expand Down
12 changes: 12 additions & 0 deletions rsyslog/bionic/master/debian/00rsyslog.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
# the syslog group, so that rsyslog can run as user.
# See tmpfiles.d(5) for details.

# Type Path Mode UID GID Age Argument
z /var/log 0775 root syslog -
z /var/log/auth.log 0640 syslog adm -
z /var/log/mail.err 0640 syslog adm -
z /var/log/mail.log 0640 syslog adm -
z /var/log/kern.log 0640 syslog adm -
z /var/log/syslog 0640 syslog adm -
d /var/spool/rsyslog 0700 syslog adm -
1 change: 1 addition & 0 deletions rsyslog/bionic/master/debian/rsyslog.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
debian/rsyslog.conf /etc/
debian/00rsyslog.conf usr/lib/tmpfiles.d/
debian/50-default.conf /usr/share/rsyslog
debian/tmp/usr/sbin/
debian/tmp/usr/share/man/
Expand Down
12 changes: 12 additions & 0 deletions rsyslog/bionic/v8-stable/debian/00rsyslog.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
# the syslog group, so that rsyslog can run as user.
# See tmpfiles.d(5) for details.

# Type Path Mode UID GID Age Argument
z /var/log 0775 root syslog -
z /var/log/auth.log 0640 syslog adm -
z /var/log/mail.err 0640 syslog adm -
z /var/log/mail.log 0640 syslog adm -
z /var/log/kern.log 0640 syslog adm -
z /var/log/syslog 0640 syslog adm -
d /var/spool/rsyslog 0700 syslog adm -
1 change: 1 addition & 0 deletions rsyslog/bionic/v8-stable/debian/rsyslog.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
debian/rsyslog.conf /etc/
debian/00rsyslog.conf usr/lib/tmpfiles.d/
debian/50-default.conf /usr/share/rsyslog
debian/tmp/usr/sbin/
debian/tmp/usr/share/man/
Expand Down
12 changes: 12 additions & 0 deletions rsyslog/cosmic/master/debian/00rsyslog.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
# the syslog group, so that rsyslog can run as user.
# See tmpfiles.d(5) for details.

# Type Path Mode UID GID Age Argument
z /var/log 0775 root syslog -
z /var/log/auth.log 0640 syslog adm -
z /var/log/mail.err 0640 syslog adm -
z /var/log/mail.log 0640 syslog adm -
z /var/log/kern.log 0640 syslog adm -
z /var/log/syslog 0640 syslog adm -
d /var/spool/rsyslog 0700 syslog adm -
1 change: 1 addition & 0 deletions rsyslog/cosmic/master/debian/rsyslog.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
debian/rsyslog.conf /etc/
debian/00rsyslog.conf usr/lib/tmpfiles.d/
debian/50-default.conf /usr/share/rsyslog
debian/tmp/usr/sbin/
debian/tmp/usr/share/man/
Expand Down
12 changes: 12 additions & 0 deletions rsyslog/cosmic/v8-stable/debian/00rsyslog.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
# the syslog group, so that rsyslog can run as user.
# See tmpfiles.d(5) for details.

# Type Path Mode UID GID Age Argument
z /var/log 0775 root syslog -
z /var/log/auth.log 0640 syslog adm -
z /var/log/mail.err 0640 syslog adm -
z /var/log/mail.log 0640 syslog adm -
z /var/log/kern.log 0640 syslog adm -
z /var/log/syslog 0640 syslog adm -
d /var/spool/rsyslog 0700 syslog adm -
1 change: 1 addition & 0 deletions rsyslog/cosmic/v8-stable/debian/rsyslog.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
debian/rsyslog.conf /etc/
debian/00rsyslog.conf usr/lib/tmpfiles.d/
debian/50-default.conf /usr/share/rsyslog
debian/tmp/usr/sbin/
debian/tmp/usr/share/man/
Expand Down
12 changes: 12 additions & 0 deletions rsyslog/disco/master/debian/00rsyslog.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
# the syslog group, so that rsyslog can run as user.
# See tmpfiles.d(5) for details.

# Type Path Mode UID GID Age Argument
z /var/log 0775 root syslog -
z /var/log/auth.log 0640 syslog adm -
z /var/log/mail.err 0640 syslog adm -
z /var/log/mail.log 0640 syslog adm -
z /var/log/kern.log 0640 syslog adm -
z /var/log/syslog 0640 syslog adm -
d /var/spool/rsyslog 0700 syslog adm -
1 change: 1 addition & 0 deletions rsyslog/disco/master/debian/rsyslog.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
debian/rsyslog.conf /etc/
debian/00rsyslog.conf usr/lib/tmpfiles.d/
debian/50-default.conf /usr/share/rsyslog
debian/tmp/usr/sbin/
debian/tmp/usr/share/man/
Expand Down
12 changes: 12 additions & 0 deletions rsyslog/disco/v8-stable/debian/00rsyslog.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
# the syslog group, so that rsyslog can run as user.
# See tmpfiles.d(5) for details.

# Type Path Mode UID GID Age Argument
z /var/log 0775 root syslog -
z /var/log/auth.log 0640 syslog adm -
z /var/log/mail.err 0640 syslog adm -
z /var/log/mail.log 0640 syslog adm -
z /var/log/kern.log 0640 syslog adm -
z /var/log/syslog 0640 syslog adm -
d /var/spool/rsyslog 0700 syslog adm -
1 change: 1 addition & 0 deletions rsyslog/disco/v8-stable/debian/rsyslog.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
debian/rsyslog.conf /etc/
debian/00rsyslog.conf usr/lib/tmpfiles.d/
debian/50-default.conf /usr/share/rsyslog
debian/tmp/usr/sbin/
debian/tmp/usr/share/man/
Expand Down
12 changes: 12 additions & 0 deletions rsyslog/eoan/master/debian/00rsyslog.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
# the syslog group, so that rsyslog can run as user.
# See tmpfiles.d(5) for details.

# Type Path Mode UID GID Age Argument
z /var/log 0775 root syslog -
z /var/log/auth.log 0640 syslog adm -
z /var/log/mail.err 0640 syslog adm -
z /var/log/mail.log 0640 syslog adm -
z /var/log/kern.log 0640 syslog adm -
z /var/log/syslog 0640 syslog adm -
d /var/spool/rsyslog 0700 syslog adm -
1 change: 1 addition & 0 deletions rsyslog/eoan/master/debian/rsyslog.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
debian/rsyslog.conf /etc/
debian/00rsyslog.conf usr/lib/tmpfiles.d/
debian/50-default.conf /usr/share/rsyslog
debian/tmp/usr/sbin/
debian/tmp/usr/share/man/
Expand Down
12 changes: 12 additions & 0 deletions rsyslog/eoan/v8-stable/debian/00rsyslog.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
# the syslog group, so that rsyslog can run as user.
# See tmpfiles.d(5) for details.

# Type Path Mode UID GID Age Argument
z /var/log 0775 root syslog -
z /var/log/auth.log 0640 syslog adm -
z /var/log/mail.err 0640 syslog adm -
z /var/log/mail.log 0640 syslog adm -
z /var/log/kern.log 0640 syslog adm -
z /var/log/syslog 0640 syslog adm -
d /var/spool/rsyslog 0700 syslog adm -
1 change: 1 addition & 0 deletions rsyslog/eoan/v8-stable/debian/rsyslog.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
debian/rsyslog.conf /etc/
debian/00rsyslog.conf usr/lib/tmpfiles.d/
debian/50-default.conf /usr/share/rsyslog
debian/tmp/usr/sbin/
debian/tmp/usr/share/man/
Expand Down
12 changes: 12 additions & 0 deletions rsyslog/xenial/master/debian/00rsyslog.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
# the syslog group, so that rsyslog can run as user.
# See tmpfiles.d(5) for details.

# Type Path Mode UID GID Age Argument
z /var/log 0775 root syslog -
z /var/log/auth.log 0640 syslog adm -
z /var/log/mail.err 0640 syslog adm -
z /var/log/mail.log 0640 syslog adm -
z /var/log/kern.log 0640 syslog adm -
z /var/log/syslog 0640 syslog adm -
d /var/spool/rsyslog 0700 syslog adm -
1 change: 1 addition & 0 deletions rsyslog/xenial/master/debian/rsyslog.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
debian/rsyslog.conf /etc/
debian/00rsyslog.conf usr/lib/tmpfiles.d/
debian/50-default.conf /usr/share/rsyslog
debian/tmp/usr/sbin/
debian/tmp/usr/share/man/
Expand Down
12 changes: 12 additions & 0 deletions rsyslog/xenial/v8-stable/debian/00rsyslog.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
# the syslog group, so that rsyslog can run as user.
# See tmpfiles.d(5) for details.

# Type Path Mode UID GID Age Argument
z /var/log 0775 root syslog -
z /var/log/auth.log 0640 syslog adm -
z /var/log/mail.err 0640 syslog adm -
z /var/log/mail.log 0640 syslog adm -
z /var/log/kern.log 0640 syslog adm -
z /var/log/syslog 0640 syslog adm -
d /var/spool/rsyslog 0700 syslog adm -
1 change: 1 addition & 0 deletions rsyslog/xenial/v8-stable/debian/rsyslog.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
debian/rsyslog.conf /etc/
debian/00rsyslog.conf usr/lib/tmpfiles.d/
debian/50-default.conf /usr/share/rsyslog
debian/tmp/usr/sbin/
debian/tmp/usr/share/man/
Expand Down
12 changes: 12 additions & 0 deletions rsyslog/yakkety/master/debian/00rsyslog.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
# the syslog group, so that rsyslog can run as user.
# See tmpfiles.d(5) for details.

# Type Path Mode UID GID Age Argument
z /var/log 0775 root syslog -
z /var/log/auth.log 0640 syslog adm -
z /var/log/mail.err 0640 syslog adm -
z /var/log/mail.log 0640 syslog adm -
z /var/log/kern.log 0640 syslog adm -
z /var/log/syslog 0640 syslog adm -
d /var/spool/rsyslog 0700 syslog adm -
1 change: 1 addition & 0 deletions rsyslog/yakkety/master/debian/rsyslog.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
debian/rsyslog.conf /etc/
debian/00rsyslog.conf usr/lib/tmpfiles.d/
debian/50-default.conf /usr/share/rsyslog
debian/tmp/usr/sbin/
debian/tmp/usr/share/man/
Expand Down
12 changes: 12 additions & 0 deletions rsyslog/yakkety/v8-stable/debian/00rsyslog.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
# the syslog group, so that rsyslog can run as user.
# See tmpfiles.d(5) for details.

# Type Path Mode UID GID Age Argument
z /var/log 0775 root syslog -
z /var/log/auth.log 0640 syslog adm -
z /var/log/mail.err 0640 syslog adm -
z /var/log/mail.log 0640 syslog adm -
z /var/log/kern.log 0640 syslog adm -
z /var/log/syslog 0640 syslog adm -
d /var/spool/rsyslog 0700 syslog adm -
1 change: 1 addition & 0 deletions rsyslog/yakkety/v8-stable/debian/rsyslog.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
debian/rsyslog.conf /etc/
debian/00rsyslog.conf usr/lib/tmpfiles.d/
debian/50-default.conf /usr/share/rsyslog
debian/tmp/usr/sbin/
debian/tmp/usr/share/man/
Expand Down
12 changes: 12 additions & 0 deletions rsyslog/zesty/master/debian/00rsyslog.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
# the syslog group, so that rsyslog can run as user.
# See tmpfiles.d(5) for details.

# Type Path Mode UID GID Age Argument
z /var/log 0775 root syslog -
z /var/log/auth.log 0640 syslog adm -
z /var/log/mail.err 0640 syslog adm -
z /var/log/mail.log 0640 syslog adm -
z /var/log/kern.log 0640 syslog adm -
z /var/log/syslog 0640 syslog adm -
d /var/spool/rsyslog 0700 syslog adm -
1 change: 1 addition & 0 deletions rsyslog/zesty/master/debian/rsyslog.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
debian/rsyslog.conf /etc/
debian/00rsyslog.conf usr/lib/tmpfiles.d/
debian/50-default.conf /usr/share/rsyslog
debian/tmp/usr/sbin/
debian/tmp/usr/share/man/
Expand Down
12 changes: 12 additions & 0 deletions rsyslog/zesty/v8-stable/debian/00rsyslog.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
# the syslog group, so that rsyslog can run as user.
# See tmpfiles.d(5) for details.

# Type Path Mode UID GID Age Argument
z /var/log 0775 root syslog -
z /var/log/auth.log 0640 syslog adm -
z /var/log/mail.err 0640 syslog adm -
z /var/log/mail.log 0640 syslog adm -
z /var/log/kern.log 0640 syslog adm -
z /var/log/syslog 0640 syslog adm -
d /var/spool/rsyslog 0700 syslog adm -
1 change: 1 addition & 0 deletions rsyslog/zesty/v8-stable/debian/rsyslog.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
debian/rsyslog.conf /etc/
debian/00rsyslog.conf usr/lib/tmpfiles.d/
debian/50-default.conf /usr/share/rsyslog
debian/tmp/usr/sbin/
debian/tmp/usr/share/man/
Expand Down

0 comments on commit 3123189

Please sign in to comment.