** 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 are removed (backup, logrotate, etc.), when restart, xrdp
- creates logs with wrong permissions:
+ 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
- * removelogs: sudo rm -f /var/log/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.

** Package changed: xubuntu-meta (Ubuntu) => xrdp (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to xrdp in 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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to