Bug 2375347

Summary: screen changed location of sockets--now in $HOME/.screen rather than /run/screen
Product: [Fedora] Fedora Reporter: Charles R. Anderson <cra>
Component: screenAssignee: Josef Ridky <jridky>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 41CC: jridky, lnykryn, phracek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: screen-5.0.1-4.fc43 screen-5.0.1-4.el10_1 screen-5.0.1-4.el10_0 screen-5.0.1-4.fc42 screen-5.0.1-4.fc41 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-30 07:59:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Charles R. Anderson 2025-06-28 16:20:27 UTC
screen-5.0.1-2 is storing sockets in $HOME/.screen rather than /run/screen/.  This is undesirable, since $HOME could be an NFS filesystem.  It seems that since screen 5.0, the default configure option changed, and now --enable-socket-dir must be passed to configure for it to observe the --with-socket-dir option.

Reproducible: Always

Steps to Reproduce:
1. screen
2. find $HOME/.screen
3. find /run/screen
Actual Results:
>find $HOME/.screen
/home/cra/.screen
/home/cra/.screen/9898.pts-2.x

>find /run/screen/
/run/screen/

Expected Results:
>find $HOME/.screen
/home/cra/.screen

or

>find $HOME/.screen
find: ‘/home/cra/.screen’: No such file or directory

>find /run/screen
/run/screen
/run/screen/S-cra
/run/screen/S-cra/7959.pts-0.hostname

Additional Information:
This fixes the issue:

        --with-sys-screenrc="%{_sysconfdir}/screenrc" \
-       --with-socket-dir="%{_rundir}/screen"
+       --with-socket-dir="%{_rundir}/screen" \
+       --enable-socket-dir

Comment 1 Charles R. Anderson 2025-06-28 16:30:24 UTC
Pull request to resolve this bug: https://src.fedoraproject.org/rpms/screen/pull-request/7

Comment 2 Fedora Update System 2025-06-30 06:44:00 UTC
FEDORA-2025-b210d50c1b (screen-5.0.1-4.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b210d50c1b

Comment 3 Fedora Update System 2025-06-30 07:08:15 UTC
FEDORA-2025-653690f2f7 (screen-5.0.1-4.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-653690f2f7

Comment 4 Fedora Update System 2025-06-30 07:08:16 UTC
FEDORA-EPEL-2025-301b23960b (screen-5.0.1-4.el10_0) has been submitted as an update to Fedora EPEL 10.0.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-301b23960b

Comment 5 Fedora Update System 2025-06-30 07:08:17 UTC
FEDORA-2025-f055a0d751 (screen-5.0.1-4.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-f055a0d751

Comment 6 Fedora Update System 2025-06-30 07:08:17 UTC
FEDORA-EPEL-2025-beeb62ad3c (screen-5.0.1-4.el10_1) has been submitted as an update to Fedora EPEL 10.1.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-beeb62ad3c

Comment 7 Fedora Update System 2025-06-30 07:59:01 UTC
FEDORA-2025-b210d50c1b (screen-5.0.1-4.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2025-07-04 01:13:41 UTC
FEDORA-EPEL-2025-beeb62ad3c has been pushed to the Fedora EPEL 10.1 testing repository.

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

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

Comment 9 Fedora Update System 2025-07-04 01:33:35 UTC
FEDORA-EPEL-2025-301b23960b has been pushed to the Fedora EPEL 10.0 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-301b23960b

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

Comment 10 Fedora Update System 2025-07-04 01:33:54 UTC
FEDORA-2025-f055a0d751 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-2025-f055a0d751`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-f055a0d751

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

Comment 11 Fedora Update System 2025-07-04 01:53:18 UTC
FEDORA-2025-653690f2f7 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-653690f2f7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-653690f2f7

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

Comment 12 Fedora Update System 2025-07-12 00:24:54 UTC
FEDORA-EPEL-2025-beeb62ad3c (screen-5.0.1-4.el10_1) has been pushed to the Fedora EPEL 10.1 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2025-07-12 02:06:01 UTC
FEDORA-EPEL-2025-301b23960b (screen-5.0.1-4.el10_0) has been pushed to the Fedora EPEL 10.0 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2025-07-19 21:32:10 UTC
FEDORA-2025-f055a0d751 (screen-5.0.1-4.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2025-07-19 21:47:21 UTC
FEDORA-2025-653690f2f7 (screen-5.0.1-4.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.