-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Support logrotate for xrdp and xrdp-sesman #3278
Comments
I can see where you're coming from, but this isn't at all simple. Both on the main log files are written by multiple processes. It's not just a question of closing a file and opening it - we'd need to synchronise access to the file from multiple processes, and we don't have all the plumbing in place to do that. The workaround is to use I'll mark this as a feature request for now. |
xrdp version
0.9.23.1
Detailed xrdp version, build options
Operating system & version
Alt Linux
Installation method
dnf / apt / zypper / pkg / etc
Which backend do you use?
Xorg
What desktop environment do you use?
MATE
Environment xrdp running on
No response
What's your client?
No response
Area(s) with issue?
No response
Steps to reproduce
Open session. Wait for logrotate to rotate xrdp-sesman.log
✔️ Expected Behavior
New file and logs in it. Closed old file descriptor
❌ Actual Behavior
Whether the new file exists or not depends on the logrotate settings. The file descriptor for the old file exists, but the file no longer exists. Logs are not written to the new file.
Anything else?
No response
The text was updated successfully, but these errors were encountered: