xrdp log created with wrong permissions
This bug report will be marked for expiration in 33 days if no further activity occurs. (find out why)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xrdp (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
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/
But if logs 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/
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*
* start: sudo systemctl start xrdp
* test fail: xrdp localhost
Logs attached.
tested wich package: xrdp/focal 0.9.12-1 amd64
description: | updated |
affects: | xubuntu-meta (Ubuntu) → xrdp (Ubuntu) |
description: | updated |
description: | updated |
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1937024
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https:/ /wiki.ubuntu. com/ReportingBu gs.