You have been subscribed to a public bug:
When xrdp (and their dependencies) are installed and running, the log
permissions are:
root@host01~# ls -l /var/log/xrdp*
-rw-r----- 1 xrdp adm 33138 jul 20 09:45 /var/log/xrdp.log
-rw-r----- 1 root adm 18608 jul 20 09:45 /var/log/xrdp-sesman.log
But if logs and run are removed (backup, logrotate, etc.), when restart,
xrdp creates logs with wrong permissions:
root@host01~# ls -l /var/log/xrdp*
-rw------- 1 root root 587 jul 20 11:46 /var/log/xrdp-sesman.log
And xrdp-sesman crashes. When permissions are set, xrdp runs normally.
Steps to reproduce it:
* install: sudo apt install -y xrdp
* start: sudo systemctl start xrdp
* test ok: sudo xrdp localhost
* stop: sudo systemctl stop xrdp
* remove logs: sudo rm -f /var/log/xrdp*
* remove run: sudo rm -rf /run/xrdp
* start: sudo systemctl start xrdp
* test fail: xrdp localhost
Logs attached.
** Affects: xrdp (Ubuntu)
Importance: Undecided
Status: New
** Tags: xrdp
--
xrdp log created with wrong permissions
https://bugs.launchpad.net/bugs/1937024
You received this bug notification because you are a member of Ubuntu Desktop
Bugs, which is subscribed to xrdp in Ubuntu.
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs