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 LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 4.0.3
Fixed Release: NonePlanned 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:

Hello,

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
[detached]
(%:~)- screen -S test_not_using_afs -c /tmp/wsfreund/.screenrc
# Type C-a C-d
[detached]
(%:~)- 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
[detached]
(%:~)- 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.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

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 click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup1