Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 00rsyslog.conf to systemd packages #93

Closed
wants to merge 1 commit into from

Conversation

wjordan
Copy link

@wjordan wjordan commented Jan 8, 2020

Override systemd's default tmpfiles.d/var.conf to make /var/log writable by the syslog group, so that rsyslog can run as user.
The config file was copied from the upstream Ubuntu package, and added to the Ubuntu distro versions that default to systemd (xenial onwards).

Fixes #61.

I haven't tested/verified this works at all, I'll leave that to a maintainer more familiar with the process for this project. Hoping this PR will help move along a fix for this issue!

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.
@@ -1,4 +1,5 @@
debian/rsyslog.conf /etc/
debian/00rsyslog.conf usr/lib/tmpfiles.d/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wjordan Is there supposed to be a leading slash for the usr/lib/tmpfiles.d/ path?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The upstream source does not have a leading slash- whether there is supposed to be I will leave up to the maintainers of this package, but it doesn't appear to be an error not to provide one.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wjordan I stand corrected! My apologies for the noise in this GH issue.

@atc0005
Copy link
Contributor

atc0005 commented Jun 7, 2020

@wjordan Looks like all copies of rsyslog.install may need the usr/lib/tmpfiles.d/ path adjusted as noted in prior comments.


EDIT: Ignore this comment (see earlier notes)

@rgerhards rgerhards closed this Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ubuntu PPA package does not provide override for default 0755 /var/log permissions applied by systemd
3 participants