public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xrdp] epel8: Merge branch 'rawhide' into epel8
@ 2026-07-07  9:51 Bojan Smojver
  0 siblings, 0 replies; 5+ messages in thread
From: Bojan Smojver @ 2026-07-07  9:51 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/xrdp
Branch : epel8
Commit : 71c467e5a618b826dd20a38e7a7a476de3592ba2
Author : Bojan Smojver <bojan@rexursive.com>
Date   : 2026-07-07T19:50:55+10:00
Stats  : +1/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/xrdp/c/71c467e5a618b826dd20a38e7a7a476de3592ba2?branch=epel8

Log:
Merge branch 'rawhide' into epel8

---
diff --git a/.gitignore b/.gitignore
index b137fbd..1719a63 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,3 +39,4 @@ xrdp-cvs-03-17-2010.tar.gz
 /xrdp-0.10.4.tar.gz
 /xrdp-0.10.5.tar.gz
 /xrdp-0.10.6.tar.gz
+/xrdp-0.10.6.1.tar.gz

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [rpms/xrdp] epel8: Merge branch 'rawhide' into epel8
@ 2026-07-17 22:11 Bojan Smojver
  0 siblings, 0 replies; 5+ messages in thread
From: Bojan Smojver @ 2026-07-17 22:11 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/xrdp
Branch : epel8
Commit : df23a28c1c9dcea2418deaf1f2dccffefaa9a1c1
Author : Bojan Smojver <bojan@rexursive.com>
Date   : 2026-07-18T08:11:26+10:00
Stats  : +2/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/xrdp/c/df23a28c1c9dcea2418deaf1f2dccffefaa9a1c1?branch=epel8

Log:
Merge branch 'rawhide' into epel8

---
diff --git a/xrdp.spec b/xrdp.spec
index 025ba4c..e4066cc 100644
--- a/xrdp.spec
+++ b/xrdp.spec
@@ -23,7 +23,7 @@ Summary:   Open source remote desktop protocol (RDP) server
 Name:      xrdp
 Epoch:     1
 Version:   0.10.6.1
-Release:   2%{?dist}
+Release:   3%{?dist}
 # Automatically converted from old format: ASL 2.0 and GPLv2+ and MIT - review is highly recommended.
 License:   Apache-2.0 AND GPL-2.0-or-later AND LicenseRef-Callaway-MIT
 URL:       http://www.xrdp.org/
@@ -350,7 +350,7 @@ fi
 %{_datadir}/selinux/*/%{name}.pp
 
 %changelog
-* Fri Jul 17 2026 Bojan Smojver <bojan@rexursive.com> - 1:0.10.6.1-2
+* Sat Jul 18 2026 Bojan Smojver <bojan@rexursive.com> - 1:0.10.6.1-3
 - Fix bug #2499948
 
 * Tue Jul 07 2026 Bojan Smojver <bojan@rexursive.com> - 1:0.10.6.1-1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [rpms/xrdp] epel8: Merge branch 'rawhide' into epel8
@ 2026-07-17 22:08 Bojan Smojver
  0 siblings, 0 replies; 5+ messages in thread
From: Bojan Smojver @ 2026-07-17 22:08 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/xrdp
Branch : epel8
Commit : ea2dd9fd49b9910898b02a789696a34a23bf1c0c
Author : Bojan Smojver <bojan@rexursive.com>
Date   : 2026-07-18T08:08:11+10:00
Stats  : +2/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/xrdp/c/ea2dd9fd49b9910898b02a789696a34a23bf1c0c?branch=epel8

Log:
Merge branch 'rawhide' into epel8

---
diff --git a/README.md b/README.md
index 0002572..d834e23 100644
--- a/README.md
+++ b/README.md
@@ -92,7 +92,7 @@ Then reboot.
 
 GNOME on X11 is no longer part of Fedora, so GNOME is no longer a supported
 desktop for xrdp sessions on Fedora. If you need RDP access to a GNOME
-desktop, use GNOME's built-in headless GNOME Remote Desktop instead of xrdp —
+desktop, use GNOME's built-in headless GNOME Remote Desktop instead of xrdp -
 it speaks RDP natively, is Wayland-based, and doesn't need any of the
 X11/PAM workarounds this document describes. xrdp remains the right choice
 for XFCE, KDE Plasma, and other X11-based desktops on Fedora.

diff --git a/xrdp-sesman.pamd b/xrdp-sesman.pamd
index 5e791ad..cf8ef8a 100644
--- a/xrdp-sesman.pamd
+++ b/xrdp-sesman.pamd
@@ -1,5 +1,5 @@
 #%PAM-1.0
-# Generic Fedora/RHEL config — use this unless you are running xrdp
+# Generic Fedora/RHEL config - use this unless you are running xrdp
 # sessions into a GNOME desktop, in which case use the Gnome-specific
 # config below instead, which also unlocks GNOME Keyring automatically.
 auth       include      password-auth

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [rpms/xrdp] epel8: Merge branch 'rawhide' into epel8
@ 2026-07-17  8:15 Bojan Smojver
  0 siblings, 0 replies; 5+ messages in thread
From: Bojan Smojver @ 2026-07-17  8:15 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/xrdp
Branch : epel8
Commit : 1e9fad356c8d50b0643210cd1f241fe784945405
Author : Bojan Smojver <bojan@rexursive.com>
Date   : 2026-07-17T18:14:59+10:00
Stats  : +2/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/xrdp/c/1e9fad356c8d50b0643210cd1f241fe784945405?branch=epel8

Log:
Merge branch 'rawhide' into epel8

---
diff --git a/xrdp.spec b/xrdp.spec
index eedc5c2..025ba4c 100644
--- a/xrdp.spec
+++ b/xrdp.spec
@@ -21,9 +21,9 @@
 
 Summary:   Open source remote desktop protocol (RDP) server
 Name:      xrdp
-Epoch:     2
+Epoch:     1
 Version:   0.10.6.1
-Release:   1%{?dist}
+Release:   2%{?dist}
 # Automatically converted from old format: ASL 2.0 and GPLv2+ and MIT - review is highly recommended.
 License:   Apache-2.0 AND GPL-2.0-or-later AND LicenseRef-Callaway-MIT
 URL:       http://www.xrdp.org/

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [rpms/xrdp] epel8: Merge branch 'rawhide' into epel8
@ 2026-07-17  8:09 Bojan Smojver
  0 siblings, 0 replies; 5+ messages in thread
From: Bojan Smojver @ 2026-07-17  8:09 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/xrdp
Branch : epel8
Commit : 4563bac16c9b704145b1feb5722261a1f160d522
Author : Bojan Smojver <bojan@rexursive.com>
Date   : 2026-07-17T18:09:05+10:00
Stats  : +44/-19 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/xrdp/c/4563bac16c9b704145b1feb5722261a1f160d522?branch=epel8

Log:
Merge branch 'rawhide' into epel8

---
diff --git a/README.md b/README.md
index 6d28731..0002572 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,5 @@
 Downgrade from 0.10.x to 0.9.x
 ==
-
 Version 0.10.x requires different permissions of `/run/xrdp` directory than
 version 0.9.x. When 0.10.x is fully uninstalled, this directory is removed
 and subsequent installation of 0.9.x should work fine.
@@ -12,7 +11,6 @@ changed to 1777 beforehand.
 
 Unprivileged xrdp user in 0.10.2 and up
 ==
-
 Recent builds of xrdp (0.10.2 and above) create local unprivileged xrdp user,
 which is used to run xrdp daemon. Script `/usr/share/xrdp/xrdp-chkpriv` checks
 whether `/etc/xrdp/key.pem`, `/etc/xrdp/cert.pem` and `/etc/xrdp/rsakeys.ini`
@@ -27,7 +25,6 @@ permissions.
 
 Restarts
 ==
-
 Service restarts after RPM package upgrades have been disabled on purpose.
 This is to avoid a situation where an update is performed from within a
 session running on xrdp, which can then cause dnf to only perform part of the
@@ -40,14 +37,12 @@ Wayland do.
 
 xorgxrdp
 ==
-
 Note that xorgxrdp is not installed and configured by default. Each build
 depends on specific binary version of Xorg. If you wish to use it, install
 it by hand or its glamor build.
 
 SELinux
 ==
-
 You may need to install xrdp-selinux package in order to get the required
 SELinux policy that will allow xrdp and associated processes to run
 successfully if SELinux is enabled. On versions of Fedora and RHEL that support
@@ -56,16 +51,23 @@ weak dependencies, xrdp-selinux will be a recommended package.
 **WARNING**: The policy module contains a rule that permits
 unconfined_service_t processes to transition into unconfined_t. If xrdp is not
 the only service that runs as unconfined_service_t on your system, this policy
-will allow any other such service to transition as well.
+will allow any other such service to transition as well. This transition is
+exercised on every xrdp session (see below), not just latent in the policy.
+
+The default `/etc/pam.d/xrdp-sesman` configuration invokes `pam_selinux.so`,
+`pam_loginuid.so`, `pam_namespace.so` and `pam_keyinit.so` around the shared
+`password-auth` stack, so session processes get the correct `unconfined_t`
+context instead of remaining `unconfined_service_t` (rhbz#2499948).
 
-Default configuration in `/etc/pam.d/xrdp-sesman` uses password-auth for auth,
-account, password and session. This may result in an incorrect context for the
-processes in the session. Please adjust this file to match your desktop
-environment. An example for Gnome desktop is given in the file.
+If you are running a GNOME session over xrdp, comment out the generic block
+in `/etc/pam.d/xrdp-sesman` and uncomment the Gnome-specific block instead.
+This routes auth/session handling through `gdm-password`, which already
+carries the correct SELinux/session ordering and additionally unlocks GNOME
+Keyring automatically at login, so you won't be prompted to unlock it a
+second time inside the session.
 
 TigerVNC >= 1.8.0
 ==
-
 TigerVNC 1.8.0 enables clipboard support by default (i.e. no need to run
 vncconfig), which may cause disconnections in xrdp. To avoid the issue, these
 can be added to [Xvnc] stanza in `/etc/xrdp/sesman.ini`:
@@ -80,19 +82,23 @@ Of course, cut and paste support will not work with these set.
 
 Runlevel
 ==
-
 If the system is configured to boot into graphical target, you may experience
 problems with xrdp Gnome sessions. In order to avoid this, put the system into
 multi user target. Like this:
 ```
 systemctl set-default multi-user.target
 ```
-
 Then reboot.
 
+GNOME on X11 is no longer part of Fedora, so GNOME is no longer a supported
+desktop for xrdp sessions on Fedora. If you need RDP access to a GNOME
+desktop, use GNOME's built-in headless GNOME Remote Desktop instead of xrdp —
+it speaks RDP natively, is Wayland-based, and doesn't need any of the
+X11/PAM workarounds this document describes. xrdp remains the right choice
+for XFCE, KDE Plasma, and other X11-based desktops on Fedora.
+
 VSOCK
 ==
-
 An example of a how to set up xrdp with VSOCK can be found here:
 
 https://bugzilla.redhat.com/show_bug.cgi?id=1787953#c22
@@ -102,7 +108,6 @@ updates are already shipped, but in a current, JavaScript format.
 
 KDE Plasma
 ==
-
 If you are using plasma-workspace package with xrdp, be sure to install
 plasma-workspace-x11 to get full functionality. See this for more details:
 

diff --git a/xrdp-sesman.pamd b/xrdp-sesman.pamd
index a23efb0..5e791ad 100644
--- a/xrdp-sesman.pamd
+++ b/xrdp-sesman.pamd
@@ -1,13 +1,30 @@
 #%PAM-1.0
-# Generic Fedora config
+# Generic Fedora/RHEL config — use this unless you are running xrdp
+# sessions into a GNOME desktop, in which case use the Gnome-specific
+# config below instead, which also unlocks GNOME Keyring automatically.
 auth       include      password-auth
 account    include      password-auth
 password   include      password-auth
-session    include      password-auth
+
+# pam_selinux.so close must be the first session rule so any
+# prior context is torn down before we set up the new one.
+session    required     pam_selinux.so close
 session    required     pam_loginuid.so
+# pam_selinux.so open must run before any module below that
+# should execute in the user's context. Without this pair,
+# session processes are left running as unconfined_service_t
+# instead of unconfined_t. See rhbz#2499948.
+session    required     pam_selinux.so open
+session    required     pam_namespace.so
+session    optional     pam_keyinit.so force revoke
+session    include      password-auth
 session    optional     pam_lastlog.so silent
 
-# Gnome specific Fedora config
+# Gnome specific config. Uncomment this block and comment out the
+# generic block above if you are running xrdp sessions into a GNOME
+# desktop. This uses GDM's own PAM stack, which already includes the
+# correct pam_selinux.so/pam_namespace.so ordering and additionally
+# unlocks GNOME Keyring automatically at login.
 #auth       include      gdm-password
 #account    include      gdm-password
 #password   include      gdm-password

diff --git a/xrdp.spec b/xrdp.spec
index 604f975..eedc5c2 100644
--- a/xrdp.spec
+++ b/xrdp.spec
@@ -21,7 +21,7 @@
 
 Summary:   Open source remote desktop protocol (RDP) server
 Name:      xrdp
-Epoch:     1
+Epoch:     2
 Version:   0.10.6.1
 Release:   1%{?dist}
 # Automatically converted from old format: ASL 2.0 and GPLv2+ and MIT - review is highly recommended.
@@ -350,6 +350,9 @@ fi
 %{_datadir}/selinux/*/%{name}.pp
 
 %changelog
+* Fri Jul 17 2026 Bojan Smojver <bojan@rexursive.com> - 1:0.10.6.1-2
+- Fix bug #2499948
+
 * Tue Jul 07 2026 Bojan Smojver <bojan@rexursive.com> - 1:0.10.6.1-1
 - Update to 0.10.6.1
 - CVE-2026-41252, CVE-2026-41521, CVE-2026-44178, CVE-2026-42218

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-07-17 22:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-07  9:51 [rpms/xrdp] epel8: Merge branch 'rawhide' into epel8 Bojan Smojver
2026-07-17  8:09 Bojan Smojver
2026-07-17  8:15 Bojan Smojver
2026-07-17 22:08 Bojan Smojver
2026-07-17 22:11 Bojan Smojver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox