bugGNU Screen - Bugs: bug #43894, Screen not able to recover if -c...


bug #43894: Screen not able to recover if -c is passed to a file on afs

Submitted by:  None
Submitted on:  Fri 26 Dec 2014 07:55:54 PM UTC  
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.0.3
Fixed Release:  None Planned Release:  None
Work Required:  None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 26 Dec 2014 07:55:54 PM UTC, original submission:


I have a problem with screen when I use the -c launch option:

-c file
override the default configuration file from "$HOME/.screenrc" to file.

My issue seems to be with afs. I have a workarea where my $HOME is set to /afs/… and if I run the -c command in this place as follows, I got the issue of unable to open file:

# On local
(%:~)- ssh server
# On server
# Here ~ is on /afs
(%:~)- cp .screenrc /tmp/wsfreund
(%:~)- screen -ls
No Sockets found in /var/run/screen/S-wsfreund.
(%:~)- screen -S test_using_afs -c .screenrc
# Type C-a C-d
(%:~)- screen -S test_not_using_afs -c /tmp/wsfreund/.screenrc
# Type C-a C-d
(%:~)- screen -ls
There are screens on:
14789.test_not_using_afs (Detached)
14144.test_using_afs (Detached)
2 Sockets in /var/run/screen/S-wsfreund.
(%:~)- exit
# On local
(%:~)~ ssh server
# On server
(%:~)- screen -r test_not_using_afs
# Type C-a C-d
(%:~)- screen -r test_using_afs
Unable to open ".screenrc".
(%:~)- screen -ls
There is a screen on:
14789.test_not_using_afs (Detached)
1 Socket in /var/run/screen/S-wsfreund.

So, when I use the file on afs it is unable to re-attach to screen and destroys it, while the screenrc copied to /tmp/wsfreund is recovered without any troubles.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




No changes have been made to this item

Back to the top

Powered by Savane 3.3