[gentoo-user] Python 2.4.6 getting pulled in

2009-08-03 Thread Chris Lieb
I have been running Python 2.5* on my Gentoo system ever since it went
stable x86.  Today I ran an `emerge --update --deep --newuse
--with-bdeps y world -avt` and saw that python-2.4.6 was being pulled
into a new slot.  I have no idea why an old version of python is being
pulled in since python is showing up at the root of a dependency tree,
marked in bold (I'm pretty sure that means it's pulled in from world).

I can't for the life of me find any package that requires python that
forces version 2.4.6 or 2.5.  I have Django installed, which requires
=python-2.5[sqlite], but I have the sqlite use flag enabled on my
current install of Python.  No combination of equery depends and
qdepends will show me any packages that would be pulling in this old Python.

Does anyone know what might be pulling in this old python?

Thanks,
Chris



[gentoo-user] Re: Python 2.4.6 getting pulled in

2009-08-03 Thread Chris Lieb
On 8/3/2009 8:56 AM, Chris Lieb wrote:
 I have been running Python 2.5* on my Gentoo system ever since it went
 stable x86.  Today I ran an `emerge --update --deep --newuse
 --with-bdeps y world -avt` and saw that python-2.4.6 was being pulled
 into a new slot.  I have no idea why an old version of python is being
 pulled in since python is showing up at the root of a dependency tree,
 marked in bold (I'm pretty sure that means it's pulled in from world).
 
 I can't for the life of me find any package that requires python that
 forces version 2.4.6 or 2.5.  I have Django installed, which requires
 =python-2.5[sqlite], but I have the sqlite use flag enabled on my
 current install of Python.  No combination of equery depends and
 qdepends will show me any packages that would be pulling in this old Python.
 
 Does anyone know what might be pulling in this old python?
 
 Thanks,
 Chris

A little more digging (ie, masking Python 2.5 and watching the carnage)
revealed that the culprit is the new django-1.0.3.  The diff for the
DEPEND and RDEPEND is:

 RDEPEND=dev-python/imaging
sqlite? ( || (
+   =dev-lang/python-2.5[sqlite] )
( dev-python/pysqlite:2 dev-lang/python-2.5 )
-   =dev-lang/python-2.5[sqlite] ) )
-   test? ( || (
-   ( dev-python/pysqlite:2 dev-lang/python-2.5 )
-   =dev-lang/python-2.5[sqlite] ) )
+   )
postgres? ( dev-python/psycopg )
mysql? ( =dev-python/mysql-python-1.2.1_p2 )
 DEPEND=${RDEPEND}
-   doc? ( =dev-python/sphinx-0.3 )
+   doc? ( =dev-python/sphinx-0.3 )
+   test? ( || (
+   =dev-lang/python-2.5[sqlite] )
+   ( dev-python/pysqlite:2 dev-lang/python-2.5 )
+   )

Does anyone know why these changes would cause python-2.5 to get pulled
in when I already have python-2.5[sqlite] installed?

Chris



[gentoo-user] Re: Python 2.4.6 getting pulled in

2009-08-03 Thread Chris Lieb
On 8/3/2009 10:14 AM, walt wrote:
 On 08/03/2009 07:03 AM, Chris Lieb wrote:
 On 8/3/2009 8:56 AM, Chris Lieb wrote:
 I have been running Python 2.5* on my Gentoo system ever since it went
 stable x86.  Today I ran an `emerge --update --deep --newuse
 --with-bdeps y world -avt` and saw that python-2.4.6 was being pulled
 into a new slot.  I have no idea why an old version of python is being
 pulled in since python is showing up at the root of a dependency tree,
 marked in bold (I'm pretty sure that means it's pulled in from world).

 I can't for the life of me find any package that requires python that
 forces version 2.4.6 or2.5.  I have Django installed, which requires
 =python-2.5[sqlite], but I have the sqlite use flag enabled on my
 current install of Python.  No combination of equery depends and
 qdepends will show me any packages that would be pulling in this old
 Python.

 Does anyone know what might be pulling in this old python?

 Thanks,
 Chris

 A little more digging (ie, masking Python2.5 and watching the carnage)
 revealed that the culprit is the new django-1.0.3.  The diff for the
 DEPEND and RDEPEND is:

   RDEPEND=dev-python/imaging
  sqlite? ( || (
 +=dev-lang/python-2.5[sqlite] )
  ( dev-python/pysqlite:2dev-lang/python-2.5 )
 -=dev-lang/python-2.5[sqlite] ) )
 -   test? ( || (
 -   ( dev-python/pysqlite:2dev-lang/python-2.5 )
 -=dev-lang/python-2.5[sqlite] ) )
 +   )
  postgres? ( dev-python/psycopg )
  mysql? (=dev-python/mysql-python-1.2.1_p2 )
   DEPEND=${RDEPEND}
 -   doc? (=dev-python/sphinx-0.3 )
 +   doc? (=dev-python/sphinx-0.3 )
 +   test? ( || (
 +=dev-lang/python-2.5[sqlite] )
 +   ( dev-python/pysqlite:2dev-lang/python-2.5 )
 +   )

 Does anyone know why these changes would causepython-2.5 to get pulled
 in when I already have python-2.5[sqlite] installed?
 
 Frankly, no.  But have you run python-updater yet?  Is there anything left
 in /usr/lib/python2.4?  Are /usr/bin/python and /usr/bin/python2 both
 pointing to /usr/bin/python2.5?
 
 Maybe try re-emerging those dependencies that you already have installed?
 Does eselect python list show anything unexpected?

I upgraded these systems right after python 2.5 went stable, complete
with python-updater.  Looking around confirms this as `eselect python
list` shows only python 2.5, there is no python2.4 directory on my
system anywhere, and /usr/bin/python and /usr/bin/python2 both point to
/usr/bin/python2.5.  I'm starting a run of `python-updater -o 2.5` to
cause all python-touching packages to re-merge, though I doubt that will
fix anything.




[gentoo-user] Re: Python 2.4.6 getting pulled in

2009-08-03 Thread Chris Lieb
On 8/3/2009 1:28 PM, Chris Lieb wrote:
 On 8/3/2009 10:14 AM, walt wrote:
 On 08/03/2009 07:03 AM, Chris Lieb wrote:
 On 8/3/2009 8:56 AM, Chris Lieb wrote:
 I have been running Python 2.5* on my Gentoo system ever since it went
 stable x86.  Today I ran an `emerge --update --deep --newuse
 --with-bdeps y world -avt` and saw that python-2.4.6 was being pulled
 into a new slot.  I have no idea why an old version of python is being
 pulled in since python is showing up at the root of a dependency tree,
 marked in bold (I'm pretty sure that means it's pulled in from world).

 I can't for the life of me find any package that requires python that
 forces version 2.4.6 or2.5.  I have Django installed, which requires
 =python-2.5[sqlite], but I have the sqlite use flag enabled on my
 current install of Python.  No combination of equery depends and
 qdepends will show me any packages that would be pulling in this old
 Python.

 Does anyone know what might be pulling in this old python?

 Thanks,
 Chris

 A little more digging (ie, masking Python2.5 and watching the carnage)
 revealed that the culprit is the new django-1.0.3.  The diff for the
 DEPEND and RDEPEND is:

   RDEPEND=dev-python/imaging
  sqlite? ( || (
 +=dev-lang/python-2.5[sqlite] )
  ( dev-python/pysqlite:2dev-lang/python-2.5 )
 -=dev-lang/python-2.5[sqlite] ) )
 -   test? ( || (
 -   ( dev-python/pysqlite:2dev-lang/python-2.5 )
 -=dev-lang/python-2.5[sqlite] ) )
 +   )
  postgres? ( dev-python/psycopg )
  mysql? (=dev-python/mysql-python-1.2.1_p2 )
   DEPEND=${RDEPEND}
 -   doc? (=dev-python/sphinx-0.3 )
 +   doc? (=dev-python/sphinx-0.3 )
 +   test? ( || (
 +=dev-lang/python-2.5[sqlite] )
 +   ( dev-python/pysqlite:2dev-lang/python-2.5 )
 +   )

 Does anyone know why these changes would causepython-2.5 to get pulled
 in when I already have python-2.5[sqlite] installed?

 Frankly, no.  But have you run python-updater yet?  Is there anything left
 in /usr/lib/python2.4?  Are /usr/bin/python and /usr/bin/python2 both
 pointing to /usr/bin/python2.5?

 Maybe try re-emerging those dependencies that you already have installed?
 Does eselect python list show anything unexpected?
 
 I upgraded these systems right after python 2.5 went stable, complete
 with python-updater.  Looking around confirms this as `eselect python
 list` shows only python 2.5, there is no python2.4 directory on my
 system anywhere, and /usr/bin/python and /usr/bin/python2 both point to
 /usr/bin/python2.5.  I'm starting a run of `python-updater -o 2.5` to
 cause all python-touching packages to re-merge, though I doubt that will
 fix anything.

A full remerge of all Python-touching packages did not fix it.  I ended
up creating my own ebuild for django-1.0.3 by taking the 1.0.3 ebuild
and replacing the dependency section with that of the 1.0.2-r1, which
worked beautifully.




[gentoo-user] Reverting VMware Server

2009-05-11 Thread Chris Lieb
I tried upgrading VMware server on one of my machines from 1.0.9 to
2.0.1 today.  After the upgrade, I couldn't get any of the modules to
insert (Invalid module format).  I decided that I would downgrade back
to vmware-server-1.0.9.156507 and vmware-modules-1.0.0.15-r2 so that I
could get the machine back into a working state.

I keyworded vmware-server-2* and masked !=vmware-modules-1.0.0.15* to
make sure that I'd downgrade the two components of VMware server.  I ran
emerge, it listed the two packages as downgrades, and let it run. 
Almost immediately it died while starting the build for vmware-modules
with the following error:

 * Could not find a usable .config in the kernel source directory.
 * Please ensure that /usr/src/linux points to a configured set of Linux
sources.
 * If you are using KBUILD_OUTPUT, please set the environment var so that
 * it points to the necessary object directory so that it might find
.config.
 *
 * ERROR: app-emulation/vmware-modules-1.0.0.15-r2 failed.
 * Call stack:
 *   ebuild.sh, line   48:  Called pkg_setup
 * environment, line 3300:  Called vmware-mod_pkg_setup
 * environment, line 4423:  Called linux-mod_pkg_setup
 * environment, line 2695:  Called linux-info_pkg_setup
 * environment, line 2671:  Called check_extra_config
 * environment, line  653:  Called require_configured_kernel
 * environment, line 3539:  Called die
 * The specific snippet of code:
 *   die Kernel not configured; no .config found in ${KV_OUT_DIR};
 *  The die message:
 *   Kernel not configured; no .config found in
/lib/modules/2.6.27-gentoo-r8/build

I looked in the directory that the .config file was supposedly missing
from, but it was right there.  Also, this message seemed a little
strange since my currently running kernel is 2.6.28-gentoo-r5, though I
kept a copy of 2.6.27-r10 around.  I don't even have a directory for
modules for 2.6.27-gentoo-r8 around anymore.

Why is the vmware-modules ebuild trying to find a .config for a kernel
that I don't have installed anywhere on my computer?

Thanks,
Chris Lieb



[gentoo-user] Re: Reverting VMware Server

2009-05-11 Thread Chris Lieb
On 5/11/2009 2:58 PM, Chris Lieb wrote:
 I tried upgrading VMware server on one of my machines from 1.0.9 to
 2.0.1 today.  After the upgrade, I couldn't get any of the modules to
 insert (Invalid module format).  I decided that I would downgrade back
 to vmware-server-1.0.9.156507 and vmware-modules-1.0.0.15-r2 so that I
 could get the machine back into a working state.
 
 I keyworded vmware-server-2* and masked !=vmware-modules-1.0.0.15* to
 make sure that I'd downgrade the two components of VMware server.  I ran
 emerge, it listed the two packages as downgrades, and let it run. 
 Almost immediately it died while starting the build for vmware-modules
 with the following error:
 
  * Could not find a usable .config in the kernel source directory.
  * Please ensure that /usr/src/linux points to a configured set of Linux
 sources.
  * If you are using KBUILD_OUTPUT, please set the environment var so that
  * it points to the necessary object directory so that it might find
 .config.
  *
  * ERROR: app-emulation/vmware-modules-1.0.0.15-r2 failed.
  * Call stack:
  *   ebuild.sh, line   48:  Called pkg_setup
  * environment, line 3300:  Called vmware-mod_pkg_setup
  * environment, line 4423:  Called linux-mod_pkg_setup
  * environment, line 2695:  Called linux-info_pkg_setup
  * environment, line 2671:  Called check_extra_config
  * environment, line  653:  Called require_configured_kernel
  * environment, line 3539:  Called die
  * The specific snippet of code:
  *   die Kernel not configured; no .config found in ${KV_OUT_DIR};
  *  The die message:
  *   Kernel not configured; no .config found in
 /lib/modules/2.6.27-gentoo-r8/build
 
 I looked in the directory that the .config file was supposedly missing
 from, but it was right there.  Also, this message seemed a little
 strange since my currently running kernel is 2.6.28-gentoo-r5, though I
 kept a copy of 2.6.27-r10 around.  I don't even have a directory for
 modules for 2.6.27-gentoo-r8 around anymore.
 
 Why is the vmware-modules ebuild trying to find a .config for a kernel
 that I don't have installed anywhere on my computer?
 
 Thanks,
 Chris Lieb
 

Sorry, false alarm.  I was trying to emerge some old binpackages that I
had made of vmware-modules when I first installed them.
--ignore-default-opts fixed it.  Sorry for the noise.

Chris



[gentoo-user] [OT] Colors/styles in vim

2009-04-22 Thread Chris Lieb
I am new to vim and am encountering an annoying issue: certain things
that I type in get highlighted red, for no apparent reason.  For
example, if I create a file test.txt and insert the following text:

prog

the prog is given a red background.  Even if I use ':syntax off', it is
still red.

What is causing this to happen?  This makes it very hard to edit code
since strings are colored red, causing a red-on-red issue where you
can't read the text at all.

Thanks,
Chris



[gentoo-user] Re: [OT] Colors/styles in vim

2009-04-22 Thread Chris Lieb
On 4/22/2009 10:36 AM, Anthony Metcalf wrote:
 Chris Lieb wrote:
 I am new to vim and am encountering an annoying issue: certain things
 that I type in get highlighted red, for no apparent reason.  For
 example, if I create a file test.txt and insert the following text:

 prog

 the prog is given a red background.  Even if I use ':syntax off', it is
 still red.

 What is causing this to happen?  This makes it very hard to edit code
 since strings are colored red, causing a red-on-red issue where you
 can't read the text at all.

 Thanks,
 Chris


 You don't happen to have searched for prog last do you? try hitting
 /z (assuming you don't have  in the file...) in command mode
 and see if the highlight goes away.

Nope. It happens with other bits of text in strings also, not just prog.
 Even how, I think search highlights with gold/yellow, not red.



[gentoo-user] Re: [OT] Colors/styles in vim

2009-04-22 Thread Chris Lieb
On 4/22/2009 11:09 AM, Mark wrote:
 2009/4/22 Anthony Metcalf ne...@anferny.me.uk:
 Chris Lieb wrote:
 I am new to vim and am encountering an annoying issue: certain things
 that I type in get highlighted red, for no apparent reason.  For
 example, if I create a file test.txt and insert the following text:

 prog

 the prog is given a red background.  Even if I use ':syntax off', it is
 still red.

 What is causing this to happen?  This makes it very hard to edit code
 since strings are colored red, causing a red-on-red issue where you
 can't read the text at all.
 You don't happen to have searched for prog last do you? try hitting
 /z (assuming you don't have  in the file...) in command mode
 and see if the highlight goes away.
 
 Maybe the spell checker is enabled?
 :set nospell
 
That was it.  Thanks all.




[gentoo-user] Re: Logwatch not resolving hostname

2009-02-27 Thread Chris Lieb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Lieb wrote:
 I have recently setup logwatch-7.3.2 on a few of my machines along with
 sendmail.  For all but one of the machines, I get emails that have the
 hostname in the subject line (Logwatch for capitol (Linux)) as well as
 on the line that reads 'Logfiles for Host' (Logfiles for Host: capitol).
 
 However, on one machine, the hostname is not resolved correctly.  The
 email has the subject line 'Logwatch for 10 (Linux)' and in the body of
 the email has 'Logfiles for Host: 10'.  The IP address of this machine
 is 10.192.202.xxx, and the hostname is high.
 
 When I do a `hostname -va` on high, I get:
   gethostname()=`high'
   Resolving `high' ...
   Result: h_name=`high.opcdir.intranet'
   Result: h_aliases=`high'
   Result: h_aliases=`localhost'
   Result: h_addr_list=`127.0.0.1'
   high localhost
 When I run the same command on congress, which has a working logwatch, I
 get:
   gethostname()=`congress'
   Resolving `congress' ...
   Result: h_name=`congress.opcdir.intranet'
   Result: h_aliases=`congress'
   Result: h_aliases=`localhost'
   Result: h_addr_list=`127.0.0.1'
   congress localhost
 This seems to me to eliminate the possibility of a misconfigured
 hostname on high.
 
 Does anyone have an idea as to what is causing logwatch to not resolve
 the hostname correctly?
 
 Thanks,
 Chris Lieb

I believe I've found the problem!  There is a hash called %swordsmen
that defines a pair of 'high = 10'.  It appears that a function is
calling getInt, which uses %wordsToInts to process hostname, turning my
hostname of 'high' into '10'.

I'm going to play around with it some more to see if this is the case.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJqAf0AAoJEJWxx7fgsD+C3dcH/2gWwHoDG7tIeBN2NV6Gq8L5
sMOgI/QKqRcOFWEefnc8PQDZ6yj66fAu12MuTEcUi6CLP1XaHcqjjOdeVnu4giDd
3lJl8Bk7LdTjpz+TAF/vlj5D0ERMIVftrF73JoaTBEp5QeNFwcHu9UywVy1I4/KH
FkrPuS9lSW6gSdovo7ZN+Q0ok9ooD70grhrzXg6355sNONt1zbbWV/7AkKip357T
H6BpNx4xeS0CzyG8hAdkNAbjYd7MAilxX2p8ihLNdjLDmh25WvaBYL3MkRjIMt38
ENuS64vODniIUe2I2FAQ7iyVMoHULXdWfdvqoLLK8CiQ2cEMH2p1n6XvWR54Mg8=
=Tco2
-END PGP SIGNATURE-



[gentoo-user] Re: Logwatch not resolving hostname

2009-02-27 Thread Chris Lieb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Lieb wrote:
 Chris Lieb wrote:
 I have recently setup logwatch-7.3.2 on a few of my machines along with
 sendmail.  For all but one of the machines, I get emails that have the
 hostname in the subject line (Logwatch for capitol (Linux)) as well as
 on the line that reads 'Logfiles for Host' (Logfiles for Host: capitol).
 
 However, on one machine, the hostname is not resolved correctly.  The
 email has the subject line 'Logwatch for 10 (Linux)' and in the body of
 the email has 'Logfiles for Host: 10'.  The IP address of this machine
 is 10.192.202.xxx, and the hostname is high.
 
 When I do a `hostname -va` on high, I get:
   gethostname()=`high'
   Resolving `high' ...
   Result: h_name=`high.opcdir.intranet'
   Result: h_aliases=`high'
   Result: h_aliases=`localhost'
   Result: h_addr_list=`127.0.0.1'
   high localhost
 When I run the same command on congress, which has a working logwatch, I
 get:
   gethostname()=`congress'
   Resolving `congress' ...
   Result: h_name=`congress.opcdir.intranet'
   Result: h_aliases=`congress'
   Result: h_aliases=`localhost'
   Result: h_addr_list=`127.0.0.1'
   congress localhost
 This seems to me to eliminate the possibility of a misconfigured
 hostname on high.
 
 Does anyone have an idea as to what is causing logwatch to not resolve
 the hostname correctly?
 
 Thanks,
 Chris Lieb
 
 I believe I've found the problem!  There is a hash called %swordsmen
 that defines a pair of 'high = 10'.  It appears that a function is
 calling getInt, which uses %wordsToInts to process hostname, turning my
 hostname of 'high' into '10'.
 
 I'm going to play around with it some more to see if this is the case.

It ends up that was the issue.  I have opened bug 260524 on Gentoo
Bugzilla that includes a patch and a -r1 ebuild for 7.3.6, which went
stable yesterday.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJqBF5AAoJEJWxx7fgsD+CY1AIAKFqDK3e49MuiLlcgJYMHmRU
Mm09ijk6JECqGjLzfyFbnlhIItKX5njS/NGu8Ki9mr53LTc3A0M08MGEbeg2TJl6
XZPzR/DM/5x9EWZn6uIVxY3mLo/G4xTj1EOWH/aGpQN7uDDQFNjq27gnkfs3V2VB
gNLxN1lylSep6u0knIcvdtt90xHyk3TLwgNORn2KgDSEJPmRIz9hpglrNIHganyQ
ihl2t1SVTitdyKNyhaj5NcYy9BMJDRjyhgZ+FPBEkW27ekaJUQhP/16VlftQVLjk
62Z0Dz7J7Je0jLh2ldLi1+p/iyNxyKH8IXstmDsrwiMU39mjmtDJn3R8zcKBV6A=
=Rq6i
-END PGP SIGNATURE-



[gentoo-user] Screen and Window Titles in screen

2009-02-26 Thread Chris Lieb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am trying to get screen set up and am running into some issues getting
it to display titles like I want.  When I'm not running screen, commands
like emerge change the title of the console I'm currently in (like
Konsole or PuTTY (win)).  When I start up screen, all I get is the name
of the host that I am ssh'd into.  I am testing only with PuTTY right
now since I don't have access to a Linux box with X on it right now.

I figured that it might be easier to get screen to set the title of one
of the screens automatically from the title that the bash session that
it is hosting has.  After digging a bit, I found shelltitle, but that
only seems to read the name of the currently executing command, and also
overwrites the name that I might have assigned to that screen.

My goal is to have titles that are something like:
[screen title]: [xterm title]
where I can set [screen title] using C-a A and [xterm title] is what I
would normally see as the title of an XTerm/Konsole/PuTTY.

Is it possible to achieve something even close to this?

Thanks,
Chris Lieb

PS. Where can I find a reference for the syntax for the format strings
for things like hardstatus?  I can't seem to find anything using Google.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJptCLAAoJEJWxx7fgsD+ChpQH/15nqEBcMjiFVuaeccQc9fmj
OlU12u00w56j9XMfdWh+KsfFS0GDh6vODznLteunBoFS63wIKgRZtJUS5E0OgJsv
nt4TaseIDS9TZhJIIj7l3I6d4IXKa2TBi2ONb0/NdNAX8zl0Y+hnIbUCYKG8ny6c
IWWbQHsp4qgF3rdu3ge1IhZfggiPz8OEBe0339PLSiVoiIkSQN98++pDc9GR4GoL
N+HyJClZ/iCX7NNY/XcaFg7Agh5tzS19f7UlXiZQ462FWv6T0mGMutKE34ZEySPI
WMHGMWewsQEehvboRsk/UdoCwSFDA8qBLK9u0KS6l55qYTmwMVvaFrsAOXjFrag=
=VuJ8
-END PGP SIGNATURE-



[gentoo-user] Re: Screen and Window Titles in screen

2009-02-26 Thread Chris Lieb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Hartman wrote:
 On Thu, Feb 26, 2009 at 11:25 AM, Chris Lieb chris.l...@gmail.com wrote:
 I am trying to get screen set up and am running into some issues getting
 it to display titles like I want.  When I'm not running screen, commands
 like emerge change the title of the console I'm currently in (like
 Konsole or PuTTY (win)).  When I start up screen, all I get is the name
 of the host that I am ssh'd into.  I am testing only with PuTTY right
 now since I don't have access to a Linux box with X on it right now.
 
 I use PuTTY and screen and window titles are shown in the screens
 during emerging, etc... I don't think I've had to do anything to
 accomplish this, I'm just using the default /etc/screenrc
 
 I did find a great status-bar that shows open screens (gentoo weekly
 newsletter? or maybe on this list... don't remember):
 
 caption always %{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c

My problem was that I used hardstatus instead of caption.  This allows
the window title to be set by the terminal.

Is there a way to have a child screen session set the title of the
terminal, eg. I run emerge inside a screen inside a screen (like sshing
from one computer to another)?

Also, is there a way to get the screen title to match the terminal title?

 As far as the syntax of the hardstatus I think it may be usual termcap syntax.

Can you give me a pointer to where a definition of that syntax is?  All
I find is for defining capabilities of terminals.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJpuT1AAoJEJWxx7fgsD+C7s4H/0ZwCpyknJ81JSWtlbMvAgry
a4PXBxHy1IS8hRxwOwvSrNqeFcIlfcgv7dZxf0wCYyho8+QOpRNQN6yhI6VeQhqW
uye4WIq8tslf9zw3cKZuBNTt7QBVJlmu2uvszCXhI6WUF84QrgdGiBAWoP8A9Hx+
YZHs3LMvbwRRgjqy0WVttg+OVWDq3kuuOi5pMlAKvZ7/5Y1EnS1xCu0uv1F+7UBE
/fqBkCzbsaWqM7fdLvBDv1CnKl0FDZNRgOMFbCTDohTfRdPXIzyFPIzxFJBnTimn
o32Nx1O69lYbBHNv2NyC9DeObyb9ofB3trPLpI1YBrn1GiCt8llKf6CbKwEed0Q=
=scfV
-END PGP SIGNATURE-



[gentoo-user] Re: Screen and Window Titles in screen

2009-02-26 Thread Chris Lieb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Hartman wrote:
 On Thu, Feb 26, 2009 at 12:52 PM, Chris Lieb chris.l...@gmail.com wrote:
 Can you give me a pointer to where a definition of that syntax is?  All
 I find is for defining capabilities of terminals.
 
 I've never personally used it (I don't speak termcap :) ) but the
 screen manual has a whole section about termcap stuff:
 
 http://www.gnu.org/software/screen/manual/

mm...

 %{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c

doesn't look like

 SC|screen|VT 100/ANSI X3.64 virtual terminal:\
 :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
 :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
 :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
 :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
 :li#24:co#80:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\
 :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\
 :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\
 :ke=\E[?1l\E:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
 :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\
 :se=\E[23m:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\
 :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\
 :vb=\Eg:G0:as=\E(0:ae=\E(B:\
 :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}
 ~~..--++,,hhII00:\
 :po=\E[5i:pf=\E[4i:Z0=\E[?3h:Z1=\E[?3l:k0=\E[10~:\
 :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
 :k7=\E[18~:k;=\E[21~:F1=\E[23~:F2=\E[24~:F3=\E[2P:\
 :F4=\E[2Q:F5=\E[2R:F6=\E[2S:F7=\E[15;2~:F8=\E[17;2~:\
 :F9=\E[18;2~:FA=\E[19;2~:kb=^H:K2=\EOE:kB=\E[Z:\
 :kF=\E[1;2B:kR=\E[1;2A:*4=\E[3;2~:*7=\E[1;2F:#2=\E[1;2H:\
 :#3=\E[2;2~:#4=\E[1;2D:%c=\E[6;2~:%e=\E[5;2~:%i=\E[1;2C:\
 :kh=\E[1~:@1=\E[1~:kH=\E[4~:@7=\E[4~:kN=\E[6~:kP=\E[5~:\
 :kI=\E[2~:kD=\E[3~:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:km:

I'm guessing that the format for caption and hardstatus isn't termcap.

Chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJpvEwAAoJEJWxx7fgsD+CObEIAKgQHndEQgmoUjHOZI7xNhcr
gnMrUiQ8gvp8xyYhE5Z/BN6ti4DRfpuEV2N211QvQFmULHAeb/mT9rCadhCjEVgt
Ep6ZO4k0KO/zVk7wnjiEbG719gO1B2uIQ2guAvkUrPUrPLBLqdBrwMzU5cSIQiat
5AI80qw0N3ZlQ/mtg2Hdl3/BE9zzxWf0gGjljkNcs90HE5Q6zBK4DAJwaVzq0c8q
QR/9qGDHqeHyLEZ3T/HCOK8u4Q+zDSWQHu3N9ugkFSqI9+ACj9a38yjZ8jlAK2KO
ba9naewpA9gXXplKpTNBKo9fLjNLkBr+KibTad7AJTcw8Sx9nFriC4B1a/66FDg=
=2ixH
-END PGP SIGNATURE-



[gentoo-user] Logwatch not resolving hostname

2009-02-25 Thread Chris Lieb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have recently setup logwatch-7.3.2 on a few of my machines along with
sendmail.  For all but one of the machines, I get emails that have the
hostname in the subject line (Logwatch for capitol (Linux)) as well as
on the line that reads 'Logfiles for Host' (Logfiles for Host: capitol).

However, on one machine, the hostname is not resolved correctly.  The
email has the subject line 'Logwatch for 10 (Linux)' and in the body of
the email has 'Logfiles for Host: 10'.  The IP address of this machine
is 10.192.202.xxx, and the hostname is high.

When I do a `hostname -va` on high, I get:
  gethostname()=`high'
  Resolving `high' ...
  Result: h_name=`high.opcdir.intranet'
  Result: h_aliases=`high'
  Result: h_aliases=`localhost'
  Result: h_addr_list=`127.0.0.1'
  high localhost
When I run the same command on congress, which has a working logwatch, I
get:
  gethostname()=`congress'
  Resolving `congress' ...
  Result: h_name=`congress.opcdir.intranet'
  Result: h_aliases=`congress'
  Result: h_aliases=`localhost'
  Result: h_addr_list=`127.0.0.1'
  congress localhost
This seems to me to eliminate the possibility of a misconfigured
hostname on high.

Does anyone have an idea as to what is causing logwatch to not resolve
the hostname correctly?

Thanks,
Chris Lieb
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJpWI7AAoJEJWxx7fgsD+Cq+8H/RwGltiY8fvbAfee3/e/jYG9
WyOm187M6LZBQ3hWJ2Q558hQUNr86CqfaLBwPaOeBK8KEv1WvhAS5iyQo/4FNU77
X7y+EwEpF4X1mYV0MNm+zLmvd/XqEeSCxNe96N6bubyXxSh+/uAR4Seqd4TtwjKH
aOVqvN94skUJY4MVgLHHrjbDVwNkv6TqVTIKDRquj3qx21TzKsMj3VrxlGUinvIW
/nXs0hI4SYWOXIB+t29z/P80KPSozJW9OW2GuEJIeph91eKoc9H8nfcFLE3I1k3x
dMAdxEtF7fPUB2KmIizRAoOauKYHHkPqPbxvUDqh8T3JABfzYu+cG4v7xuRfok4=
=Y0K4
-END PGP SIGNATURE-



[gentoo-user] Re: Using portage through NFS

2009-02-09 Thread Chris Lieb
Neil Bothwick wrote:
 On Fri, 06 Feb 2009 10:57:58 -0600, Chris Lieb wrote:

 I don't want to do UnionFS since that requires me to patch the kernel,
 which is more work than I have the time for.

 cd /usr/src/linux
 patch -p1 /path/to/patchfile

 You must be *really* short of time ;-)

My concern is more about making my own ebuild (based off of
gentoo-sources) that will patch the kernel source for me so that I can
easily distribute this patched kernel source to all of my computers.  I
need the process to be easy so that whom ever succeeds me doesn't have
to learn much more than just running a couple of scripts that I wrote.
Even how, I catch enough crap from my boss already for spending so much
time tinkering with servers instead of programming :)

A quick look at the gentoo-sources ebuild makes it look like the
patching must be happening in an eclass somewhere, but I'm no bash or
ebuild/eclass guru.  My skills end at fixing dependencies in packages
and doing simple ebuild copy version bumps.

Is there a guide out there for rolling my own kernel ebuild?

Chris

PS. Sorry if this is a double post.  The ml seems to silently reject my
posts that I do through gmane.




[gentoo-user] Re: KDE 4.2 Konsole Title

2009-02-09 Thread Chris Lieb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nikos Chantziaras wrote:
 Chris Lieb wrote:
 I recently switched to KDE 4.2 (completely removed KDE 3.5.9 and emerge
 @kde-4.2) and fired up my system update script.  I noticed right away
 that the title bar of Konsole did not update to show my progress in my
 emerge -u... world.  In fact, it only showed the user name and directory
 that I was currently in.  No script seemed to change the contents of the
 title bar.  I noticed the same behavior in lxvt run in KDE 4.2 also.

 In Konsole under KDE 3.5.9, the title bar would always be controlled by
 the script that was running.  Is this supposed to happen in KDE 4.2, or
 is this a bug?
 
 In the profile of Konsole you're using, in the Tabs tab, edit the Tab
 title format according to your needs.  To get KDE 3 behavior, you need
 %d : %w.

I did that and it worked.  However, I noticed that there tends to be a
delay between when the title should change and when it actually does.
In KDE 3.5, as soon as emerge moved to the next package, it would change
the window title almost instantly.  In KDE 4.2, there is a lag of a
couple seconds.  Is there something I need to configure to get this to
happen more quickly, or is it an upstream bug?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJkGMnAAoJEJWxx7fgsD+CFugIAMO3bqMvCocX4QAsgxd9TdgY
vbKawsQi1TgkXE4BxLoQLhlnAvqDso1yCLKN5aV5hsMpDvejkYlQ6/eq85ZUBpzU
Vr6IHziokc09hZLZ55Sd0j3jYxjeK6nlCpDkrDwAcL+0OT4ECkUnO6w7fR3ybfq+
DVCsW988A+h/qqVnQNe53wttqZ7/LtGVqC2FSiS7HLKX/fBdkcT+AZPo3ExHurev
eOJ5udtSi2YuLX/pYPC4ol+A2UwiBKbNL6W79QrRhljtREYRcWD6FD+l1hRD3LuU
cCbNuef4SZmV011KfiqRHhTch7i/jA5CJLKJYUhhyyBxzeapifiE1+kzPOMI3FM=
=EmIn
-END PGP SIGNATURE-



[gentoo-user] KDE 4.2 Konsole Title

2009-02-06 Thread Chris Lieb
I recently switched to KDE 4.2 (completely removed KDE 3.5.9 and emerge
@kde-4.2) and fired up my system update script.  I noticed right away
that the title bar of Konsole did not update to show my progress in my
emerge -u... world.  In fact, it only showed the user name and directory
that I was currently in.  No script seemed to change the contents of the
title bar.  I noticed the same behavior in lxvt run in KDE 4.2 also.

In Konsole under KDE 3.5.9, the title bar would always be controlled by
the script that was running.  Is this supposed to happen in KDE 4.2, or
is this a bug?

Thanks,
Chris Lieb



[gentoo-user] Re: Using portage through NFS

2009-02-06 Thread Chris Lieb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Lieb wrote:
 I have read the guide on gentoo-wiki about setting up portage to work
 over NFS[0] and have it mostly working.  I have two issues that I would
 like to work out:
 
 1) I use sync-eix to update portage and my overlays (via layman).  I
 want the client to still be able to run sync-eix, but have it only run
 `emerge --metadata` (no `emerge --sync` or `layman --sync ALL`).  What
 do I need to change in the eix-sync.conf?  (Man, that's a long man page :) )
 
 Better yet, since my overlays are all in the exported NFS filesystem
 (hence, the eix database would be the same across all clients), is it
 possible to export my eix cache by hardlinking it into the NFS share?
 If so, how do I make the client's eix use this database instead of the
 one at /var/cache/eix?

I got eix working by hardlinking the cache on the server into the NFS
share and setting EIX_CACHEFILE in /etc/eixrc on the client to point to
the mounted NFS share.  All tests show that eix on both the client and
server works fine after changing this.

 2) I use the buildpkg feature on both the server and the client since
 the client can usually use the packages for its own installations
 (getbinpkg).  However, sometimes I require different use flags for the
 client, but I still want to keep the package locally so I can restore it
 later if I need to.  I have the NFS share mounted ro to keep the client
 from overwriting what is on the server, so I am guessing that portage
 will throw some kind of error when it tries to save the package to disk.
 
 I was thinking of getting around this by using some kind of union mount.
  However, I don't understand how union mounts work or if they can be
 used for my situation.  What I would like is to have some directory,
 lets say /var/lib/portage/packages, that I union mount on top of the
 exported NFS share, at /mnt/nfs_portage/packages.  I noticed in the
 Portage w/ SquashFS/aufs howto[1], they used aufs to create a rw layer
 on top of a ro SquashFS.  This sounds kind of what I want, except it
 appears that aufs is memory-backed instead of disk-backed.  Is this so?
  The clients are all strapped for memory, so a memory-backed fs won't be
 feasible.
 
 [0] http://en.gentoo-wiki.com/wiki/Sharing_Portage_over_NFS
 [1] http://en.gentoo-wiki.com/wiki/Squashed_Portage_Tree

After looking into aufs a little more and trying it, I discovered that,
in it's current state in the sunrise overlay, cannot fulfill my
requirements.  The most recent version of aufs does not have support for
mounting NFS filesystems (there might be a patch out there for it, but I
don't know how to configure this in an ebuild), and the last version of
aufs that supports NFS mounts doesn't work with newer kernels.

I don't want to do UnionFS since that requires me to patch the kernel,
which is more work than I have the time for.

Since I don't see any other options for stackable filesystems, I think
I'll just set the clients to not produce binpackages and wait for
UnionFS to get into the kernel or the Gentoo patchset.

Chris Lieb
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJjGwWAAoJEJWxx7fgsD+CxlcIAJwnlPvibmcdMGW/eNyaekYe
U1aGhsi09DoMU43aicKXNQ8p/rC2qwqXfocaxSXiBc4rrkrNpFhfTzPCDjwlhOSb
6fLtBpY7xo3m8CgP+g/Sv2tLFs4T/Gx4EqZ3TxfJh/xnvgUtFdlry+1BDqLPMsnl
XMJ5zetuJYZiOujoL4ZG8dS4Od0rVkomKegV0kP5pdiUbcdUN3tNMGMpa4pLvuIA
5DJtUfZk3Iyi5CyEqB/zNlUCmNS9z2hXHNw9y3pOVDQoeSCiufo+fGE8pUr6wXr9
sOy6EmmPvO5NQN/Z244smeWCgP8wNG6YSWEZik3lLU3Edw23VdeWA9KhOgNXAiQ=
=ypMH
-END PGP SIGNATURE-



[gentoo-user] Using portage through NFS

2009-02-05 Thread Chris Lieb
I have read the guide on gentoo-wiki about setting up portage to work
over NFS[0] and have it mostly working.  I have two issues that I would
like to work out:

1) I use sync-eix to update portage and my overlays (via layman).  I
want the client to still be able to run sync-eix, but have it only run
`emerge --metadata` (no `emerge --sync` or `layman --sync ALL`).  What
do I need to change in the eix-sync.conf?  (Man, that's a long man page :) )

Better yet, since my overlays are all in the exported NFS filesystem
(hence, the eix database would be the same across all clients), is it
possible to export my eix cache by hardlinking it into the NFS share?
If so, how do I make the client's eix use this database instead of the
one at /var/cache/eix?

2) I use the buildpkg feature on both the server and the client since
the client can usually use the packages for its own installations
(getbinpkg).  However, sometimes I require different use flags for the
client, but I still want to keep the package locally so I can restore it
later if I need to.  I have the NFS share mounted ro to keep the client
from overwriting what is on the server, so I am guessing that portage
will throw some kind of error when it tries to save the package to disk.

I was thinking of getting around this by using some kind of union mount.
 However, I don't understand how union mounts work or if they can be
used for my situation.  What I would like is to have some directory,
lets say /var/lib/portage/packages, that I union mount on top of the
exported NFS share, at /mnt/nfs_portage/packages.  I noticed in the
Portage w/ SquashFS/aufs howto[1], they used aufs to create a rw layer
on top of a ro SquashFS.  This sounds kind of what I want, except it
appears that aufs is memory-backed instead of disk-backed.  Is this so?
 The clients are all strapped for memory, so a memory-backed fs won't be
feasible.

Does anyone have any ideas or details on how I might implement this?

Thanks,
Chris Lieb

[0] http://en.gentoo-wiki.com/wiki/Sharing_Portage_over_NFS
[1] http://en.gentoo-wiki.com/wiki/Squashed_Portage_Tree



[gentoo-user] Using portage through NFS

2009-02-05 Thread Chris Lieb
I have read the guide on gentoo-wiki about setting up portage to work
over NFS[0] and have it mostly working.  I have two issues that I would
like to work out:

1) I use sync-eix to update portage and my overlays (via layman).  I
want the client to still be able to run sync-eix, but have it only run
`emerge --metadata` (no `emerge --sync` or `layman --sync ALL`).  What
do I need to change in the eix-sync.conf?  (Man, that's a long man page :) )

Better yet, since my overlays are all in the exported NFS filesystem
(hence, the eix database would be the same across all clients), is it
possible to export my eix cache by hardlinking it into the NFS share?
If so, how do I make the client's eix use this database instead of the
one at /var/cache/eix?

2) I use the buildpkg feature on both the server and the client since
the client can usually use the packages for its own installations
(getbinpkg).  However, sometimes I require different use flags for the
client, but I still want to keep the package locally so I can restore it
later if I need to.  I have the NFS share mounted ro to keep the client
from overwriting what is on the server, so I am guessing that portage
will throw some kind of error when it tries to save the package to disk.

I was thinking of getting around this by using some kind of union mount.
 However, I don't understand how union mounts work or if they can be
used for my situation.  What I would like is to have some directory,
lets say /var/lib/portage/packages, that I union mount on top of the
exported NFS share, at /mnt/nfs_portage/packages.  I noticed in the
Portage w/ SquashFS/aufs howto[1], they used aufs to create a rw layer
on top of a ro SquashFS.  This sounds kind of what I want, except it
appears that aufs is memory-backed instead of disk-backed.  Is this so?
 The clients are all strapped for memory, so a memory-backed fs won't be
feasible.

Does anyone have any ideas or details on how I might implement this?

Thanks,
Chris Lieb

[0] http://en.gentoo-wiki.com/wiki/Sharing_Portage_over_NFS
[1] http://en.gentoo-wiki.com/wiki/Squashed_Portage_Tree



[gentoo-user] Emerge question: What's with the @?

2009-01-13 Thread Chris Lieb
I've noticed lately on the ML that people have been talking about using
package sets, such as @world and @installed.  I figured it was a part of
portage 2.1.6* since using @world with 2.1.4* would result in an error
message about an invalid package atom.  However, after upgrading to
portage 2.1.6.4, I still get the same error when doing something like
'emerge -up @world'.

What are these package sets?  What is the difference between 'emerge -up
world' and 'emerge -up @world'?  Why don't these package sets ever work
for me?

Thanks,
Chris



[gentoo-user] Re: Emerge question: What's with the @?

2009-01-13 Thread Chris Lieb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nick Cunningham wrote:
 
 
 2009/1/13 Chris Lieb chris.l...@gmail.com mailto:chris.l...@gmail.com
 
 I've noticed lately on the ML that people have been talking about using
 package sets, such as @world and @installed.  I figured it was a part of
 portage 2.1.6* since using @world with 2.1.4* would result in an error
 message about an invalid package atom.  However, after upgrading to
 portage 2.1.6.4, I still get the same error when doing something like
 'emerge -up @world'.
 
 What are these package sets?  What is the difference between 'emerge -up
 world' and 'emerge -up @world'?  Why don't these package sets ever work
 for me?
 
 Thanks,
 Chris
 
 
 A set is basically just group of packages, you can either define you own
 using /etc/portage/ or using gentoo provided ones like @world and
 @system (which will replace the current emerge system/world usage
 eventually), aswell as useful sets such as @live-rebuild (any package
 that uses a cvs/svn/git eclass, so basically any - ebuild) and
 @module-rebuild which is handy for rebuilding kernel modules. Also id
 imagine meta-packages will eventually move over to sets as it makes
 rebuilding everything or removing it much easier, currently theres only
 kde4 that makes large usage of sets but id imagine once portage 2.20
 goes stable we'l see great set adoption.
 An easy way to see what sets are available is to use the emerge
 --list-sets command.
 
 -Nick

Thanks for the info.  The @module-rebuild should come in handy.  Any
idea on when we'll see 2.2* hit stable?

Thanks again,
Chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJbO1pAAoJEJWxx7fgsD+CClQH/iJudCvbWQmx5IT/CbGL7Rl2
N5TbYtTWhwGgd4xrhPJvlT3MvU4I207+W40lqmtnftaLQaPu+L4nzDervqsh3dlW
GPnq1u8v0ASksip/4ZIeC1jMPMTmjcCFagXPiZoouxvZd9YI83xxkLReZbmcniap
8BFGgFVn4M3iGWpma4h+ceYOECGjOxdQTDI5kcH31PHVBVzinYgWj6gm9SbRLEhf
7H0rS00eDSPndeE6192MBR4BY+gx+FbkmlwxTc7UzGVnCyAZCGN3YC+Sr2s0JwGX
VGtNV+mAcuk3byS6V2d0hxvzcMuHn3o6VrgspvDF6wda5wnwjjAjkW023baS3RU=
=QWDy
-END PGP SIGNATURE-




Re: [gentoo-user] Unable to build sys-kernel/hardened-sources-2.6.25-r9

2008-11-19 Thread Chris Lieb


Sergey Ovcharenko wrote:
 Chris Lieb пишет:
 I am attempting to switch a VM over to the hardened profile and the
 hardened kernel.  I have rebuilt almost all of the packages on my
 computer after switching to th hardened profile, save for a few kernel
 modules.  I have emerged hardened-sources-2.6.25-r9 and am trying to
 build it.  I tried copying the .config that I had used with
 gentoo-sources-2.6.25-r9 to /usr/src/linux (symlinked to
 /usr/src/linux-2.6.25-hardened-r9) and doing a `make menuconfig`
 followed by a `make  make modules_install`, but received an error
 almost right out of the gate.  The error concerns some part of the frame
 buffer driver.  Here is the output I get from make:

   CHK include/linux/version.h
   CHK include/linux/utsrelease.h
   CALLscripts/checksyscalls.sh
   CHK include/linux/compile.h
 dnsdomainname: Host name lookup failure
   CC  drivers/video/uvesafb.o
 drivers/video/uvesafb.c: In function `uvesafb_vbe_getpmi':
 drivers/video/uvesafb.c:593: error: `pmi_code' undeclared (first use in
 this function)
 drivers/video/uvesafb.c:593: error: (Each undeclared identifier is
 reported only once
 drivers/video/uvesafb.c:593: error: for each function it appears in.)
 make[2]: *** [drivers/video/uvesafb.o] Error 1
 make[1]: *** [drivers/video] Error 2
 make: *** [drivers] Error 2
   INSTALL drivers/crypto/geode-aes.ko
   INSTALL drivers/scsi/scsi_wait_scan.ko
   INSTALL drivers/usb/core/usbcore.ko
   INSTALL drivers/usb/host/ehci-hcd.ko
   INSTALL drivers/usb/host/uhci-hcd.ko
   INSTALL drivers/usb/storage/usb-storage.ko
   DEPMOD  2.6.25-hardened-r9

 The only way I can get rid of the error is to disable frame buffer
 entirely (Device drivers - Graphics support - Support for frame buffer
 devices), which is not optimal.

 Does anyone know what is causing this?

 Thanks,
 Chris

 Attached: `emerge --info` and .config being used
   
 Did you emerge sys-apps/v86d before compiling your kernel?
 I'm not sure if this is the case but when i build  a tuxonice-2.6.26
 kernel the uvesafb driver won't compile without  it.

The problem seems to have been fixed by a patch in
sys-kernel/hardened-sources-2.6.25-r10

Chris




[gentoo-user] Re: Unable to build sys-kernel/hardened-sources-2.6.25-r9

2008-11-18 Thread Chris Lieb
The problem seems to have been fixed in
sys-kernel/hardened-sources-2.6.25-r10

Chris

Chris Lieb wrote:
 I am attempting to switch a VM over to the hardened profile and the
 hardened kernel.  I have rebuilt almost all of the packages on my
 computer after switching to th hardened profile, save for a few kernel
 modules.  I have emerged hardened-sources-2.6.25-r9 and am trying to
 build it.  I tried copying the .config that I had used with
 gentoo-sources-2.6.25-r9 to /usr/src/linux (symlinked to
 /usr/src/linux-2.6.25-hardened-r9) and doing a `make menuconfig`
 followed by a `make  make modules_install`, but received an error
 almost right out of the gate.  The error concerns some part of the frame
 buffer driver.  Here is the output I get from make:

   CHK include/linux/version.h
   CHK include/linux/utsrelease.h
   CALLscripts/checksyscalls.sh
   CHK include/linux/compile.h
 dnsdomainname: Host name lookup failure
   CC  drivers/video/uvesafb.o
 drivers/video/uvesafb.c: In function `uvesafb_vbe_getpmi':
 drivers/video/uvesafb.c:593: error: `pmi_code' undeclared (first use in
 this function)
 drivers/video/uvesafb.c:593: error: (Each undeclared identifier is
 reported only once
 drivers/video/uvesafb.c:593: error: for each function it appears in.)
 make[2]: *** [drivers/video/uvesafb.o] Error 1
 make[1]: *** [drivers/video] Error 2
 make: *** [drivers] Error 2
   INSTALL drivers/crypto/geode-aes.ko
   INSTALL drivers/scsi/scsi_wait_scan.ko
   INSTALL drivers/usb/core/usbcore.ko
   INSTALL drivers/usb/host/ehci-hcd.ko
   INSTALL drivers/usb/host/uhci-hcd.ko
   INSTALL drivers/usb/storage/usb-storage.ko
   DEPMOD  2.6.25-hardened-r9

 The only way I can get rid of the error is to disable frame buffer
 entirely (Device drivers - Graphics support - Support for frame buffer
 devices), which is not optimal.

 Does anyone know what is causing this?

 Thanks,
 Chris

 Attached: `emerge --info` and .config being used
   



[gentoo-user] Unable to build sys-kernel/hardened-sources-2.6.25-r9

2008-11-17 Thread Chris Lieb
I am attempting to switch a VM over to the hardened profile and the
hardened kernel.  I have rebuilt almost all of the packages on my
computer after switching to th hardened profile, save for a few kernel
modules.  I have emerged hardened-sources-2.6.25-r9 and am trying to
build it.  I tried copying the .config that I had used with
gentoo-sources-2.6.25-r9 to /usr/src/linux (symlinked to
/usr/src/linux-2.6.25-hardened-r9) and doing a `make menuconfig`
followed by a `make  make modules_install`, but received an error
almost right out of the gate.  The error concerns some part of the frame
buffer driver.  Here is the output I get from make:

  CHK include/linux/version.h
  CHK include/linux/utsrelease.h
  CALLscripts/checksyscalls.sh
  CHK include/linux/compile.h
dnsdomainname: Host name lookup failure
  CC  drivers/video/uvesafb.o
drivers/video/uvesafb.c: In function `uvesafb_vbe_getpmi':
drivers/video/uvesafb.c:593: error: `pmi_code' undeclared (first use in
this function)
drivers/video/uvesafb.c:593: error: (Each undeclared identifier is
reported only once
drivers/video/uvesafb.c:593: error: for each function it appears in.)
make[2]: *** [drivers/video/uvesafb.o] Error 1
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
  INSTALL drivers/crypto/geode-aes.ko
  INSTALL drivers/scsi/scsi_wait_scan.ko
  INSTALL drivers/usb/core/usbcore.ko
  INSTALL drivers/usb/host/ehci-hcd.ko
  INSTALL drivers/usb/host/uhci-hcd.ko
  INSTALL drivers/usb/storage/usb-storage.ko
  DEPMOD  2.6.25-hardened-r9

The only way I can get rid of the error is to disable frame buffer
entirely (Device drivers - Graphics support - Support for frame buffer
devices), which is not optimal.

Does anyone know what is causing this?

Thanks,
Chris

Attached: `emerge --info` and .config being used
Portage 2.1.4.5 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 
2.6.25-hardened-r9 i686)
=
System uname: 2.6.25-hardened-r9 i686 Intel(R) Pentium(R) D CPU 3.40GHz
Timestamp of tree: Mon, 17 Nov 2008 03:31:01 +
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python: 2.5.2-r7
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS=x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=i686 -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /opt/openjms/config
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
/etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ 
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild 
/etc/terminfo /etc/texmf/web2c /etc/udev/rules.d
CXXFLAGS=-O2 -march=i686 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=buildpkg ccache colision-protect distlocks fixpackages 
metadata-transfer sandbox sfperms strict unmerge-orphans userfetch usersandbox
GENTOO_MIRRORS=http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/linux/distributions/gentoo;
LINGUAS=en
MAKEOPTS=-j4
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles 
--exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/portage/local/layman/java-overlay
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=acpi apache2 bash-completion berkdb cracklib crypt gpm hardened 
imagemagick imap ipv6 ldap logrotate logwatch maildir mcal midi mysql ncurses 
nls nptl nptlonly pam pcre perl php pic python qmail readline samba sasl snmp 
spamassassin sse ssl tcpd unicode urandom x86 xml2 xorg zlib 
ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m 
maestro3 trident usb-audio via82xx via82xx-modem ymfpci 
ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file 
hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug 
rate route share shm softvol APACHE2_MODULES=actions alias asis auth_basic 
auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file 
authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user 
autoindex cache cern_meta dav dav_fs dav_lock dbd deflate dir disk_cache dumpio 
env expires ext_filter file_cache filter headers include info log_config 
log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp 
proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling 
status unique_id userdir usertrack version vhost_alias ELIBC=glibc 
INPUT_DEVICES=mouse keyboard evdev KERNEL=linux LCD_DEVICES=bayrad cfontz 
cfontz633 glk