forked from rsyslog/rsyslog-pkg-ubuntu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 00rsyslog.conf to systemd packages
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
Showing
32 changed files
with
208 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters