Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248771 - xendomains init script: screen needs custom .screenrc
Summary: xendomains init script: screen needs custom .screenrc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-25 10:36 UTC by Wolfram Schlich (RETIRED)
Modified: 2009-09-01 09:58 UTC (History)
0 users

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


Attachments
Patch for /etc/init.d/xendomains (xendomains.initd.patch,1020 bytes, patch)
2008-11-25 10:40 UTC, Wolfram Schlich (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schlich (RETIRED) gentoo-dev 2008-11-25 10:36:03 UTC
the /etc/init.d/xendomains init script supports screen for
domU console handling. unfortunately, screen reads /etc/screenrc
and /root/.screenrc which can contain entries that make it fail
in the xendomains context. thus, xendomains needs to call screen
with a custom screenrc file to prevent it reading /root/.screenrc
or /etc/screenrc like this: -c /dev/null
Comment 1 Wolfram Schlich (RETIRED) gentoo-dev 2008-11-25 10:40:31 UTC
Created attachment 173325 [details, diff]
Patch for /etc/init.d/xendomains

Patch for /etc/init.d/xendomains which prevents screen from reading any user screenrc
Comment 2 Wolfram Schlich (RETIRED) gentoo-dev 2008-11-25 16:49:04 UTC
Even better patch: use...

${SCREENRC:-/dev/null}

...instead of...

/dev/null

...so a user _can_ specify a custom screenrc but does not _have to_.
Comment 3 Wolfram Schlich (RETIRED) gentoo-dev 2009-01-26 13:49:18 UTC
ping
Comment 4 Wolfram Schlich (RETIRED) gentoo-dev 2009-09-01 09:58:59 UTC
In portage (3.4.1-r1).