Bug 2279775 - xrdp socketdir not cleaned up on package removal
Summary: xrdp socketdir not cleaned up on package removal
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xrdp
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Bojan Smojver
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-08 16:55 UTC by Philip Rowlands
Modified: 2026-02-08 01:09 UTC (History)
3 users (show)

Fixed In Version: xrdp-0.10.5-1.el8 xrdp-0.10.5-1.el9 xrdp-0.10.5-1.fc42 xrdp-0.10.5-1.fc43
Clone Of:
Environment:
Last Closed: 2026-02-08 00:23:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Philip Rowlands 2024-05-08 16:55:37 UTC
/run/xrdp should be removed on package uninstall.

Why is this a problem?

Newer beta versions of xrdp 0.10 manage /run/xrdp in a slightly different way which doesn't depend on tmp-link permissions. On downgrade, however, the lingering directory is unusable in the "old-style" layout, which requires non-privileged users writing directly into /run/xrdp.

(By "downgrade" here I technically mean uninstall/reinstall.)

Suggested fix is to include a %files %ghost entry for this directory, or equivalent, to ensure removal on uninstall.

Reproducible: Always

Steps to Reproduce:
- Install xrdp
- Start xrdp.service
- Stop xrdp.service (optional, covered by RPM scriptlet)
- Uninstall xrdp
Actual Results:  
/run/xrdp is left behind as an empty directory.

Expected Results:  
/run/xrdp should be removed with the package.

Comment 1 Bojan Smojver 2024-05-10 02:22:36 UTC
I see there is a discussion about this upstream and we should like continue it there. We are not shipping the new version yet, so nobody using Fedora or EPEL packages should bump into this, unless they are testing.

Comment 2 Aoife Moloney 2025-02-26 13:02:25 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 3 Fedora Update System 2026-01-28 08:20:12 UTC
FEDORA-2026-febea89ac3 (xrdp-0.10.5-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-febea89ac3

Comment 4 Fedora Update System 2026-01-28 08:20:26 UTC
FEDORA-2026-b409dad73e (xrdp-0.10.5-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-b409dad73e

Comment 5 Fedora Update System 2026-01-28 08:20:40 UTC
FEDORA-EPEL-2026-d12ea63356 (xrdp-0.10.5-1.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-d12ea63356

Comment 6 Fedora Update System 2026-01-29 00:23:21 UTC
FEDORA-EPEL-2026-d12ea63356 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-d12ea63356

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-01-29 01:02:05 UTC
FEDORA-EPEL-2026-5c626357f7 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-5c626357f7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-01-29 01:44:23 UTC
FEDORA-2026-febea89ac3 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-febea89ac3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-febea89ac3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2026-01-29 01:51:33 UTC
FEDORA-2026-b409dad73e has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-b409dad73e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-b409dad73e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2026-01-31 16:53:27 UTC
FEDORA-2026-febea89ac3 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-febea89ac3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-febea89ac3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2026-01-31 17:23:25 UTC
FEDORA-EPEL-2026-5c626357f7 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-5c626357f7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2026-01-31 17:30:23 UTC
FEDORA-EPEL-2026-d12ea63356 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-d12ea63356

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2026-01-31 18:29:05 UTC
FEDORA-2026-b409dad73e has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-b409dad73e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-b409dad73e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2026-02-08 00:23:01 UTC
FEDORA-EPEL-2026-5c626357f7 (xorgxrdp-0.10.5-1.el8 and xrdp-0.10.5-1.el8) has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2026-02-08 00:36:04 UTC
FEDORA-EPEL-2026-d12ea63356 (xorgxrdp-0.10.5-1.el9 and xrdp-0.10.5-1.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2026-02-08 00:51:56 UTC
FEDORA-2026-b409dad73e (xorgxrdp-0.10.5-1.fc42 and xrdp-0.10.5-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2026-02-08 01:09:11 UTC
FEDORA-2026-febea89ac3 (xorgxrdp-0.10.5-1.fc43 and xrdp-0.10.5-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.