Re: [gentoo-user] Problem with vixie-cron

2006-03-07 Thread Dave Nebinger

Thiago Lüttig wrote:
Hi, i´m trying to automate a proccess with vixie-cron, so I edit the 
/etc/crontab file, and after run crontab /etc/crontab, i look into the 
log (/var/log/crond/current) and the following message apears: [cron] 
(*system*) BAD FILE MODE (/etc/crontab)

and my task was not executed. What´s wrong ?


First you do not want to put it into /etc/crontab.  Edit a file in your 
local directory.


Often it is better to crontab -l  local.crontab or some such so the 
file is populated with your current crontab entries, then edit it to add 
your new entry.


Finish that off by crontab local.crontab to get the addition loaded.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] package.provided syntax

2006-03-06 Thread Dave Nebinger

Harry Putnam wrote:

in package.provided:

  cvs-emacs-24


[snip]


emerge -vuDp app-editors/emacs-cvs


Don't you see that cvs-emacs is not the same as emacs-cvs, or was this 
just a typo on your part?


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happens with masked packages?

2006-02-27 Thread Dave Nebinger

Ciaran McCreesh wrote:

Anyway, part of the point of using a distribution is that it spares you
from having to know what's best for you.


That's a little harsh, Ciaran.  I did the linux from scratch thing.  Had 
a lot of fun with it.  Enjoyed being down in the bowels of the linux 
system and the total control over what was installed.  I knew what was 
best for me, I knew what my requirements were and built the box to 
satisfy those requirements.


Then after a few weeks of tracking freshmeat daily to see what updates I 
needed to download and apply manually, I stumbled upon gentoo and have 
been a happy gentoo'er since.  I never lost sight of what was best for 
me, what my requirements were.  I merely had to alter my processes to 
incorporate the automated nature that gentoo offers (what a relief that 
was ;-)


Your statement is probably true for all of the binary distribution 
folks.  But I doubt that you'll get many from this crowd that would say 
that we want or expect the gentoo team to know what's best for [us].



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accelerate emerge

2006-02-27 Thread Dave Nebinger

Hans-Werner Hilse wrote:

Why should prozilla or some other tool make the
download be faster? When I download something with
wget, or watch emerge invoking wget, it's always
maxing out the saturation of the line.


On my 1Gig line on my workstation at work it's usually _not_ saturizing
the line. But I decided that it's not very polite to use a parallel
fetching tool under these circumstances...


I would bet that has more to do with traffic shaping on your connection 
to the external world than anything to do with the local bandwidth, in 
which case you could probably parallel all you want w/o improving 
download performance.



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] tracking the life of an email.

2006-02-24 Thread Dave Nebinger

Nick Smith wrote:

i have setup a mailserver running qmail with clamav and spamassassin,
and it uses queue-scanner.  im still learning alot about administering
mail servers, and i was wondering, how can i track a message going
through the system? i know i can stumble through the log files, but
how do i know the exact route a message takes through my mailserver?
like from coming into the machine, being scanned by spamassassin,
being scanned by clamav, then passed to qmail to be delivered. where
can i see proof that it is actually doing all those steps?


Most of these components will issue messages to syslog using the 'mail' 
facility.  If you configure your syslog daemon to route messages from 
this facility to, say, /var/log/mail.log, you'll have all of the info 
you need.


If you're using syslog-ng, the following addition will do this for you:

destination mail { file(/var/log/mail.log perm(0644) ); };
filter f_mail { facility(mail); };
log { source(src); filter(f_mail); destination(mail); };

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How many GB for / partition?

2006-02-23 Thread Dave Nebinger

Uwe Thiem wrote:

3. because it is always better to have too much ram/swap then too little
Nnnnot always. There are circumstances when you do not want swap at all. 


This is never true.  Swap is *always* called for, and for a good reason.

Your example of having a real-time responsive app requiring memory 
residence is a determining factor of how much physical memory you'll 
need to keep the app resident.


But the truth of the matter is this will not be your only app running on 
the system.  Throw some big memory hogs into play, i.e. an active X 
session running locally and that remote X session you've started from 
work, and pretty soon you can find yourself eating up that 1gb that you 
thought would be fine.


Except that since you did not have any swap enabled, once you reach the 
1gb limit, processes start failing.  You find yourself unable to log 
into the box because there's not enough memory to spawn a new shell. 
You're forced to hard-boot the system and hope that the HD caches were 
flushed to the disk before you hit the reset button.


Having swap is just another manner of safe-guarding your system.  Once 
you breach the physical limit, there's always swap to fall back on. 
Sure all of your apps will suffer while swapping occurs, but at least 
you stand a chance of cleaning up the situation w/o facing the hard 
reboot option.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happens with masked packages?

2006-02-22 Thread Dave Nebinger

Thierry de Coulon wrote:

Where - and how - should I report masked packages that work?


You don't need to report success.  There are teams of folks who 'bless' 
the packages into unmasked status when they feel they are ready.


Your lack of reporting a bug is an indication that there is nothing to 
block the package from being promoted.



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] etc/host.conf: line 24: bad command `mdns off'

2006-02-21 Thread Dave Nebinger

Iain Buchanan wrote:


etc/host.conf: line 24: bad command `mdns off'

Any ideas?


How about removing line 24?  Or couldn't you think of that on your own?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] etc/host.conf: line 24: bad command `mdns off'

2006-02-21 Thread Dave Nebinger

Francesco Riosa wrote:

How about removing line 24?  Or couldn't you think of that on your own?


and you could not think that this kind of answer is _wrong_ under every
corner you could look at it ?


How about because that is set from the default installation and that 95% 
of the folks on this list couldn't even tell you what it is for and when 
it is appropriate to change the setting?


How about the high probability that this person is not running their own 
DNS and is using /etc/hosts for local name resolution?


Or how about the fact that glibc 2.3.6-r3 (as 2.3.6 in general) is 
masked in Portage indicating that you should expect problems if you're 
going to build your box on an unstable version of glibc?


Sure it is not the answer for someone running their own DNS (which I do) 
and has their .local zone defined (as I do), and in this case it might 
actually be a bug (which is probable since that version of glibc is 
still masked).


But without the OP specifying that he *was* running his own DNS and 
*had* his .local zone set up and *was known* to be able to handle a base 
system running from masked glibc, you can't assume that he's even 
slightly qualified to diagnose and resolve this issue.


So the simple answer of removing the line is probably the right one for him.




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] etc/host.conf: line 24: bad command `mdns off'

2006-02-21 Thread Dave Nebinger

Rumen Yotov wrote:


Or how about the fact that glibc 2.3.6-r3 (as 2.3.6 in general) is
masked in Portage indicating that you should expect problems if you're
going to build your box on an unstable version of glibc?


Please don't scare me, it's in testing (not masked). At least 2.3.6-r2|3.
-*2.3.6 *2.3.6-r1 ~2.3.6-r2 ~2.3.6-r3


In testing, yes, but it is still (soft) masked.

Glibc is the core of the system; if there is *any* package you *don't* 
install unless it is unmasked entirely, it would be glibc.


--
gentoo-user@gentoo.org mailing list



[gentoo-user] Why does portage want to downgrade?

2006-02-06 Thread Dave Nebinger

Here's the skinny:

I updated iptables from 1.3.4 to 1.3.5 this weekend.  Everything's cool.

Next 'emerge --update --deep world' wants to downgrade iptables back to 
1.3.4.


So I add '--tree' to see what package wants it downgraded, and it's 
shorewall.


I opened the shorewall ebuild, and it has a depend line for iptables 
stating: =net-firewall/iptables-1.2.4


Well, in my book both 1.3.4 and 1.3.5 are greater than the 1.2.4 dependency.

So I don't understand why portage thinks it needs to downgrade iptables when 
clearly shorewall should be happy with 1.3.5.


Anybody out there that can provide a clue?

TIA

Dave


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: ntp won't synchronize

2006-02-01 Thread Dave Nebinger

James wrote:
is ntpd dying?  ps -elf|grep ntp should show you something besides  
the grep.



Yep. Attempt stop it and start it again: /etc/init.d/ntpd start 
fails.
  


/etc/init.d/ntpd zap to clear out the invalid status, then do the 
'start' again.



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] stubborn distcc compile on localhost

2006-02-01 Thread Dave Nebinger

How is it shown file is compiled on localhost despite:

halinka ~ # distcc-config --get-hosts
192.168.0.2

Where of course localhost != 192.168.0.2

Any ideas what am I doing wrong ?


I think you need to add a line to your compile hosts like:

localhost/0

I believe this informs distcc not to try to compile on the local host at 
all but use the remote hosts.


Dave

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unknown service running on port 859/tcp

2005-11-06 Thread Dave Nebinger

netstat -pl | grep 859

This will give you the name of the process that's listening there.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Refresh my memory...

2005-11-06 Thread Dave Nebinger
I've got a couple of packages that insist on doing the upgrade/downgrade 
cycle...


What's the arg list to pass to emerge so I can see who's trying to downgrade 
my packages?


Thanks.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Using tar to backup my system

2005-11-03 Thread Dave Nebinger

# tar -zcvf /backup/mylaptop.tar /[all directories] except /backup (as I
don't want to go in circles).


You're going to want to exclude portions of /var, /dev, /proc  /sys, /tmp, 
...  You're also going to want to dig deeper into command line options to 
preserve ownership, links rather than hard files, etc.



# tar -zxvf mylaptop.tar


Ah, -z isn't needed because mylaptop.tar is not compressed.  The other 
larger problem is that it overwrites all files, regardless of whether they 
have been updated or not.


I guess really what I'm saying is no, it is not a good idea.  There's plenty 
of other backup solutions out there that would work better than this scheme. 
If you have a server and space for the file, rsync would even be a better 
solution.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags...

2005-10-24 Thread Dave Nebinger
On Monday 24 October 2005 06:13 pm, Eric Waguespack wrote:
  what
 would I do (short of a reinstallation) to recompile everything with
 these new USE flags?

emerge --newuse --emptytree world will rebuild everything applying the new use 
variable(s) to the mix.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge -u world won't update kde metapackages

2005-10-22 Thread Dave Nebinger
On Saturday 22 October 2005 04:07 pm, Robert Persson wrote:
 I know I can emerge kdebase-meta kdeaddons-meta kdeblahblahblah to get
 things up to date, but is there a way to get portage to actually deal with
 kde nicely like it used to?

Just emerge kde, you don't need to work with the meta packages themselves.  
The kde is itself a meta package and will ensure the sub-packages are kept up 
to date (at least that's how it's been working on my box).

Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] using g++ instead of gcc to build abiword

2005-10-22 Thread Dave Nebinger
On Saturday 22 October 2005 07:29 pm, Robert Persson wrote:
 The strange thing is that abiword-2.2.10 (the version I currently have
 installed) was only released last month sometime.  So between then and now
 something has changed on my system to prevent it compiling properly.  If
 gcc hasn't changed then what on earth could it be?

I think at this point you'll have to post some of the output generated when 
the ebuild fails before we'll be able to help you any further...

Just saying you're getting error on delete(void*) doesn't really provide much 
info in regards to what was happening at the time.

Dave
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] MySQL 5.0 unmasked, but what does the upgrade entail?

2005-10-21 Thread Dave Nebinger
The devs have finally un-hard-masked MySQL (still soft masked by ~x86 
keyword).  But, in their wisdom, they block the 4.1 to 5.0 unless you define 
MYSQL_STRAIGHT_UPGRADE=1 before starting the emerge.

I originally allowed ~x86 because I wanted the 4.1 version of the db, and 
everything has been working fine on my end.  But now it's time to consider 
whether or not to keep the ~x86 keyword and move to the 5.0 branch or remove 
it to stay at 4.1.

Has anyone out there done the 4 to 5 upgrade?  What will I need to do 
post-install to migrate my databases?

Also I hestitate to ask if I should do the upgrade; I know folks will say that 
it is still soft masked and that's a reason not to do it, but that kind of 
response I can do without.  A reason outside of the soft-mask that says why I 
should not upgrade would be a lot more valuable.

A google search did not turn up anything gentoo specific about the upgrade, 
but I'm still looking for general 4 to 5 upgrading procedures (hmm, maybe 
I'll even get to submit a wiki article or something ;-)

Thanks in advance!

Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PANIC !!!!

2005-10-21 Thread Dave Nebinger
 MySQL upgrade was painful, but the upgrade guide given
 in the einfo worked perfectly (THANK YOU Doc Team!).

Not so painless on my end...

Revdep-rebuild failed to identify that postfix and dspam were (somehow)
linked against missing mysql 4 libs.  Had to re-emerge them manually
(after realizing that the mail server was not receiving mail most of the
day), but after that things seem to be fine wrt the latest batch of
updates.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] syslog-ng can't be removed by rc-update

2005-10-19 Thread Dave Nebinger
On Wednesday 19 October 2005 12:26 pm, Rob wrote:
 I recently decided to use sysklogd instead of syslog-ng.  But the
 command rc-update del syslog-ng default will not remove the file from
 /etc/init.d.

rc-update del syslog-ng default just removes the link 
from /etc/runlevels/default; that's the directory that determines which 
services to start at system boot time.

Is it safe to remove manually from /etc/init.d?  Yeah, sure, I guess.  But the 
gentoo way would be to emerge -C syslog-ng and let emerge remove the files 
as it will drop all of the component pieces and not try to keep emerging 
updates when they come out.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] syslog-ng can't be removed by rc-update

2005-10-19 Thread Dave Nebinger
On Wednesday 19 October 2005 01:05 pm, Ciaran McCreesh wrote:
 On Wed, 19 Oct 2005 16:44:18 + Michael Kjorling

 [EMAIL PROTECTED] wrote:
 | On 2005-10-19 09:26 -0700, [EMAIL PROTECTED] wrote:
 |  I recently decided to use sysklogd instead of syslog-ng.  But the
 |  command rc-update del syslog-ng default will not remove the file
 |  from /etc/init.d.
 |
 | It should be deleted when you unmerge syslog-ng.

 No it shouldn't.

Okay, I'll bite, why shouldn't it?  If the package is unmerged, why would this 
file be kept on the system?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] syslog-ng can't be removed by rc-update

2005-10-19 Thread Dave Nebinger
On Wednesday 19 October 2005 02:08 pm, Ciaran McCreesh wrote:
 On Wed, 19 Oct 2005 13:22:45 -0400 Dave Nebinger [EMAIL PROTECTED]

 wrote:
 | Okay, I'll bite, why shouldn't it?  If the package is unmerged, why
 | would this file be kept on the system?

 CONFIG_PROTECT.

 If you think that the default behaviour is silly, try something like
 this in your make.conf:

 CONFIG_PROTECT_MASK=/etc/gconf /etc/init.d /usr/X11R6/lib/X11/xkb

No, I don't think it is silly, but based on a discussion on gentoo-dev 
recently I was under the impression it was not enabled by default (as I 
remember the poster was asking everyone to turn on config_protect to see if 
there were any other relevant defects that needed to be identified).
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] power loss when emerging

2005-10-19 Thread Dave Nebinger
On Wednesday 19 October 2005 03:38 pm, Allan Spagnol Comar wrote:
 Hi all, I had a doubt, I got a power loss when emerging gcc
 it was almost at final, when I do a emerge --resume, it beguns all
 over again so my doubt is if there a way to continue compilation
 from where it stops.


Nope.  The assumption is that there was an error in the previous build so it 
starts over with that package.  Even if you were to try the lower level 
ebuild command to try to manually kick it I don't think you'd be successful 
because it was still in the middle of an emerge phase when the failure 
occurred.

Just --resume and get yourself a cup of coffee, grab a smoke, go out to 
dinner, etc., and look forward to it being done when you get back.

Besides, gcc is part of the build tool chain so you really wouldn't want it to 
be broken in any way as it may (probably would) cause you more headaches down 
the road if portage weren't completely happy with it.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] power loss when emerging

2005-10-19 Thread Dave Nebinger
On Wednesday 19 October 2005 04:03 pm, Billy Holmes wrote:
 Allan Spagnol Comar wrote:
  over again so my doubt is if there a way to continue compilation
  from where it stops.

 sometimes, but you have to add

 FEATURES=keepwork to make.conf

 not all ebuilds will support it, and your /var/tmp/portage will get very
 large, very quickly.

 I send to use it on the command line: (example)

 FEATURES=keepwork emerge -avt vim

Keepwork will keep the results of the build process in /var/tmp/portage, but I 
didn't believe portage could pick up in the middle even if keepwork was 
set...
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] power loss when emerging

2005-10-19 Thread Dave Nebinger
On Wednesday 19 October 2005 04:58 pm, Billy Holmes wrote:
 Dave Nebinger wrote:
  Keepwork will keep the results of the build process in /var/tmp/portage,
  but I didn't believe portage could pick up in the middle even if keepwork
  was set...

 I will resume in the middle, based upon how the Makefile, autoconf, and
 dependancies are setup. Since the .o files are still there, the make
 process will skip them.

My experience has only been from the ebuild development side.  I know that 
ebuild checks timestamps on the directories to determine if a re-extract is 
necessary, but I wasn't sure if quitting in the middle of a compile would act 
as a similar trigger or not.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problems emerging stuff..

2005-10-19 Thread Dave Nebinger
On Wednesday 19 October 2005 04:59 pm, karlos wrote:
 Hi,

Hi Karstin, welcome to Gentoo!

 I am really bad in setting up internet/networks and that sort of thing, and
 I am having problems connecting to any of the ftp-servers for updating
 gentoo.

Helping to diagnose your problem would be a lot easier if you could specify 
the errors that you're encountering.  At this point we could only guess about 
firewall issues, timeout issues, connectivity issues, settings, etc.

Without a clearer indication (i.e. a screen dump of the failure), any advice 
you'd garnish here would be merely a guess.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Should emerge --sync be so slow?

2005-10-19 Thread Dave Nebinger
On Thursday 20 October 2005 01:19 am, A. Khattri wrote:
 On Wed, 19 Oct 2005, Richard Fish wrote:
  Well, you could try this:
 
  http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb
 
  Several people here (including me) are using this without any bad
  effects.

 I noticed this broke after the recent Python upgrade - I had to remove the
 module to run emerge.

Yes, but all you need to do is (as the python update ebuild reported but many 
of us missed) run python-updater and it would have resolved the issue.

It was due to relocation of the libraries for py 2.4 vs 2.3

Run python-updater and then restore the cdb module.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Ethereal compile error

2005-10-18 Thread Dave Nebinger
 i686-pc-linux-gnu-gcc -DINET6 -D_U_=__attribute__((unused)) -Wall -W -O
 -mcpu=i686 -march=athlon -fomit-frame-pointer -pipe -I/usr/local/include
 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
 -I/usr/lib/glib-2.0/include -o text2pcap text2pcap.o text2pcap-scanner.o
 -Wl,--export-dynamic  -pthread -L/usr/local/lib /usr/lib/libgmodule-2.0.so
 -ldl /usr/lib/libglib-2.0.so -lm -lz collect2: ld returned 1 exit status

Well the good news is that since you're getting this far, you're almost out of 
the woods...

As far as the radius warnings go, I got those also but it installed w/o them.

There are only minor differences between your command and the one my system 
issued:

i686-pc-linux-gnu-gcc -D_U_=__attribute__((unused)) -Wall -W -O 
-march=athlon -pipe -fomit-frame-pointer -I/u
sr/local/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API 
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I
/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/freetype2/config -I/usr/i
nclude/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -o text2pcap 
text2pcap.o text2pcap-scanner.o -Wl,--e
xport-dynamic  -pthread -L/usr/local/lib /usr/lib/libgmodule-2.0.so 
-ldl /usr/lib/libglib-2.0.so -lm -lz

The first is the INET6, I don't have ipv6 support enabled on my box (the -ipv6 
use flag).  The added defines for threads I'm not sure about, but I've got 
both nptl and the older thread support enabled (the nptl use flag).

Also mine didn't emit the -mcpu=686 argument for gcc; is this something you 
defined in your CFLAGS in /etc/make.conf?

Basically I would try the following:

1. Disable ipv6 if you are not using it.
2. Check your nptl/nptlonly use flags; if you have nptlonly set, it might be a 
threads issue.
3. Check your CFLAGS and possibly remove the -mcpu definition (as I remember 
that is supposed to be deprecated anyway).

Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Ethereal compile error

2005-10-18 Thread Dave Nebinger
On Tuesday 18 October 2005 11:06 am, Richard Fish wrote:
 In either case, the solution is the same: MAKEOPTS=j1 emerge ethereal.

Sorry, but I can attest to -j(n  1) works locally for me.  It is most likely 
not the issue.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Ethereal compile error

2005-10-18 Thread Dave Nebinger
On Tuesday 18 October 2005 11:56 am, Scott Tiret wrote:
 On Wed, 2005-10-19 at 00:20 +1000, Dan wrote:
  Please help -- I can't emerge ethereal and I would really like to use it.

 Try revdep-rebuild.  If it is not available emerge gentoolkit and try
 again.  You may have some missing links to the libraries.

 Good luck,

He got all the way to the last part where it builds doco for ethereal...  If 
it were truly a library issue it would have crapped out long before then.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Getting distribution name and release version

2005-10-18 Thread Dave Nebinger
On Tuesday 18 October 2005 02:25 pm, Scott Stoddard wrote:
 An easy, distro-independent, method for determining what distro,
 version, release, toolchain versioning, and/or portage timestamp can
 only help maintainers of heterogenous networks to do their jobs with
 less frustration.

Come on, folks, even though this thread has gone on just today it's gone on 
long enough...

Gentoo isn't LSB, nor will it be.  That much is a fact.

To think that LSB will solve the problems of maintainers of heterogenous 
networks is a clear indication that you haven't really read what LSB 
actually is or means.

What the original poster is going to find out is that a) gentoo does not 
support LSB and that b) gentoo is not alone.

This will leave them with the choice of limiting their tool to only LSB 
compliant distros or doing what the rest of the folks are and that's 
developing the code base to release onto the end nodes that will be managed.

Personally I'd opt for the latter, but then I don't have any say in what their 
choice will be.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to use EXTRA_ECONF?

2005-10-18 Thread Dave Nebinger
On Tuesday 18 October 2005 03:44 pm, Matias Grana wrote:
 On Tue, Oct 18, 2005 at 03:41:24PM +0200, Holly Bostick wrote:
  motub- useflag vim-with-x
  /usr/portage/profiles/use.local.desc:app-editors/vim:vim-with-x -
  Linking console vim against X11 libraries to enable title and clipboard
  features in xterm

 Aha! Now it seems that I have an old (or not so accurate)
 /usr/portage/profiles/use.local.desc:

 /usr/portage/profiles/use.local.desc:app-editors/vim:vim-with-x -
 Enables linking the console vim against X libs to enable some features
 in xterms

You're not out of sync, Holly is, possibly an upstream sync issue.

 This is why I neglected to see that clipboard and vim-with-x were
 related. But what I find confusing now is why I have this difference.
 How does one update the  use.local.desc  file? It seems not to belong to
 any package
 (tried  equery belongs /usr/portage/profiles/use.local.desc
 and didn't get any answer).

This file is resynced when you 'emerge --sync'; it is not owned by a package 
in portage.  If you look at the timestamp of the file it should match the 
date of your last sync.

For Holly's case, I'm wondering if she's syncing against a system that doesn't 
mirror that file from upstream?  Just a guess.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to use EXTRA_ECONF?

2005-10-18 Thread Dave Nebinger
On Tuesday 18 October 2005 04:34 pm, Holly Bostick wrote:
  For Holly's case, I'm wondering if she's syncing against a system
  that doesn't mirror that file from upstream?  Just a guess.

 I sync against the Netherlands rsync pool,
 SYNC=rsync://rsync.nl.gentoo.org/gentoo-portage.

 I suppose what you say is possible, but does not seem to be the case.

I figured you sync'd daily Holly; I wouldn't have expected any less. ;-)

The question is, however, if you and I both sync daily and, although file 
times suggest they have been updated, but the file contents are different, 
where would the problem lie?

The only guess I could come up with is the upstream mirror.  I sync against 
http://gentoo.osuosl.org/, and you're syncing against the netherlands pool.  
Either one themselves could be sync'd against another mirror which is sync'd 
against another mirror...

Somewhere along the line I'm guessing that perhaps this particular file is not 
fetched/updated for some reason which would leave one of us with an outdated 
copy.

I know mine comes out of CVS with the header 
$Header: /var/cvsroot/gentoo-x86/profiles/use.local.desc,v 1.1502 2005/10/18 
00:03:00 vapier Exp $, so I'm guessing that I have the later file.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Getting distribution name and release version

2005-10-18 Thread Dave Nebinger
On Tuesday 18 October 2005 08:32 pm, Phill MV wrote:
 That just leaves me with one question: is it really legally binding? Is it
 actually forseeable that someone might give me a hard time for say posting
 such an email verbatim on a website?

Legally binding, maybe  But enforcable, hardly.  Had the individual mailed you 
directly and you published it to the web, then you would have been violating 
the original intent of the sender, to establish a protected conversation 
between the two of you (or, from the company's perspective, to share 
privileged information with you, which you then made public).

However, as the OP posted his message to the mailing list which is of course 
archived, republished as digests, and generally available from the website.  
So there was no intent on his/their part to discretely share information with 
one or a few individuals.

Look at the guy that just got busted for releasing early information on some 
apple product (the ipod mini, I think?)  There's an example of what can 
happen if you share info that is given to you by a corporate entity and you 
go spreading it around.

But once the individual/company make it public (ala posting a message like 
that to the list), it no longer carries privilege with it, unless of course 
it contained information that you used in some way to develop a competing 
product/service, at which point you've opened a different can of worms...
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to use EXTRA_ECONF?

2005-10-18 Thread Dave Nebinger
On Tuesday 18 October 2005 07:00 pm, Holly Bostick wrote:
 are you saying that this line

 app-editors/vim:vim-with-x - Linking console vim against X11 libraries
 to enable title and clipboard features in xterm

 is not the same on your file, despite the identical header?

I mustbe getting old or something.  I swear when I looked at it before it 
matched the other guys and not yours.  Now mine matches yours.  I need to 
start drinking ;-)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Getting distribution name and release version

2005-10-18 Thread Dave Nebinger
On Wednesday 19 October 2005 12:09 am, Phill MV wrote:
 Well, it's just weird. What if said person is engaging in harassment? 

That's a separate can of worms altogether.  First you'd have to prove to the 
court that you are actually getting harrassed.  A statement like the one 
automagically appended would have nothing to do with that situation.

 Is it 
 then illegal to go about spam if they include the little disclaimer? 

Well, I think that's different as well.  The spammers want you to share the 
spam with your friends/family/coworkers as they want the clicks/sales.

A statement like the one that was on the OPs email would suggest that sort of 
thing was not wanted...

 It 
 doesn't make sense to me :P but oh well.

Me either.  I'm pretty much a novice when it comes to the law, but I've been 
known to crack open a few books when necessary.

Basically it's a CYA move by the companies to allow for litigation should one 
of their employees let something slip... 

 That's a different case. IIRC the guy who leaked the info on the iPod
 shuffle/Mac mini broke an NDA he signed with Apple - which is then
 perfectly legal. Trade secrets and the like, I suppose.

But I think had that been an internal apple employee that sent it to an 
individual without an NDA, just a buddy he wanted to give a heads up to, and 
that buddy posted it on the net, the court may look at the wording of the 
blurb and apply a similar ruling.

Then again, the whole thing might get thrown out by the court, but by that 
time you're bankrupt because you try to stand up for yourself.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /sbin/runscript.sh: line 32: /var/lib/init.d/softlevel: No such file or directory

2005-10-17 Thread Dave Nebinger
On Monday 17 October 2005 10:57 am, Thomas T. Veldhouse wrote:
 Is anybody seeing this in recent x86 stable?

 I just built a stock 2005.1 system on a classic Athlon platform and I am
 getting;

 /sbin/runscript.sh: line 32: /var/lib/init.d/softlevel: No such file or
 directory

softlevel just contains the name of the level that you booted under, most 
likely default on a line by itself.

It looks like this file is created when the system boots, as mine is dated for 
when my system was cycled last.

Possibly you could try hand creating this file, but if possible you might be 
better off recycling the system alltogether.

Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Best Tomcat performance?

2005-10-17 Thread Dave Nebinger
On Monday 17 October 2005 12:48 pm, A. Khattri wrote:
 Which combination of Tomcat and JVM gives the best performance?
 (or is this question not relevant?)

I'd say irrelevant.  Basically your performance will be controlled by the 
amount of memory you have, the number of child daemons you allow, and the 
basic speed of your system.

Each instance is going to require a big chunk of memory to stay resident and 
not get swapped out; if your limited on memory you're going to find yourself 
swapping like crazy and performance is going to blow.

You should try to identify how much memory each process is consuming then 
adjust the number of child processes to keep them within the amount of 
available memory.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Syslog-ng has shell port open...

2005-10-17 Thread Dave Nebinger
So I'm busy tracking down a tcp connection issue on my server and I see that 
*.shell is open (not a good thing).

So I do the 'netstat -pl' command to see who has that socket open and, low and 
behold, it happens to be syslog-ng.

So I'm thinking that's kinda odd, there's no reason that syslog-ng should have 
the shell port open for any reason.

Looking at my syslog-ng.conf file, the only sources I have defined are:

source src {unix-stream(/dev/log);
internal();
pipe(/proc/kmsg);
udp();
tcp(max_connections(10));
};

These, to me, do not look like they should result in an open shell port.

Anyone out there with ideas as to why it is opened by syslog-ng and how I can 
get it closed down?

Thanks!

Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Syslog-ng has shell port open... SOLVED

2005-10-17 Thread Dave Nebinger
On Monday 17 October 2005 02:00 pm, Dave Nebinger wrote:
 So I'm busy tracking down a tcp connection issue on my server and I see
 that *.shell is open (not a good thing).

 So I do the 'netstat -pl' command to see who has that socket open and, low
 and behold, it happens to be syslog-ng.

My bad.  Forgot that under tcp 544 is shell, but under udp 544 is syslog.  I 
had both tcp and udp open, which is why shell port was open.

Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what diz mean?

2005-10-17 Thread Dave Nebinger
On Monday 17 October 2005 05:19 pm, Gentoo Shadow wrote:
 tcp 0 0 10.1.0.64:33612 http://10.1.0.64:33612
 strategiy.com:httpESTABLISHED tcp 0 0 10.1.0.64:33621
 http://10.1.0.64:33621 strategiy.com:httpESTABLISHED

 so help me... what diz mean? why this?

It means there are two incoming HTTP connections to your box from 
strategiy.com.  Check your web server logs and you should be able to identify 
the resources they're hitting.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what diz mean?

2005-10-17 Thread Dave Nebinger
On Monday 17 October 2005 05:44 pm, El Nino wrote:
 i don't have a running web server. am just using my lap to surf de net. i
 thought some one accessing my lap over de net. what do u think?

My bad, first address is where the connection is from, second is where the 
address is to.

So from your OP, you are connected via http out to strategiy.com.

If you don't think it's your browser doing this, you can do a netstat -ap to 
print the program that has the connection open.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] automounter

2005-10-16 Thread Dave Nebinger
On Sunday 16 October 2005 04:34 pm, Matthew R. Lee wrote:
 I've been wrestling with this all weekend.  My last emerge --update world
 emerged dbus and hal.  Now usb storage devices are not mounted.  I've been
 getting the following message during boot:

I'm willing to bet that revdep-rebuild -p will show that automount needs to be 
re-emerged.  Revdep-rebuild (without the -p) will clean up all apps with 
broken library links for you.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reaching my network over the internet

2005-10-16 Thread Dave Nebinger
On Sunday 16 October 2005 09:18 pm, Nick Rout wrote:
 no, you just type:

 ssh my.network.com

 Depending on your setup you will probably need to set your
 firewall/router to forward port 22 to the machine you want to log into.
 Also make sure your ssh server is set up securely.

This last statement really needs to be highlighted for all of the newbies out 
there...

Just opening port 22 will expose your system to attempted break-ins.  If you 
look at your authorize.log (or relevant log depending upon your syslog 
config), you'll see after a couple of days different systems accessing ssh an 
trying to log in as root and/or other users.

Unless you really feel comfortable with your own security infrastructure, your 
best bet is to edit your /etc/ssh/sshd_config file and change the port number 
to only something you'd think of in the higher range of port numbers.

It will still be open, you'll still be able to hit the box from anywhere 
outside your network, but the different port number ensures that random port 
scans and breakin attempts will be significantly lower than if you just tried 
to use standard port #22.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem compiling lirc for streamzap with 2.6.14-rc3

2005-10-14 Thread Dave Nebinger
On Thursday 13 October 2005 11:10 pm, Shaw Vrana wrote:
 Hello again Gentooers,

 I'm attempting to get the streamzap remote working with lirc.  According to
 the howtos around, I've created LIRC_OPTS in make.conf with a value of
 --with-driver=streamzap. Emerging lirc afterwards, however, gives me
 the compilation errors attached.  Also, I get the message Streamzap is not
 Kernel 2.6 ready and will not be compiled.  Is this true or does it work
 out of the box?  I've seen both reports out there.  The 2.6.14-rc3 kernel
 I'm running seems to know the device and register it properly.

 Oct 13 17:47:40 kron kernel: usb 2-1: Product: Streamzap Remote Control
 Oct 13 17:47:40 kron kernel: usb 2-1: Manufacturer: Streamzap, Inc.
 Oct 13 17:47:40 kron kernel: usb 2-2: new low speed USB device using
 uhci_hcd Oct 13 17:47:41 kron kernel: usb 2-2: Product: PS2 to USB
 Converter

Shaw, there's nothing in the config.log file that meantions the streamzap 
driver.  The errors are the normal output of the configure script testing for 
environmental things (i.e. mingw compiler, libdnet.{a,so}, etc) and are not 
failures that you need to worry about.

Unfortunately there is no indication why it thinks it's not '2.6 ready'.

Do you have your /usr/src/linux link set to point at the kernel you're 
compiling for?

Also which version of lirc were you going after?
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] runscripts and niceness...

2005-10-14 Thread Dave Nebinger
Hey, for the /etc/init.d scripts based upon runscripts, is there a way to have 
it start a daemon using a different nice value?  I hate having to go in 
manually to bump postfix's niceness each time the system boots...

Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What's wrong with eix?

2005-10-13 Thread Dave Nebinger
On Thursday 13 October 2005 04:51 am, Holly Bostick wrote:
 root - eix cedega
 * app-emulation/cedega
  Available versions:  4.0 4.0.1 4.1 4.1[1]  4.1.1 4.2-r1 4.2.1 4.3
 4.3.1 4.3.2 4.4 4.4.1
  Installed:   4.4.1
  Homepage:http://www.transgaming.com/
  Description: Cedega replaces WineX, a distribution of Wine
 with enhanced DirectX for gaming

Sorry, Holly, but what exactly is the error you're seeing?  I get the same 
list (but not the overlay), but there is an ebuild for each one of these 
in /usr/portage/app-emulatiiin/cedega...

What did you expect to see?

Also, as a side note, eix had problems with the cdb portage some time back; if 
you'e running cdb you might want to disable it, emerge --meta, update-eix, 
then see if the problem still exists.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What's wrong with eix?

2005-10-13 Thread Dave Nebinger
On Thursday 13 October 2005 10:00 am, Holly Bostick wrote:
 In this particular example, version 4.4.3 is also available, but does
 not show as available under eix, though it does show as available via an
 emerge --search.

Ah, now I see.  So many versions I couldn't see the tree in the forrest.

Same thing on my end yet slightly worse; 4.4.2 is also available but does not 
show up under eix either.

  Also, as a side note, eix had problems with the cdb portage some time
   back; if you'e running cdb you might want to disable it, emerge
  --meta, update-eix, then see if the problem still exists.

 Thanks for the confirmation; I was figuring that cdb might have had
 something to do with it, being the only real possible culprit.

 I'll try that, hopefully it will fix things.

Well, obviously it's a defect in eix again.  I wouldn't call dumping cdb a 
'fix' as I wouldn't want to lose the performance increase I get by using it.

Guess I'll see what the EIX folks have to say about it...
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What's wrong with eix?

2005-10-13 Thread Dave Nebinger
On Thursday 13 October 2005 10:36 am, Dave Nebinger wrote:
 Well, obviously it's a defect in eix again.  I wouldn't call dumping cdb a
 'fix' as I wouldn't want to lose the performance increase I get by using
 it.

 Guess I'll see what the EIX folks have to say about it...

Opened a bug:  
http://sourceforge.net/tracker/?func=detailatid=710608aid=1325887group_id=128101

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What's wrong with eix? [SOLVED?]

2005-10-13 Thread Dave Nebinger
On Thursday 13 October 2005 10:36 am, Dave Nebinger wrote:
 Well, obviously it's a defect in eix again.  I wouldn't call dumping cdb a
 'fix' as I wouldn't want to lose the performance increase I get by using
 it.

 Guess I'll see what the EIX folks have to say about it...

Hmm, Holly I don't know if the same stream of events happened to you, but for 
me:

1. python update to 2.4, missed the python-updater warning.
2. re-emerged python-cdb to get portage working again.
3. verified missing cedega packages from eix database.
4. re-emerged eix
5. problem solved, cedega reports all versions.

Try re-emerging eix, rerun update-eix, then check the output.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Need help with eth0 on new computer

2005-10-13 Thread Dave Nebinger
On Thursday 13 October 2005 10:51 am, Michael Sullivan wrote:
 e100: eth0: e100_probe: addr 0xff91, irq 20, MAC addr 00:13:20:2B:98:18
 e100: eth0: e100_watchdog: link up, 100 Mbps, full-duplex
 eth0: no IPv6 routers present

You need to disable the ipv6 support unless you actually have an ipv6 uplink.  
It's probably some kernel setting or something that is trying to throw you 
into ipv6.

I use the -ipv6 use flag to disable ipv6 across the board and disable in the 
kernel config.

If you do the same (you'll need to rebuild everything tho :-( it will probably 
clean itself up and the card will come up fine.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Suggestions on partitioning HD

2005-10-13 Thread Dave Nebinger
1. Boot should be at most ext3, but ext2 is just fine (the only thing on this 
partition is kernel images and grub stages).  Keeping to this will mean less 
problems at boot time (grub users can tell you nightmares about 
reiserfs /boot partitions, and I'd guess that jfs would be in the same 
category).  50 meg is a nice round number although you can do with half that 
(I personally use 100mb but I've got a number of kernels installed there).

2. /opt does not need to be a separate partition.  Few gentoo things go there, 
so it is not worth maintaining a separate partition for (and wasting the 
possible space).

3. /home should be a separate partition, sized to your needs.

4.  I'm from the old school where we believe /var/tmp and /tmp should be 
separate partitions.  This is primarily before they were made partitions as a 
norm and were on the root partition; filling them meant filling / and also 
meant you would lose access to your box.

5. For gentoo I recommend using a separate partition for /usr/portage.  It's 
hard to nail down a size for this as portage tree keeps growing and the 
number of distfiles you might have is in flux.  Isolating it ensures that any 
growth issues are isolated to that branch.

6. /var is your choice whether to parrtition separately or not, but is 
probably a good idea.  /var/logs will grow over time, /var/spool is in 
constant flux, but the rest will typically remain kinda static (note this 
depends upon the apps you use; mysql houses it's databases under /var by 
default, and apache/tomcat use /var/www so that can chane also.

Sizing each of the areas is really personal preference; if you ask 10 
different gentooers you'll probably get 11 different responses at least.

Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Suggestions on partitioning HD

2005-10-13 Thread Dave Nebinger
On Thursday 13 October 2005 12:52 pm, Michael Crute wrote:
 I have a 120GB drive with a 32M /boot a /10 GB / and the rest of the disk
 dedicated to /home. The setup works wonderfully for me.

Ah, but it is a disaster waiting to happen.  If you fill your root partition 
you'll have difficulty getting back into the box (you'll need your live cd to 
chroot into your system and clean out the disk).

How can something like this happen?  Syslog filling up /var/log.  An influx of 
spam filling /var/spool/mail.  Never cleaning /usr/portage/distfiles but 
continually downloading package updates.

The root partition is your key to accessing your box.  You basically want to 
have only static files on the root partition, not files that are in a general 
state of flux.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Suggestions on partitioning HD

2005-10-13 Thread Dave Nebinger
On Thursday 13 October 2005 05:15 pm, Alexey Asprov wrote:
 Thanks for your reply. So, if that were your system, how much space you
 would give to /boot /swap / ( eliminating /opt) /home /var /tmp and  /usr?
 I just need rough numbers, so that my fresh install wouldn't get in
 trouble. I have 256 RAM and this is 10GIGs. Thanks again.

General rule of thumb is swap = 2 x ram, so 512mb swap.

That will leave about 9.25 gb left (must account for partitioning overhead).

I would probably do as follows:

/home - 2gb
/var - 1gb, rebind a section as /tmp to keep it all under this partition.  
Assumes you are not using the PORT_LOGDIR option, if you are add another 1gb.
/usr/portage - 1gb but you'll need to clean out distfiles regularly.
Whatever is left goes to /

Note that regardless of your partitioning, you're going to want to be very 
selective over what is installed on the system.  For example, choose gnome or 
kde, but not both (and set appropriate disabling use flags), or better yet a 
thinner window manager like icewm or something without the bulk/overhead of 
gnome/kde (which will struggle anyway due to low memory).

My system is allocated as:

cornholio src # df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/hda2  13G  7.6G  5.2G  60% /
/dev/hda1  99M   46M   49M  49% /boot
/dev/sda3 2.8G  356M  2.4G  13% /tmp
/dev/hdb1 3.9G  2.2G  1.7G  57% /var
/dev/sda2 3.9G  1.3G  2.6G  33% /var/tmp
/dev/hdc1  29G   23G  6.6G  78% /var/spool/news
/dev/hdb4 4.9G  3.3G  1.7G  67% /home
/dev/hdb2 3.9G  742M  3.1G  19% /usr/portage
/dev/sdb1 8.5G  463M  8.1G   6% /backup


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: synchronizing 2 portables

2005-10-13 Thread Dave Nebinger
On Thursday 13 October 2005 03:20 pm, James wrote:
 Yes, OK. I want to play with this manually for a few weeks, then I'll
 use buildpkg and PGKDIR. One last qustion. If the USE settings are
 identical and the CFLAGS are similar between an AMD and Intel, can I use
 the approach with one system being Intel and the other being AMD:

Nope.  Buildpkg bundles the stuff that was just compiled for the local 
architecture.  You'd have to disable pentium vs amd stuff (mmx vs 3dnow) and 
might even have to boil the CFLAGS down to a simpler x86 (not sure if 
natively built 686 executables run on amd, but going down to a 386 or 486 
would work).

In the end tho the hoops you'd have to jump through to make it work will mean 
sacraficing the performance increase you get by targeting a specific 
platform.

You'd almost be better of running a binary distrib rather than trying to 
figure out how to get this working.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] java nightmare

2005-10-12 Thread Dave Nebinger

 What to do? Can I safely ignore the revdep-rebuild messages?
I think you can safely ignore that (unless you're running java
applications that use sound/alsa). the java packages are binary, that
means that you don't compile it according to your use flags, you install
the whole package, so some libraries (like libalsasound.so) will
complain if you don't have alsa support. I'm having this problem with
opera and libXm but I just ignore it.


Thanks.


You might consider the alternate route of removing the offending 
libjsoundalsa.so file.


Of course, rather than simply /bin/rm'ing the thing away you might want to 
just relocate it temporarily.  Then do a revdep-rebuild -p to see if 
blackdown starts complaining about the missing file...


Another alternative is to install alsa.  Granted you won't be using it 
because you don't have the hardware, but it might be enough to have a clean 
revdep-rebuild.  Based on equery results, it looks like all you'd need to 
emerge is alsa-lib and alsa-headers, so you wouldn't be talking about a 
great deal of extra space...


Just a thought.

Dave

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] qpkg gone with gentoolkit update

2005-10-12 Thread Dave Nebinger

emerge portage-utils.  That will give you qpkg back (equery told me so ;-)

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] java nightmare

2005-10-12 Thread Dave Nebinger
Another alternative is to install alsa.  Granted you won't be using it 
because

you don't have the hardware, but it might be enough to have a clean
revdep-rebuild.  Based on equery results, it looks like all you'd need to
emerge is alsa-lib and alsa-headers, so you wouldn't be talking about a 
great

deal of extra space...

Wouldn't that entail some error messages at boot time?


Not as long as you're not loading the modules.  Lib  headers do not have 
any runtime (service) components, sothey shouldn't have an impact.


If they did, you would just need to remove them using rc-update.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] java nightmare

2005-10-12 Thread Dave Nebinger

OK, I'll try that. Or perhaps I give Sun a try, although I find the
hassle repulsive. After all, they're not charging for the product, so
what's the point of making downloading such a pain? Stupid, if they ask
me, which they don't, of course.


It's not gentoo's fault.  The website itself forces you to jump through 
hoops before the link works (make sure you click on the 'accept' radio 
button).


Ya know, these days, it's all about protecting your IP...

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bootstrap USE flags opinions?

2005-10-12 Thread Dave Nebinger
On Wednesday 12 October 2005 01:54 pm, Alexey Asprov wrote:
 Hi list again..

Hello Alexey.  Just a quick FYI: Your timezone does not appear to be set 
correctly; I can tell because your sent time is in the future ;-)

 I will attempt to bootstrap with following USE flags for the NPTL.
 I will not be using Gnome or KDE. I'd appreciate peoples opinion
 about them and welcome their examples of USE flags ( real working
 experiences) for bootstraping. This will be done for Pentium3
 machine, if this matters.

Hmm, well I can't tell you what to predict in regards to the list of flags 
that you generated.  The list is all over the place in regards to media and 
web flags, yet the -kde and -gnome will hogtie most of the resulting 
packages.

Use emerge --pretend to see what kind of results you'll actually get.

 Another question I'd like to ask if I need to include my CPU flags

In /etc/make.conf you define your CFLAGS to match your cpu.  In your case 
(which is just like mine) the following should suffice:

CFLAGS=-O2 -march=pentium3 -pipe -mcpu=i686 -fomit-frame-pointer
CXXFLAGS=${CFLAGS}

You might want to add the USE options for the supported mmx, mtrr, etc.  but I 
honestly can't tell you what effects they actually have on the builds.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Updating portage cache - slow, slower, slowest ever

2005-10-12 Thread Dave Nebinger
On Wednesday 12 October 2005 01:19 pm, kashani wrote:
 I did this to a few of my servers and it works well. Then I did it to my
 internal portage mirror. When my internal machine sync against it, it
 runs very slow... I'm not overly surprised, but I'd like some
 clarification on why that's happening. I suppose the fix would be two
 separate copies of portage. One for the machine and one to serve out of
 rsync that doesn't have the cdb stuff.

The cdb shouldn't have anything to do with rsync; rsync is just copying 
the /usr/portage tree, it doesn't interrogate the cdb store.

That's why after fetching emerge rebuilds the meta data, because that info is 
not rsync'd (or if it is, it isn't trusted by the local emerge so it rebuilds 
the meta data anyway).

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bootstrap USE flags opinions?

2005-10-12 Thread Dave Nebinger
On Wednesday 12 October 2005 08:17 pm, Alexey Asprov wrote:
 On Wed, 12 Oct 2005 11:21:08 -0400

 Dave Nebinger [EMAIL PROTECTED] wrote:
  On Wednesday 12 October 2005 01:54 pm, Alexey Asprov wrote:
   Hi list again..
 
  Hello Alexey.  Just a quick FYI: Your timezone does not appear to be set
  correctly; I can tell because your sent time is in the future ;-)

 Hello Dave. Why this can be so important? Yes, I set my local timezone
 to GMT. If it won't harm the system, who cares? Or, does it harm?
 And yes, I am in st.Petersburg (Russia), but I coudn't find any
 relevant timesone when I've installed Gentoo for the (3)rd time
 and thoght this would be fine. Does this interfere with my using
 and compiling the system?

Well, spamassassin flags the messages because they have the date in the 
future.  I've got a rule allowing messages from the list so it goes through, 
but some sites might block your email whether you know it or not.

From your local system perspective, no it really doesn't matter.  But being 
part of the internet means that you should be playing by internet rules, 
therefore having the right time/date for the system.

As far as compiling goes, it wouldn't matter either.  I'd worry about the 
rsync process as, since you are in the future, the timestamps from your local 
system and the remote rsync mirror might indicate to your system that you're 
newer than what the mirror thinks.

Enough preaching, I was just pointing it out in case you weren't aware.

 I have only found exaple with working ( as athour claims) USE flags for
 workingbootstraping . If you feel that some packages will hogtie, please
 advice on what USE flags have to be removed ( or added).

Well if you're not running X you can slim down quite a bit.  The list you 
included has all multimedia and stuff for more of a desktop system.  My 
server box has a much shorter list:

USE=-mbox -gnome -kde -X atm maildir cdr bzlib curl -emacs exif fam ftp 
gnutls -ipv6 kerberos libwww mime mmap mmx mng nptl pcre pic php perl sockets 
sse ssl sysvipc posix sasl shared sharedmem usb mysql xml cups pam imap aac 
apache2 bash-completion berkdb bidi bzip2 canna caps cjk clamav cpdflib crypt 
dbus dbx dio ethereal examples expat flac freewnn gd gdm javascript ncurses 
nls png jpeg junit ldap libclamav mcve ming openntpd mysqli nas netboot 
openal tcpd spl spell snmp sockets soap python samba vhosts xml2 zlib

  Use emerge --pretend to see what kind of results you'll actually get.

 Not sure what do you mean by that. Emerge -pv just estimating what packages
 have to be emerged.

It will show all of the dependencies as well as the package.  For example, you 
had gnomedb in your USE list, but -gnome also.  If you emerged a package that 
used the gnomedb flag, but gnomedb has dependencies upon gnome, you're either 
going to be looking at a  nasty message about a blocked package, the package 
won't install, or you'll get gnome anyway (note this is just an example, I 
don't know for sure what the gnomedb flag would incur).

 Thanks for your response, but probably some one added to USE flags in
 make.conf? And how did it go in bootstrapping? Also, to rephrase my
 original question do I have include all of them or only mmx, sse, mtrr as
 Dave suggested?

I did include them in my USE flags.  I don't have any clue what, if any, 
effect they have on the system.  Many of the USE flags have descriptions 
available, but I haven't seen any sort of cross-reference that says when USE 
flag X is set, Y happens as a result.

I look at these as clarifying the base system architecture, but do not have 
the same kind of impact as gnome/-gnome would have.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Palm with udev problem

2005-10-12 Thread Dave Nebinger

Googling turned up the following:

http://forums.gentoo.org/viewtopic-t-298123-view-previous.html?sid=7f00b2b96c8825e43147c9fddfe05cb6

try loading module usbcore with modprobe usbcore old_scheme_first=Y, or if 
its built in, then, boot with paramter usbcore.old_scheme_first=Y

http://www.linuxquestions.org/questions/showthread.php?s=threadid=370812

well i would assume that these devices are usb2.0,but you're only loading 
them using one of the usb1.1 modules. run a modprobe ehci_hcd to load the 
usb2 driver and try again. you might want to rmmod ohci_hcd to make sure 
that only the 2.0 driver can be used.

http://www.talkaboutsoftware.com/group/linux.kernel/messages/166276.html

This one says you need to run MAKEDEV usb, but I'm not sure this needs to 
occur on a udev box.

There is of course the wiki article for evolution, palm, and udev; perhaps the 
udev stuff will help: 
http://gentoo-wiki.com/HOWTO_USB_sync_for_Palm_PDAs_with_Evolution_2.0_and_udev

Or a more generic link that has udev/palm example: 
http://www.reactivated.net/udevrules.php



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Somebody's cleaning /usr/portage/distfiles and I want it to stop! ;-)

2005-10-12 Thread Dave Nebinger
Seriously, I purposely do not clean out distfiles because I don't want to 
refetch them every single time an -rn update comes out.

But I've been noticing that /usr/portage/disfiles has been cleaning itself.  I 
don't have any of the 'clean' type features set, and I don't have any cron 
tasks going in there and cleaning it out, so what gives?

And why is it only happening on one of my two gentoo systems?  emerge --info 
is the exact same (minus some USE flag differences)...

I'm truly at a loss for this one.  None of the obvious suspects appear to be 
in play, and I don't know where to go look next...

Suggestions?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Somebody's cleaning /usr/portage/distfiles and I want it to stop! ;-)

2005-10-12 Thread Dave Nebinger
 Are you running http-accelerater and repcacheman on one?

http-replicator, not accelerator, but it does run repcacheman on a monthly 
basis (on the 30th).  The cleanups appear to be more frequent than that, 
however, so I didn't really consider it to be the cause.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Somebody's cleaning /usr/portage/distfiles and I want it to stop! ;-)

2005-10-12 Thread Dave Nebinger
On Thursday 13 October 2005 12:48 am, Justin Patrin wrote:
 Are you running http-accelerater and repcacheman on one?

Oh, and both use /var/cache/http-replicator as the source dir, 
not /usr/portage/distfiles.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Shell through the web

2005-10-11 Thread Dave Nebinger
On Tuesday 11 October 2005 07:37 am, Steve [Gentoo] wrote:
 I'm also vaguely hopeful that there may
 be a more efficient lower-level solution which wouldn't require the
 overhead of a process to 'pass-on' the tcp data... maybe integrated with
 ipchains or pf or similar?

If you choose to roll your own solution, that would be difficult.  Youve 
already accepted the connection, so the firewall is now configured to allow 
the packets back and forth only when related to your connection.

Without 'exec()'ing a child process to retain the open file handle, you'll be 
forced to proxy the packets on your own.

And since you don't want to exec an instance of apache (hm, perhaps an 
instance of a lightweight web proxy instead, hmm) it will be less general 
overhead to proxy packets on your own.

Technically the proxy development is not difficult, but for newbies it can be 
frustrating working out the nuances of processing asynchronous data arriving 
on one pipe let alone two.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gentoo in a tight placeWHACK-A-MOLE

2005-10-11 Thread Dave Nebinger
On Tuesday 11 October 2005 12:32 pm, maxim wexler wrote:
 But now grub wont work at all.
 there's either a crash or the thing
 boots to an error message such as end_request: I/O
 error, dev fd0, sector 0. Needless to say the floppy
 drive is fine. Or, The file /boot/grub/stage1 not
 read correctly

Maxim I had a similar thing happen when grub went thru an upgrade on the box 
that I missed.  Next boot resulted in grub complaining.  Re-installing grub 
to the MBR fixed it (using the version of grub that was installed on the box, 
not the grub on the knoppix cd).

Have you tried that?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gentoo in a tight place

2005-10-11 Thread Dave Nebinger
On Tuesday 11 October 2005 02:36 pm, Hemmann, Volker Armin wrote:
 I have three or four kernels in /boot and have 16mb... way enough

I've got a 100MB /boot partition, and with 12 kernels I'm still only using 
50%...

cornholio ~ # df -h /boot
FilesystemSize  Used Avail Use% Mounted on
/dev/hda1  99M   46M   49M  49% /boot

cornholio ~ # ls /boot
System.map-2.6.11-gentoo-r4   System.map-2.6.13.2   
config-2.6.12.3-firewall  vmlinuz-2.6.11.7
System.map-2.6.11.11  boot@ config-2.6.12.4 
  
vmlinuz-2.6.12
System.map-2.6.11.6   config-2.6.11 config-2.6.13   
  
vmlinuz-2.6.12.2
System.map-2.6.11.6-bridgeconfig-2.6.11-gentoo-r4   config-2.6.13.2 
  
vmlinuz-2.6.12.2-firewall
System.map-2.6.11.7   config-2.6.11.11  grub/   
  
vmlinuz-2.6.12.3-firewall
System.map-2.6.12 config-2.6.11.6   
initrd-2.6.11-gentoo-r4   vmlinuz-2.6.12.4-firewall
System.map-2.6.12.2   config-2.6.11.6-bridge
kernel-2.6.11-gentoo-r4   vmlinuz-2.6.13
System.map-2.6.12.2-firewall  config-2.6.11.7   lost+found/ 
  
vmlinuz-2.6.13.2
System.map-2.6.12.3-firewall  config-2.6.12 vmlinuz-2.6.11.11
System.map-2.6.12.4   config-2.6.12.2   vmlinuz-2.6.11.6
System.map-2.6.13 config-2.6.12.2-firewall  
vmlinuz-2.6.11.6-bridge
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Updating portage cache - slow, slower, slowest ever

2005-10-11 Thread Dave Nebinger
  you may find this link very helpfull:
 
  http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb

 OohVERY scary. Not where I want to go for a problem like this.
 I'll wait for the developers to make that sort of thing part of the
 baseline setup. I couldn't administer it if it broke.

Trust it, Mark, it works great!  I've been using CDB for like 9 months now.  
I've had only one problem with it (the recent python 2.3 to 2.4 upgrade, I 
missed the fact that I was to run python-updater, so the CDB stuff was not 
automagically upgraded on it's own).

It's very quick, EIX supports it, and it works like a charm.

Dave
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] How to wipe windows for gentoo w/possibility of restoration...

2005-10-11 Thread Dave Nebinger
I've got a laptop.  It has a working win xp system on it (plus all apps, etc).

I want to wipe windows off of it and put gentoo on it.

But, after gentoo is up and running, I'd like to create a partition to restore 
the windows partition to.

Laptop has a CD burner for storing the data.

But I'm kinda at a loss on how to proceed.  Obviously it is more complicated 
than just doing a fresh install because I'd lose all of the applications, 
etc. (including the installed drivers, registry, etc.).

Anyone out there know if such a thing is possible?

Thanks!

Dave

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] before I upgrade the kernel

2005-10-11 Thread Dave Nebinger
On Tuesday 11 October 2005 10:18 pm, Mark wrote:
 Is there a way I can apply all of the options I set last time I ran make
 menuconfig to the new kernel I just downloaded, or do I have to go through
 all the settings again?

1. cd /usr/src
2. tar xjf /path/to/downloaded/kernel.tar.bz2
3. cd linux-new-kernel
4. make mrproper
5. cp ../path.to.old.kernel/.config ./.config
6. make oldconfig

7. make  make modules_install  cp .config /boot/config-new-version  cp 
System.map /boot/System.map-new-version  cp 
arch/i386/boot/bzImage /boot/vmlinuz-new-version  /bin/rm -f /usr/src/linux 
 ln -s /usr/src/linux-new-kernel /usr/src/linux  vi /boot/grub/menu.lst

A little terse, but yes.  make oldconfig pulls in your existing .config file.  
It will prompt for new offerings not part of your old .config, usually the 
suggested default at the prompt is the way to go.

When managing your own kernel, don't forget to a) install the modules (plus 
any other third party modules (i.e. nvidia driver modules) or your new kernel 
will give you grief, and b) recreate your /usr/src/linux symlink to point at 
the new kernel.

Those steps above are the ones that I typically take (yes, folks will say to 
use make install, but I'm still from the old school.

The only part of the rote script above that I'm unsure about is the System.map 
stuff.  I know it gets generated when the kernel is built, I know most 
systems have them in /boot, but for the life of me I never a) found out what 
it was for, b) found out if it had to be in /boot and if it had to be a 
special name (i.e. /boot/System.map explicitly), and c) why I even bother in 
the first place.

Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] before I upgrade the kernel

2005-10-11 Thread Dave Nebinger
On Tuesday 11 October 2005 10:39 pm, Hemmann, Volker Armin wrote:
 Hand copiing and editing grub.conf/menu.lst is just not needed.

Come on, Volker, don't begrudge me a little fun ;-)

I like seeing my 12 kernels listed all nice and neat in the list.  Maybe one 
day I'll have a need to revert back to that 2.6.11 kernel.  Probably not, but 
at least I know it's 2.6.11 and not 'current kernel' vs 'previous kernel'.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Updating portage cache - slow, slower, slowest ever

2005-10-11 Thread Dave Nebinger
On Wednesday 12 October 2005 12:58 am, Francesco Talamona wrote:
 Yesterday, after python update (dev-lang/python-2.4.1-r1), emerge
 refused to work, I had to comment both lines in /etc/portage/modules
 and reemerge dev-python/python-cdb.

 It wasn't a stopper,  but it worth mention.

That was the part I mentioned earlier.  I think if you caught the note to run 
python-updater after the python upgrade it would have covered this.

Basically what happens is that, without running python-updater, you've got a 
number of python packages installed in /usr/lib/python-2.3/site-packages (or 
something like that).

After the python 2.4 upgrade, those packages are no longer available, as 2.4 
is looking for them in /usr/lib/python-2.4/site-packages (or whatever).

Running python-updater is supposed to get those old guys moved from 2.3 to 2.4 
so everything works.

Unfortunately if that message about running python-updater floats by in the 
middle of updating a bunch of packages it is easy to miss, and before you 
know it you think your system is majorly screwed.

I posted a message to gentoo-dev asking for an enhancement to portage that 
would collect the messages generated in the pkg_postinstall phase and 
re-report them after all packages have completed.  Fortunately it is already 
an enhancement that is on the list, but it's not clear when it will be 
released.  In the meantime I'm going to check out ENOTICE  
http://dev.gentoo.org/~eldad/ to see if it will work as a short-term 
solution.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gentoo in a tight place

2005-10-10 Thread Dave Nebinger
 I was going to use this disk to help diagnose/repair
 the 120G which is down.

Um, maybe I missed something Maxim.  Do you have a cdrom?  If so, just boot 
from a knoppix cd.  Comes with tons of repair tools already on it.  Then you 
wouldn't have to struggle with trying to get that small drive into a bootable 
state...

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Is this a memory thing?

2005-10-09 Thread Dave Nebinger
Just scanning my logs and found the following entry:

Oct  9 07:44:08 butthead MCE: The hardware reports a non fatal, correctable 
incident occurred on CPU 0.
Oct  9 07:44:08 butthead Bank 2: 9400417a

I'm assuming since it says 'bank 2' it's referring to a problem with one of 
the ram slots...

Can anyone confirm my assumption?

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] making my own router

2005-10-07 Thread Dave Nebinger
 Sound OK so far?

Yup, same setup I'm using (kinda).  Works out very well.

 Next steps I think are figuring out how to provide DHCP
 to both internal subnets from the same Gentoo box, and
 what gateway address(es) the clients should use.

The gentoo box is the gateway.  Assuming it is 192.168.{0,1}.1,
that would be the address to feed to the internal network boxen.

DHCP is easily configured to serve based upon the card, you just
need to dig into the config file to get it set up.  Don't forget
to add iptables rules to block DHCP traffic coming or going on
the card connected to the network; you don't want to offer DHCP
to anyone outside of your internal network.

Along with DHCP you might want to add a caching DNS proxy on the
gateway box.  This will simplify the network settings of the
internal systems (everything network-related would point to the
gateway).

 Finally, I need to be able to do port-forwarding from the
 outside to a specific host on one of the internal subnets.
 Can I do that?

Yes, it's all done via iptables.  You'll need to chain it up; the
cable modem forwards to the firewall which forwards to the gentoo
box which forwards to the specific host.  You'll have to get all
of the DNAT stuff right along the way.

 One quandary I have is regarding the hardware firewall. We have
 money invested in it, but does it buy me anything now that we are
 creating the 2 separate subnets? Should I just sell it and let
 the Gentoo box be the firewall as well?

As one poster said it will offer another layer of protection, but...

Personally I found it unwieldy to maintain iptables rules in such a
fashion.  If traffic can't get to/from a destination you'll have like
5 points of failure: the local box, the switch, the gentoo box, the
firewall, and finally the cable modem.

And with the correct iptables rules in place your gentoo box will
be just as secure as the firewall appliance.  It also offers you the
opportunity to see all incoming traffic, not just the traffic the
firewall appliance allows.  So, for example, I have the ssh port open
on the gentoo box but it is basically a honey pot; folks trying to
connect there get automatically added to the blacklist and traffic
is blocked from them permanently.

I'm not sure how feature-full your firewall appliance is, but the ones
that I was using had limited port forwarding capabilities (10 to be
exact).  Once I wanted to start hosting basic services, I quickly
consumed those ports (imap, pop3, ssh, ident, smtp, ftp, http/s, ...).

This however might not be a problem for you.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Personal Gentoo mirror

2005-10-05 Thread Dave Nebinger
On Thursday 06 October 2005 12:38 am, kashani wrote:
 John Jolet wrote:
  I was asked a similar question today at work.  we have some new  gentoo
  servers that do not have outbound access to the net.  We'd  like to have
  a local mirror.  Is there a howto?

 I run a proxy server for the servers without access. That might be
 easier than having a local mirror. Once the proxy is set add this to the
 other machines' /etc/make.conf

 http_proxy=proxyhost.yourdomain.com:3128

 kashani

Do a google search for http-replicator.  It's what I use and it works very 
well.

Each gentoo box has it's /etc/make.conf pointed at http-replicator running on 
a gentoo box on the gateway.  They each operate independently requesting 
files, but they are only retrieved from external sites once.  First hit 
downloads at regular speeds, other hits (from remote boxes) are as fast as 
the internal network speeds.

Comes with a script to add to /etc/cron.monthly to clean up old files.

I don't remember there being an ebuild in portage, but I've got one in my 
overlay I'd be willing to share.

Dave
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Digest verification failed!

2005-10-03 Thread Dave Nebinger
 I can't figure out how to get past it.

After changing the ebuild, type ebuild mailman-xxx.ebuild digest.  This
fixes the digest values.

You should then be able to emerge mailman w/o resync.


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Get those strange questions ready...

2005-10-03 Thread Dave Nebinger

Because gen-ux is temporarily offering free Gentoo support (thanks slashdot
for the heads-up).


http://www.gen-ux.com/node/16


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Why would portage not update a package?

2005-10-02 Thread Dave Nebinger
Okay, I finished an emerge --update --deep world this morning.  Everything 
was cool.

This afternoon, however, I decide I want to install eclipse to migrate a 
windows java development effort to my gentoo box.

Did an emerge --pretend dev-util/eclipse-sdk to see what I was going to get.

I was surprised to see it wanting to emerge ant-core because I thought I 
already had it in place, so a quick eix call results in:

[EMAIL PROTECTED] ~ $ eix ant-core
Search results: 1
* dev-java/ant-core
 Available versions:  1.5.4-r2 1.6.2-r5 ~1.6.5-r2
 Installed:   1.6.2
 Homepage:http://ant.apache.org/
 Description: Java-based build tool similar to 'make' that uses 
XML configuration files.

So obviously it is in there, in my world file and everything.

The question is, shouldn't portage have updated to the latest -r5 ebuild as a 
result of the --update --deep world update previously?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Why would portage not update a package?

2005-10-02 Thread Dave Nebinger
On Sunday 02 October 2005 07:03 pm, Zac Medico wrote:
 The likely explanation is that ant-core is not a dependency (direct or
 deep) of your world list.

Ah, but if it is installed it must have been a dependency somewhere or in 
place as a result of a direct emerge.

Eix and emerge both knew it was installed and that it needed to be updated at 
the point when I was going to emerge eclipse.

So I don't think that answer covers it...

 One way to verify is with emerge -a 
 depclean.  If you want to keep any of the depclean packages then you
 should add some to /var/lib/portage/world.

I haven't played with depclean so I'm going to have to look into that.

So far I've taken the if it's not broke, don't fix it path in regards to the 
portage subsystem.  Up until this incident I didn't think it was broke.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Why would portage not update a package?

2005-10-02 Thread Dave Nebinger
On Sunday 02 October 2005 08:25 pm, Mike Williams wrote:
 On Monday 03 October 2005 00:49, Dave Nebinger wrote:
   The likely explanation is that ant-core is not a dependency (direct or
   deep) of your world list.
 
  Ah, but if it is installed it must have been a dependency somewhere or in
  place as a result of a direct emerge.

 At some point, yes. Doesn't mean it is so now.

Well I should have qualified it by saying that I don't clean out packages; 
when I install something it is because I want to try it out and/or use it.  
When I stop using the package, it still stays installed.

So the dependency should still exist and be valid.

  Eix and emerge both knew it was installed and that it needed to be
  updated at the point when I was going to emerge eclipse.
 
  So I don't think that answer covers it...

 Is the eix database upto date? Are you really sure ant-core is actually
 installed? You said it wanting to emerge ant-core, that suggests to me
 that ant-core isn't installed, unless you meant it wanting to
 upgrade/update ant-core.

Eix is updated every night after the emerge --sync completes.  You'll have to 
go back to the original post but eix (as well as emerge --search but I didn't 
include that output) shows that ant-core is installed.

The emerge --pretend did report that mozilla and eclipse were new, but 
ant-core was an update.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /var/db/pkg deleted

2005-10-01 Thread Dave Nebinger
Note the date the message was sent:

On Thursday 15 July 2004 09:10 pm, Javier Uribe wrote:
 El Sáb 01 Oct 2005 21:06, Yoandy Rodriguez escribió:
  Try this http://gentooexperimental.org/script/repo/show/28

 Thanks

 solved :D

Now that you have that fixed, Javier, you might want to take a look at how to 
set the date on your system.  Either that or you live in some kind of 
timewarp where you posted this in 2004 and it's just now being delivered...

;-)


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Right recipe for gentoo-user procmail

2005-09-30 Thread Dave Nebinger

Just set up the following recipe for postfix/courier-imapd/procmail:

:0
* ^(From|Cc|To).*gentoo-user
$HOME/.maildir/.Gentoo.User/new/

Sound about right?

Guess I'll find out before many of you can even reply ;-)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] unable to execute i386-pc-linux-gnu-gcc

2005-09-30 Thread Dave Nebinger
On Friday 30 September 2005 10:22 pm, Brett I. Holcomb wrote:
 Any ideas on how to fix this?

/sbin/fix_libtool_files.sh

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] [Completely and totally OT] FVWM-Crystal...!!!

2005-09-29 Thread Dave Nebinger
 Were I you, I would consider:
 
  - If keeping X, switching to the absolute most minimal wm possible
 (twm, ratpoison, ion), to see what effect that had.
  - If downstepping from X, investigating what programs run under
 DirectFB  and seeing what effect that had.
  - If going cold-turkey off X, seeing how far you get with the
 command-line and ncurses programs.

I would also add the following: remoting X.  X is a hog, as Holly said, but
there's no reason the X server would need to run on the same box as the
ongoing recording session.

Running two systems, one running X and handling the gui operations, and one
running your audio apps, might provide enough of the separation to reduce
the latency on the audio box.  Of course the two cards should probably be
connected with at least a 100mb Ethernet connection (to eliminate the
overhead of dealing with the network conversations for X).

Another possibility might be your choice of filesystems (assuming the
recordings are going to disk).  Different filesystems have inherent latency
based upon their design - journaling adds overhead, btree maintenance in
reiser adds overhead, etc.  Just using a simple ext2 filesystem for the
initial recording followed by backups to a modern filesystem may have a
measurable impact.

Going back to X, it is a hog both in cpu cycles and in memory; you mention
having an amd64 but no quotes on memory.  My assumption is that such a
system has a big chunk of memory, but I've learned what happens when one
assumes.  Obviously a lack of sufficient memory can cause you some swapping
issues whether you were aware of it or not.


-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Newest version of OpenOffice (2.0rc1) in portage?

2005-09-29 Thread Dave Nebinger
 When I do emerge --search openoffice it does not show a 2.0 version as
 being available. Is this because I need to unmask something or because
 nothing past 1.1.4 is available in the ports yet?

cornholio configures # eix openoffice
* app-office/openoffice-bin
 Available versions:  1.1.1 1.1.4-r1 1.1.5 [M]2.0.0_rc1
 Installed:   none
 Homepage:http://www.openoffice.org/
 Description: OpenOffice productivity suite

Clearly it is out there, but it is hard-masked, which is a fairly good
indication that you shouldn't play around with it just yet.

Source-based distro does not appear to be available, but you can check the
bugs database to see if an ebuild has been submitted.  Also look to the
gentoo wiki for alternate ebuild sources, there may be one floating around
out there somewhere.

attachment: winmail.dat

RE: [gentoo-user] Newest version of OpenOffice (2.0rc1) in portage?

2005-09-29 Thread Dave Nebinger
 When I do emerge --search openoffice it does not show a 2.0 version as
 being available. Is this because I need to unmask something or because
 nothing past 1.1.4 is available in the ports yet?

cornholio configures # eix openoffice
* app-office/openoffice-bin
 Available versions:  1.1.1 1.1.4-r1 1.1.5 [M]2.0.0_rc1
 Installed:   none
 Homepage:http://www.openoffice.org/
 Description: OpenOffice productivity suite

Clearly it is out there, but it is hard-masked, which is a fairly good
indication that you shouldn't play around with it just yet.

Source-based distro does not appear to be available, but you can check the
bugs database to see if an ebuild has been submitted.  Also look to the
gentoo wiki for alternate ebuild sources, there may be one floating around
out there somewhere.

attachment: winmail.dat

RE: [gentoo-user] no ebuild what to do?

2005-09-29 Thread Dave Nebinger
 I'd like to install dekagen but there are no ebuilds
 for it. I suppose I could just unpack it and follow
 the INSTALL doc but is that the appropriate gentoo
 way?

It's the general unix way of doing things, so sure it fits into gentoo also.
Ebuilds are not really necessary unless you believe a lot of other folks
will be using the same package.

That said, having written some ebuilds lately, I can tell you for the most
part the process is pretty easy.  Start with an ebuild for a package that is
similar to what you're going to install, make the various changes for the
package (the gentoo doc for the ebuilds is your best friend here), and drop
it into your overlay.  If you want to release it, it goes easily into
bugs.gentoo.org.

If you don't want to do the ebuild yourself, and you believe at some point
in the future someone else might get one into portage, you can always use
the ./configure script to install to /usr/local - it would still be
available yet allows for future emerging should it get added.



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to expect from emerge --newuse --emptytree world re: etc-update

2005-09-28 Thread Dave Nebinger
  I'm getting ready to dive into the apache2 install on my server.
  In preparation for this I needed things I wasn't using before like
  IMAP (see thread on web mail systems), MySQL, and ldap.
  
  Being the good little gentoo boy I updated my USE flags to include
  these and other settings that I plan to use but didn't have in before.
  
  And since my USE flags changed, I'm in the middle of doing the
  emerge --newuse --emptytree world (it's actually going quite well;
 
 hum, that seems like a bit of overkill. wouldn't emerge --newuse world
 have sufficed? If you only added imap, mysql, and ldap, there should
 only be fewer than 150 packages out of 417 that needs to be
 recompiled. 
 
Well there were actually quite more use flags than that.  To prep for
apache I added the jpeg, png, xml  xst, php and a bunch of other
related flags.  Some of them are probably overkill, but it seemed to be
a significant enough change to the USE flags that I thought may touch on
more of the installed components than such a short list.

The --emptytree as well might be overkill, don't know for sure.  I
thought it would be the safer option to ensure that dependencies, etc.,
would be covered.  Either way it is too late now as the recompiling is
almost finished.

  out of 417 packages, only scotty failed due to some sandbox violations
  that I'm not worried about right now).
  
  But that's got me wondering - am I going to be looking at hundreds
  of /etc updates?
 
 something like that, yes. 
 
 BUT, if you are like me and do not modify most of the configuration
 files, LOTS of those files in /etc will get handled automatically by
 etc-update... you only need worry about those files you have changed
 from the defaults. 

I tend to get into many of the configuration files for one reason or
another adding or removing options that are specific for my site (and I
guess I'm a control freak ;-)

So on the majority I would be looking at many updates.

  So if I am looking at hundreds of /etc updates that I don't really
  want to have to wade through, what would be the easiest way to purge
  them all?
 
 My find syntax is a bit rusty, but I think running the following as
 root might do it: (you can sub -f for -i if you are real adventurous)
 
 find /etc -name ._cfg00* -exec /bin/rm -i {};

That's the route I'm probably going to take.  Thanks Willie!

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Update portage cache ... horribly slow

2005-09-28 Thread Dave Nebinger
 It's very very slow and I dont know why. So my question is could I some
 way turn off this cache?

I've had a lot of luck with the cdb patch for portage.  It's mentioned in
the gentoo wiki.  I haven't measured to see how syncs are impacted but
regular portage stuff seems faster.


-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] keeping hosts file in sync

2005-09-28 Thread Dave Nebinger
 Whats the best way to keep several /etc/host files in sync ?

The easiest way is not to bother.  Use a local dns server to provide host
lookups.

I believe on the gentoo wiki you'll find a setup for a caching dns proxy
where the most lookups will be forwarded to a regular dns but you can still
provide local host lookups and reverse lookups.

Works great for me and I don't have to worry about whatever /etc/hosts
contains.  Also ensures that new windows clients added to the network don't
need their files updated, either.


-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Update portage cache ... horribly slow

2005-09-28 Thread Dave Nebinger
 Dave Nebinger schreef:
  It's very very slow and I dont know why. So my question is could I
  some way turn off this cache?
 
 
  I've had a lot of luck with the cdb patch for portage.  It's
  mentioned in the gentoo wiki.  I haven't measured to see how syncs
  are impacted but regular portage stuff seems faster.
 
 
 
 This sounds quite interesting, but I can't find any mention of this
 patch on the Wiki, even after two searches on the Wiki and 3 on Google.
 I feel pretty dumb, since Paweł clearly found it easily, but I can't.

http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb

Dave



-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] OT: Web mail suggestions...

2005-09-27 Thread Dave Nebinger
  Can you guess which webmail package I've been attempting to subjugate
  for the past couple of hours?
 
 Ive seen a lot of admins struggle with Horde - and then move on to
 SquirrelMail ;-)

Anyone out there using eGroupWare?  Looks good on the site and it would
appear to use most of the standard tools...


-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] OT: Web mail suggestions...

2005-09-27 Thread Dave Nebinger
  Anyone out there using eGroupWare?  Looks good on the site and it would
  appear to use most of the standard tools...
 I've got it installed.  I like the looks of it a lot, but my mail users
 are
 real os users, and you have to add the egroupware users into it's
 database.
 so i'd have to add everyone twice, and password changes would be a
 nightmare.
 so I pretty much don't use it.  I like the product, though, if I had
 virtural
 users.

Cool.  This is going on my home system so, whilst I would have double user
headaches, since I'm only talking about 5 users it shouldn't be a problem.


-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] java issues

2005-09-27 Thread Dave Nebinger
 /var/tmp/portage/struts-1.2.4-r2/work/jakarta-struts-1.2.4-src/src/share
 /org/apache/struts/action/Action.java:27: package javax.servlet does not
 exist
 [javac] import javax.servlet.ServletResponse;
 
 Does anyone have any suggestions?

Update your classpath before trying the emerge?


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] What to expect from emerge --newuse --emptytree world re: etc-update

2005-09-27 Thread Dave Nebinger

I'm getting ready to dive into the apache2 install on my server.
In preparation for this I needed things I wasn't using before like
IMAP (see thread on web mail systems), MySQL, and ldap.

Being the good little gentoo boy I updated my USE flags to include
these and other settings that I plan to use but didn't have in before.

And since my USE flags changed, I'm in the middle of doing the
emerge --newuse --emptytree world (it's actually going quite well;
out of 417 packages, only scotty failed due to some sandbox violations
that I'm not worried about right now).

I've got about 10 hours left on the recompiles (estimated), so tomorrow
morning the next step will be to handle any /etc updates.

But that's got me wondering - am I going to be looking at hundreds
of /etc updates?

If I am, I'm certain I don't need them as my existing configs are
all working fine.

So if I am looking at hundreds of /etc updates that I don't really
want to have to wade through, what would be the easiest way to purge
them all?

Thanks in advance,

Dave

-- 
gentoo-user@gentoo.org mailing list



  1   2   3   >