Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216185 - Screen installed from LiveCD missing /var/run/screen
Summary: Screen installed from LiveCD missing /var/run/screen
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-04 13:44 UTC by Matt Boehlig
Modified: 2009-05-03 17:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Boehlig 2008-04-04 13:44:52 UTC
Screen installed from LiveCD missing /var/run/screen, non-root users can't run screen until root runs the program first.

Reproducible: Always

Steps to Reproduce:
1. Install Gentoo system from 2008.0_beta1 including screen
      (I used i686 standard LiveCD and selected all packages)
2. Reboot after install
3. (as regular user) $ screen
      Result: Cannot make directory '/var/run/screen': Permission denied
      Expected: screen to launch
4. $ ls /var/run/screen/
      Result: No such file or directory
5. (root) # emerge screen
6. (regular user) $ screen
      Result: screen launches

screen installed from LiveCD is missing the directory /var/run/screen/.
Reinstalling screen (same version) properly installs /var/run/screen/ and a keep file within. Or running screen as root creates the correct directory.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-04 17:49:03 UTC
Strange.

Andrew, can you look at the package created for screen and see if the /var/run/screen exists in the package?  If not, try deleting the package and see if it gets added when you recreate it.  Also, could this be something the installer is doing?

Thanks
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-08 12:00:32 UTC
It looks like the ebuild is creating it just fine:

./var/run/screen/.keep_app-misc_screen-0

I'll have to do a test install to reproduce this.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-08 21:47:10 UTC
Cool, let me know.
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2009-05-03 17:21:31 UTC
The installer is deprecated.