Summary: | app-misc/screen-4.0.3 does not wipe stale sockets on boot | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Evdokimov <leon+gentoo> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED WORKSFORME | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Leonid Evdokimov
2007-11-24 17:01:33 UTC
Set add it to /etc/conf.d/bootmisc. Socket directory is hardcoded at compilation time and defaults to /var/run/screen or /usr/tmp/screens, so it's not cleaned with WIPE_TMP. Let's try to override it with environment variable. $ SCREENDIR=/tmp/screen screen Cannot access /tmp/screen: No such file or directory So WIPE_TPM will wipe /tmp/screen at reboot and it's not a solution. $ SCREENDIR=/tmp screen Directory /tmp must have mode 700. So settings it to /tmp is not solution too. Seems, bug is not resolved, so I reopen it (if I'm wrong, state that, please, I'm new to gentoo bugzilla) # cat /etc/conf.d/bootmisc # /etc/conf.d/bootmisc # Put a nologin file in /etc to prevent people from logging in before # system startup is complete DELAYLOGIN="no" # List of /tmp directories we should clean up WIPE_TMP_DIRS="/tmp" # Should we wipe the tmp paths completely or just selectively remove known # locks / files / etc... ? WIPE_TMP="yes" Latest x86 (not ~x86) version of sys-apps/baselayout-1.12.9-r2 does not include this feature. What version of baselayout do you have? 2.0.0_rc6; you can either upgrade or do this in /etc/conf.d/local.start; screen itself can't wipe anything at boot obviously. Yes, it can't, I know that. I posted this feature-request only because I've seen separate init.d script to wipe stale sockets in other distros. Thank you. |