** Description changed: 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: + 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/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.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1937024 Title: xrdp log created with wrong permissions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xrdp/+bug/1937024/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs