** Description changed:

  Binary package hint: screen
  
  On a freshly booted server install:
  
  $ screen -ls
  Cannot make directory '/var/run/screen': Permission denied
  
  This can be fixed with:
  $ sudo /etc/init.d/screen-cleanup start
  
- I believe this is because 
+ I believe this is because
  /etc/rcS.d/S70screen-cleanup is running via upstart much earlier than it 
expects to have run, and is failing to correctly clean up that directory.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: screen 4.0.3-14ubuntu1
  ProcVersionSignature: Ubuntu 2.6.32-21.32-server 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-21-server x86_64
  Architecture: amd64
  Date: Mon May  3 16:45:10 2010
  ProcEnviron:
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: screen
+ 
+ ============
+ IMPACT: Sometimes 'screen' is not able to start after a reboot due to a race 
condition between the mounted-varrun upstart job and the screen init script.
+ HOW ADDRESSED:  This bug is addressed by porting the simple 
/etc/init.d/screen init script to an upstart job that depends on the 
mounted-varrun job having run.
+ HOW TO REPRODUCE:  This bug is a race condition, and is difficult to 
reproduce.  I hit it most often on a really fast system -- ie, it's hard for me 
to reproduce the issue in a virtual machine.  To reproduce, reboot until you 
try to run 'screen' just after boot, and you get the error saying:
+   Cannot make directory '/var/run/screen': Permission denied
+ REGRESSION POTENTIAL:  Relatively low, if a veteran upstart job reviewer 
(hrrrm, Scott/Steve) reviews the proposed upstart job against the original init 
script and confirms it's identical functionality.
+ ============

-- 
Cannot make directory '/var/run/screen': Permission denied (convert init to 
upstart)
https://bugs.launchpad.net/bugs/574773
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to