[Bug 1937024] Re: xrdp log created with wrong permissions

2024-05-03 Thread Jose Mari
Hi,

Please, mark it as solved.


I've tested in 24.04 (desktop) and has been corrected:  xrdp does not start if 
log not correctly configured (permissions).

root@ubuntu:/var/log# ls -l xrdp*
-rw-r- 1 root adm 2322 May  3 10:09 xrdp-sesman.log
-rw-r- 1 xrdp adm 9139 May  3 10:08 xrdp.log

toot@ubuntu:/var/log# systemctl restart xrdp
Job for xrdp.service failed because the control process exited with error code.
See "systemctl status xrdp.service" and "journalctl -xeu xrdp.service" for 
details.

root@ubuntu:/var/log# journalctl -xeu xrdp.service
(...)
░░ The job identifier is 3708.
May 03 10:10:06 ubuntu xrdp[9049]: Could not start log
May 03 10:10:06 ubuntu xrdp[9049]: Could not start log
May 03 10:10:06 ubuntu xrdp[9049]: error opening log file [The log is not 
properly started]. quitting.
May 03 10:10:06 ubuntu systemd[1]: xrdp.service: Control process exited, 
code=exited, status=1/FAILURE
(...)

Thanks!!!

-- 
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

[Bug 1937024] Re: xrdp log created with wrong permissions

2024-05-03 Thread Lenin
can you retest with 24.04?

** Changed in: xrdp (Ubuntu)
   Status: Confirmed => Incomplete

-- 
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

[Bug 1937024] Re: xrdp log created with wrong permissions

2021-07-21 Thread Jose Mari
** 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:
  
  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*
  * start: sudo systemctl start xrdp
  * test fail: xrdp localhost
  
  Logs attached.
+ tested wich package: xrdp/focal 0.9.12-1 amd64

-- 
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

[Bug 1937024] Re: xrdp log created with wrong permissions

2021-07-21 Thread Jose Mari
** 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

[Bug 1937024] Re: xrdp log created with wrong permissions

2021-07-21 Thread Jose Mari
** 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
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

[Bug 1937024] Re: xrdp log created with wrong permissions

2021-07-21 Thread Chris Guiver
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/ReportingBugs.

-- 
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