[gentoo-user] gthumb gdk_pixbuf_get_width: assertion `pixbuf != NULL'

2005-09-14 Thread Arkady Grudzinsky
Hi,

I have emerged gthumb-2.6.5 on my machine. I have not noticed any
errors during installation. However, when I start gthumb from the
terminal, I get the following messages:

(gthumb:24708): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed

(gthumb:24708): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed

(gthumb:24708): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

The application starts, but it always says No image in the thumbnails
window. As I switch to a directory containing some jpegs from my
camera, I get a bunch of additional messages:

** (gthumb:24708): CRITICAL **: gth_image_list_append_with_data: assertion `pixbuf != NULL' failed

I didn't count, but I assume that the number of these messages is equal
to the number of images in the directory. And the thumbnail
window still says No image.

Any suggestions? It appears to me that gthumb is unhappy about
some dependency. All dependencies seem to be there. One
more detail. The file browser on the left lacks folder
icons. I have read some reports of similar problems with other
Gnome applications using GTK and Gnome themes, but nothing that would
suggest a solution for my problem.

On my laptop, I have compiled Linux from scratch manually and gthumb
has the same problem there. I use XFCE as window
manager. I have not explicitly installed Gnome. Is that a
problem? Does gthumb have some dependency which is not explicitly
stated?

Your help will be highly appreciated.

Arkady.


[gentoo-user] xine-ui installation

2005-09-14 Thread Arkady Grudzinsky
Hi, 

As I run emerge --pretend xine-ui, I get the following output:

Calculating dependencies ...done!
[ebuild N ] net-misc/curl-7.13.2 
[ebuild N ] media-libs/libogg-1.1.2 
[ebuild N ] media-libs/libvorbis-1.1.0 
[ebuild N ] kde-base/kde-env-3-r3 
[ebuild N ] media-libs/libmad-0.15.1b 
[ebuild N ] x11-libs/qt-3.3.4-r3 
[ebuild N ] kde-base/arts-3.4.1-r2 
[ebuild N ] dev-lang/nasm-0.98.39-r1 
[ebuild N ] media-libs/libsdl-1.2.8-r1 
[ebuild N ] media-libs/libdvdcss-1.2.8 
[ebuild N ] media-libs/xine-lib-1.0.1-r3 
[ebuild N ] media-video/xine-ui-0.99.3 

I would like to avoid installation of kde and qt components on my
machine and I know that Xine can run OK without them. How can I
do that? I specified -kde -qt in my USE, but that does not
change the output of emerge --pretend.

Also, as far as I know, arts is also optional. Alsa does the job. How can I make emerge to do what I want?

Thanks.

Arkady.


Re: [gentoo-user] xine-ui installation

2005-09-14 Thread Luigi Pinna
Alle 08:36, mercoledì 14 settembre 2005, Arkady Grudzinsky ha scritto:
 Hi,

 As I run emerge --pretend xine-ui, I get the following output:

 Calculating dependencies ...done!
 [ebuild N ] net-misc/curl-7.13.2
 [ebuild N ] media-libs/libogg-1.1.2
 [ebuild N ] media-libs/libvorbis-1.1.0
 [ebuild N ] kde-base/kde-env-3-r3
 [ebuild N ] media-libs/libmad-0.15.1b
 [ebuild N ] x11-libs/qt-3.3.4-r3
 [ebuild N ] kde-base/arts-3.4.1-r2
 [ebuild N ] dev-lang/nasm-0.98.39-r1
 [ebuild N ] media-libs/libsdl-1.2.8-r1
 [ebuild N ] media-libs/libdvdcss-1.2.8
 [ebuild N ] media-libs/xine-lib-1.0.1-r3
 [ebuild N ] media-video/xine-ui-0.99.3

 I would like to avoid installation of kde and qt components on my
 machine and I know that Xine can run OK without them. How can I do
 that? I specified -kde -qt in my USE, but that does not change the
 output of emerge --pretend.

 Also, as far as I know, arts is also optional. Alsa does the job.
 How can I make emerge to do what I want?

 Thanks.

 Arkady.

You can use emerge -pv xine-ui and you can see your flags.
If you have the arts flag, it needs probably the qt library. I don't 
know about kde-env...
Luigi
-- 
Public key GPG(0x073A0960) on http://keyserver.linux.it/


pgpMJtPMhEPRM.pgp
Description: PGP signature


Re: [gentoo-user] xine-ui installation

2005-09-14 Thread Nagatoro

Luigi Pinna wrote:

You can use emerge -pv xine-ui and you can see your flags.


Or even better emerge --pretend --tree --verbose xine-ui to see what 
package requires what other package


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



Re: [gentoo-user] Enabling DMA on SE7520BD2S

2005-09-14 Thread Jaroslaw Kapica

Honestly, maxim, if your original statement was over the poster's head
(no offence; English is not everyone's first language, and everybody is
not necessarily *good* with language, native or not), quoting the
Oxford English Dictionary at 'him' is not really helpful.


Was it really definition from Oxford English Dictionary?
Sory but I've nevner saw it ;]


Jaroslaw, if your motherboard has an  Intel E7520 chipset, neither the
nvidia nor the Ali modules are going to help you. Did you try


Yes, I expected that, but I loose nothing trying.


CONFIG_BLK_DEV_PIIX, as Christoph suggested (I saw you took his other
suggestion of removing CONFIG_IDE_GENERIC)?


I knew from the begining that it has to be CONFIG_BLK_DEV_PIIX, coz 
nothing, else seem to fit. But I was always including CONFIG_IDE_GENERIC 
(in my short adventure with linux:) and I didn't notice any difference 
till now.



Jarek

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xine-ui installation

2005-09-14 Thread Arkady Grudzinsky
Thanks! That helped. libsdl had +arts by default which pulled qt and other kde stuff.

Arkady.On 9/13/05, Luigi Pinna [EMAIL PROTECTED] wrote:
Alle 08:36, mercoledì 14 settembre 2005, Arkady Grudzinsky ha scritto: Hi, As I run emerge --pretend xine-ui, I get the following output: Calculating dependencies ...done! [ebuild N ] net-misc/curl-
7.13.2 [ebuild N ] media-libs/libogg-1.1.2 [ebuild N ] media-libs/libvorbis-1.1.0 [ebuild N ] kde-base/kde-env-3-r3 [ebuild N ] media-libs/libmad-0.15.1b [ebuild N ] x11-libs/qt-3.3.4-r3
 [ebuild N ] kde-base/arts-3.4.1-r2 [ebuild N ] dev-lang/nasm-0.98.39-r1 [ebuild N ] media-libs/libsdl-1.2.8-r1 [ebuild N ] media-libs/libdvdcss-1.2.8 [ebuild N ] media-libs/xine-lib-1.0.1-r3
 [ebuild N ] media-video/xine-ui-0.99.3 I would like to avoid installation of kde and qt components on my machine and I know that Xine can run OK without them. How can I do that? I specified -kde -qt in my USE, but that does not change the
 output of emerge --pretend. Also, as far as I know, arts is also optional. Alsa does the job. How can I make emerge to do what I want? Thanks.
 Arkady.You can use emerge -pv xine-ui and you can see your flags.If you have the arts flag, it needs probably the qt library. I don'tknow about kde-env...Luigi--Public key GPG(0x073A0960) on 
http://keyserver.linux.it/


Re: [gentoo-user] glib with nptl

2005-09-14 Thread Jorge Almeida

On Tue, 13 Sep 2005, Richard Fish wrote:


If so, I suspect hardware problems:

1. Dirty/bad CPU fan.  Try blowing out your system.

2. Bad memory.  In addition to memtest86, there was another (and better) 
memory test script discussed on this list some weeks ago.  Search the 
archives, or maybe someone else can provide a link.


3. Bad power supply.


Also, assuming that you have ACPI thermal zone support in your kernel, you 
might want to monitor the processor temperature with:


while sleep 1 ; do cat /proc/acpi/thermal_zone/THRM/temperature; done


Richard,

Thanks a lot for your suggestions.  I suspect memory problems, due to
the output of equery depends and the output of emerge mozilla.  I
downloaded a binary of gcc-3.3.4 and managed to compile mozilla with it
(but still no joy with equery). Then I compiled gcc-3.3.6 and tried
again with gcc-3.3.6.  Failure again. 
I rebooted. Mistake! We're talking about a remote computer, and I lost

contact (won't be able to go there for a week or so). Kernel panic,
maybe. Since I didn't touch kernel nor grub, everything points to hw
failure. The computer is less than 1 year old :( 
I usually monitor the hd's temperature with hddtemp (always very good

temperature) but never did anything of the kind with other hardware
components, being unable to find my way through lmsensors documentation.
I'll try your script when (or if) this mess gets cleaned up.

Regards,

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



Re: [gentoo-user] OT: Any interest in a postfix/milter bridge?

2005-09-14 Thread Nick Rout
every mail filter I need fits nicely into postfix. Which one are you
having problems with?


and I don't think this is the place to discuss enhancements to postfix,
go join postfix-user and discuss it with the developers.


On Tue, 2005-09-13 at 22:21 -0400, Dave Nebinger wrote:
 I'm currently running postfix as my mail system.  Unlike a recent post which 
 assumed that postfix was overkill compared to sendmail, I tend to feel the 
 opposite, that sendmail is bloated much more than the more simplified 
 postfix.
 
 However, when looking for spam blockers, virus checkers, and other message 
 processors, you will typically find multiple sendmail milter implementations 
 as opposed to the postfix filter implementation.
 

 
-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Bash prompt

2005-09-14 Thread Charles Trois

Hello!

I am getting confused with profile, bashrc, etc.
The prompt string I want to use is

PS1=[EMAIL PROTECTED] \W]\$ 

I therefore wrote it in /etc/profile (at two levels, root and non-root), 
~/.bash_profile and ~/.bashrc.


If I log in as a plain user (moi), I get this:

[EMAIL PROTECTED] moi]$

which is all right. But, if I log in as root, I get the basic default

bash-2.05b# .

I thought that /etc/profile should provide the default, but I was 
obviously wrong. Trying to mend things, I created two files 
/root/.bash_profile and /root/.bashrc, writing just PS1 in each. Now, 
logging in as root, the result is


[EMAIL PROTECTED] root]$

which is wrong, since $ appears in place of #, as though my syntax 
of PS1 were incorrect, but I don't see that it is.


How am I to clean up all this? I'll be grateful for all suggestions.

Charles



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage logs

2005-09-14 Thread Nick Rout
On Tue, 2005-09-13 at 13:55 +0200, Frank Schafer wrote:
 So genlop isn't a reason to not change the names of the log files, is
 it?

Point taken (in fact i didn't know genlop got its stats
from /var/log/emerge.log, i thought it got them from /var/log/portage/*

I suggest that you submit a bug at bugs.gentoo.org or join the
gentoo-dev list and post about it there. This list is NOT the place to
change gentoo, as I have said before, not many dev's hang about on this
list, and we are fortunate to have the few who do!

Worthwhile discussion though, and it does help to iron your thoughts out
here before going to the experts on bugzilla or -dev.

 
 Both type of user could be happy. Th one, which uses a bunch of nifty
 tools and the one who uses UNIX commands (hmmm... nifty tools too ;)
-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] mailman stopped working after upgrade

2005-09-14 Thread Nick Rout
On Tue, 2005-09-13 at 18:54 -0700, Daevid Vincent wrote:
 Why did portage re-install the same version of mailman (r4) over and
 over? 
 
 daevid init.d # genlop -l | grep mailman


pass, next question...

However you can investigate further by seeing what else was being
emerged at the same time, and seeing if there is some trigger. something
like:

genlop -l | grep mailman -A5   (gives the 5 preceding lines as well)

genlop -r will also give your rsync times.
-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bash prompt

2005-09-14 Thread Hans-Werner Hilse
Hi,

On Wed, 14 Sep 2005 11:15:13 +0200
Charles Trois [EMAIL PROTECTED] wrote:

 I am getting confused with profile, bashrc, etc.
 The prompt string I want to use is
 
 PS1=[EMAIL PROTECTED] \W]\$ 
 
 [...]
 I thought that /etc/profile should provide the default, but I was 
 obviously wrong. Trying to mend things, I created two files 
 /root/.bash_profile and /root/.bashrc, writing just PS1 in each. Now, 
 logging in as root, the result is
 
 [EMAIL PROTECTED] root]$
 
 which is wrong, since $ appears in place of #, as though my syntax 
 of PS1 were incorrect, but I don't see that it is.

That's probably due to multi level backslash escaping. Because you
surrounded the prompt string with , the backslash isn't surviving the
first parser run by bash. You'd need to double it or even triple it
(because the $ may need escaping on the first level, too).

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



Re: [gentoo-user] mailman stopped working after upgrade

2005-09-14 Thread Neil Bothwick
On Wed, 14 Sep 2005 10:56:32 +0100, Neil Bothwick wrote:

 On Wed, 14 Sep 2005 21:23:15 +1200, Nick Rout wrote:
 
  genlop -l | grep mailman -A5   (gives the 5 preceding lines as well)
 
 Don't you mean -A5? -A gives the following lines. -C may be better,
 which gives both. 

Of course I meant -B5, as you probably did. Has someone been messing
with our keyaobrds? :) 


-- 
Neil Bothwick

To whom the gods destroy, they first teach Windows...


pgpvE1UrAsgfg.pgp
Description: PGP signature


Re: [gentoo-user] to mail or not to mail

2005-09-14 Thread Nick Rout
On Tue, 2005-09-13 at 23:12 +0200, Antoine wrote:
 Billy Holmes wrote:
  Antoine wrote:
  
  tux ~ # sendmail [EMAIL PROTECTED]
  hithere
 
  sendmail: Cannot open mail:25
  
  
  ssmtp always uses a smart host. It can't deliver mail by itself.
  
  edit /etc/ssmtp/ssmtp.conf, make your changes (use your ISP's mail 
  server), and I personally turn on FromLineOverride=yes. You may have to 
  set your hostname in the file, too.
 
 I will give that a try but I seem to be making at least some progress 
 with sendmail (in fact it wasn't properly installed and I had to 
 uninstall ssmtp and reinstall to get it working...) I also had to 
 hardcode /usr/sbin/sendmail.sendmail into php.ini cos 
 /etc/mail/mailer.conf doesn't look like it's working but anyway -
 
 tux ~ # php /home/antt/tmp/test.php
 [EMAIL PROTECTED] Connecting to [127.0.0.1] via relay...
 [EMAIL PROTECTED] Deferred: Connection refused by [127.0.0.1]
 pMessage successfully sent!/ptux ~ #
 
 Obviously it wasn't successful, and I have done something silly here...
 This is frustrating!
 Cheers
 Antoine

You aren't the only one with such a problem, I just tried to register on
the jahshaka.org forum (phpBB) and it tells me:


 General Error 

 
Failed sending email :: PHP :: 

   DEBUG MODE
   Line : 234
   File : emailer.php


-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bash prompt

2005-09-14 Thread Holly Bostick
Charles Trois schreef:
 Hello!
 
 I am getting confused with profile, bashrc, etc. The prompt string I 
 want to use is
 
 PS1=[EMAIL PROTECTED] \W]\$ 
 
 I therefore wrote it in /etc/profile (at two levels, root and 
 non-root), ~/.bash_profile and ~/.bashrc.
 
 If I log in as a plain user (moi), I get this:
 
 [EMAIL PROTECTED] moi]$
 
 which is all right. But, if I log in as root, I get the basic default
 
 
 
 
 
 bash-2.05b# .
 
 I thought that /etc/profile should provide the default, but I was 
 obviously wrong. Trying to mend things, I created two files 
 /root/.bash_profile and /root/.bashrc, writing just PS1 in each. Now,
  logging in as root, the result is
 
 [EMAIL PROTECTED] root]$
 
 which is wrong, since $ appears in place of #, as though my 
 syntax of PS1 were incorrect, but I don't see that it is.

No, it's not incorrect, but if you wrote the exact same PS1 in the root
entry as in the user entry, perhaps you see that there's a 'literal'
dollar sign character at the end:

PS1=[EMAIL PROTECTED] \W]\$ 

which is going to be printed as itself, as you are not using any code to
change it to the 'correct' character based on user (perhaps bash thinks
you've escaped the closing bracket, not the following $. A space
between the bracket and the \$ might solve this, but I've never really
got /$ to work properly. It may, however, be because of the 'login shell
issue' -- see below, but basically, if you're using su and not su -, your
UID is not changing, so the /$ is not changing either).

Now, as to /etc/profile, /.bash_profile, and /.bashrc;

OK, this is a bit complex. /etc/profile should in fact provide the
default if no other is provided (bash_profile overrides, but since if a
bash_profile is provided, as it seems to be on Gentoo, it only contains
a little scriptlet that says look at (source) ~/.bashrc, making
~/.bashrc the
*real* override. This is how it works on my system, and this seems to be
a generally default behaviour, as I've seen it under all distros where I
tried to customize the bash prompt, as I usually do if I stick with the
distro for any length of time).

My gentoo /etc/profile says:

if [ -n ${BASH_VERSION} ] ; then
# Newer bash ebuilds include /etc/bash/bashrc which will setup PS1
# including color.  We leave out color here because not all
# terminals support it.
if [ -f /etc/bash/bashrc ] ; then
# Bash login shells run only /etc/profile
# Bash non-login shells run only /etc/bash/bashrc
# Since we want to run /etc/bash/bashrc regardless, we
source it
# from here.  It is unfortunate that there is no way to do
# this *after* the user's .bash_profile runs (without
putting
# it in the user's dot-files), but it shouldn't make any
# difference.
. /etc/bash/bashrc
else
PS1='[EMAIL PROTECTED] \w \$ '
fi
else
# Setup a bland default prompt.  Since this prompt should be useable
# on color and non-color terminals, as well as shells that don't
# understand sequences such as \h, don't put anything special in it.
PS1=[EMAIL PROTECTED] -n | cut -f1 -d.` \$ 
fi

So, if there's a /etc/bash/bashrc found, it is sourced under all
circumstances, but if for some reason that doesn't work (like why??) the
prompt is set at

[EMAIL PROTECTED] workdir appropriate_symbol_for_user_class

Fine.

If there is no /etc/bash/bashrc found (as in the case of using another
shell), I think that the prompt is set to be the same thing, but just
with different language, since as mentioned, every shell doesn't
understand bash sequences.

OK. So far so good.

So this tells us that the first thing you did 'incorrectly' was changing
/etc/profile, instead of /etc/bash/bashrc (or /etc/bashrc, if that's
where bash 2 puts it).

This fits with what I know, insofar as I know that bashrc (preferably in
~/) trumps everything, generally. So it makes sense to me that if you
don't have a .bashrc in your home, there's a default one in /etc that
basically trumps everything.

So let's look at /etc/bash/bashrc (I'm using bash 3.0). The relevant
entries would seem to be:

if ${use_color} ; then
if [[ ${EUID} == 0 ]] ; then
PS1='\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]'
else
PS1='\[\033[01;[EMAIL PROTECTED] \[\033[01;34m\]\w \$ 
\[\033[00m\]'
fi
else
if [[ ${EUID} == 0 ]] ; then
# show root@ when we don't have colors
PS1='[EMAIL PROTECTED] \W \$ '
else
PS1='[EMAIL PROTECTED] \w \$ '
fi
fi

Fine, so if the user is root, and it's a color term, the prompt is

hostname short_path_to_workdir symbol (in this case presumably '#')

with colors, and if the user is not root, it's

[EMAIL PROTECTED] full_path_to_workdir symbol (in this case, presumably '$')
with colors.

If there's no color, for 

Re: [gentoo-user] Bash prompt

2005-09-14 Thread wiqd
On Wed, 2005-09-14 at 11:15 +0200, Charles Trois wrote:
 Hello!
 
Hi Charles,

 I am getting confused with profile, bashrc, etc.
 The prompt string I want to use is
 
 PS1=[EMAIL PROTECTED] \W]\$ 
 
 I therefore wrote it in /etc/profile (at two levels, root and non-root), 
 ~/.bash_profile and ~/.bashrc.
 
 If I log in as a plain user (moi), I get this:
 
 [EMAIL PROTECTED] moi]$
 
 which is all right. But, if I log in as root, I get the basic default
 
 bash-2.05b# .
 
 I thought that /etc/profile should provide the default, but I was 
 obviously wrong. Trying to mend things, I created two files 
 /root/.bash_profile and /root/.bashrc, writing just PS1 in each. Now, 
 logging in as root, the result is
 
 [EMAIL PROTECTED] root]$
 
 which is wrong, since $ appears in place of #, as though my syntax 
 of PS1 were incorrect, but I don't see that it is.
 
 How am I to clean up all this? I'll be grateful for all suggestions.
 

Put this into /home/user/.profile

PS1=[EMAIL PROTECTED] \W]$ 

and this into /root/.profile

PS1=[EMAIL PROTECTED] \W]# 

And all should be fine.

 Charles
 
 
 
Greg

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bash prompt

2005-09-14 Thread Willie Wong
On Wed, Sep 14, 2005 at 01:25:00PM +0200, Holly Bostick wrote:
 Charles Trois schreef:
  Hello!
  
  I am getting confused with profile, bashrc, etc. The prompt string I 
  want to use is
  
  PS1=[EMAIL PROTECTED] \W]\$ 
  
  I therefore wrote it in /etc/profile (at two levels, root and 
  non-root), ~/.bash_profile and ~/.bashrc.
  
  If I log in as a plain user (moi), I get this:
  
  [EMAIL PROTECTED] moi]$
  
  which is all right. But, if I log in as root, I get the basic default
  
  
  
  
  
  bash-2.05b# .
  
  I thought that /etc/profile should provide the default, but I was 
  obviously wrong. Trying to mend things, I created two files 
  /root/.bash_profile and /root/.bashrc, writing just PS1 in each. Now,
   logging in as root, the result is
  
  [EMAIL PROTECTED] root]$
  
  which is wrong, since $ appears in place of #, as though my 
  syntax of PS1 were incorrect, but I don't see that it is.
 
 No, it's not incorrect, but if you wrote the exact same PS1 in the root
 entry as in the user entry, perhaps you see that there's a 'literal'
 dollar sign character at the end:
 
 PS1=[EMAIL PROTECTED] \W]\$ 
 
 which is going to be printed as itself, as you are not using any code to
 change it to the 'correct' character based on user (perhaps bash thinks
 you've escaped the closing bracket, not the following $. A space
 between the bracket and the \$ might solve this, but I've never really
 got /$ to work properly. It may, however, be because of the 'login shell
 issue' -- see below, but basically, if you're using su and not su -, your
 UID is not changing, so the /$ is not changing either).

No. That's wrong. 

[08:13 AM]wwong ~ $ id
uid=1001(wwong) gid=0(root) 
groups=0(root),6(disk),10(wheel),11(floppy),16(cron),18(audio),19(cdrom),27(video),35(games),245(locate),250(portage),408(web),440(speech),443(slocate)
[08:13 AM]wwong ~ $ su
Password: 
sep wwong # id
uid=0(root) gid=0(root) 
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)
sep wwong # 


snip

 So ~/.bashrc is king of the hill, as it is apparently meant to be, so
 we'll talk about that. As I said, the default ~/.bashrc contained a
 number of aliases, and because I use a lot of aliases, I worked with
 ~/.bashrc a lot (for both home and root). Using a lot of links (posted
 below) I was able to get a nice 3-line prompt that I like. I then copied
 the prompt to root's bashrc and made minor changes (the colors, mostly).
 and that was fine.
 
 Then I tackled the problem of the login shell.
 
 You see, ~/.bashrc is only sourced when you login (to the terminal,
 which, don't forget, is a virtual console). So if you're in the term as
 a user, and then you su normally to root, root's bashrc is not going to
 be sourced, and (among other issues) you're not going to get the right
 prompt (seemingly because your UID doesn't actively change to UID 0, but
 rather you remain the regular user with elevated permissions).

1. Your UID does change. See the experiment above. 
2. .bashrc is sourced for ALL interactive shells. .bash_profile is
sourced ONLY for login shells. So: opening an xterm sources .bashrc.
Logging in remotely via ssh sources .bash_profile. 
3. su opens an interactive shell. It DOES source .bashrc

 The solution to this is (for me, as I really like bash but am not all
 that good with it as yet, so any more 'elegant' solutions are unknown to
 me), is to make sure my su is always a login prompt (alias su=su -),
 so that root's bashrc is sourced when I su, so I can use root's aliases,

4. su - would open a login shell, and thus source .bash_profile
instead of .bashrc

 and get root's $PATH, since there's nothing more annoying to me than
 su-ing to root and still getting a 'file not found' error because
 whatever I'm trying to do is still not in my $PATH, because root's PATH
 was somehow not exported by su-ing. I also added an ENV_SUPATH variable

I would say something is borked on your setup. Be default, su would
look in /etc/login.def for ENV_SUPATH and ENV_PATH for default PATHs
for superusers and users respectively. Here there's also a difference
between su and su -. su loads ENV_SUPATH from /etc/login.def,
which by default is /sbin;/bin;/usr/sbin;/usr/bin. For su -. because
it invokes a login shell, it should grab the path from /etc/profile,
which in turn grabs it from /etc/profile.env, which is created by
env-update from the information in /etc/env.d

-- 
I've got a patent pending on swallowing, oxidation, and chewing gum.
Sortir en Pantoufles: up 33 days, 15:15
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bash prompt

2005-09-14 Thread Willie Wong
On Wed, Sep 14, 2005 at 11:30:19AM +0200, Hans-Werner Hilse wrote:
 Hi,
 
 On Wed, 14 Sep 2005 11:15:13 +0200
 Charles Trois [EMAIL PROTECTED] wrote:
 
  I am getting confused with profile, bashrc, etc.
  The prompt string I want to use is
  
  PS1=[EMAIL PROTECTED] \W]\$ 
  
  [...]
  I thought that /etc/profile should provide the default, but I was 
  obviously wrong. Trying to mend things, I created two files 
  /root/.bash_profile and /root/.bashrc, writing just PS1 in each. Now, 
  logging in as root, the result is
  
  [EMAIL PROTECTED] root]$
  
  which is wrong, since $ appears in place of #, as though my syntax 
  of PS1 were incorrect, but I don't see that it is.
 
 That's probably due to multi level backslash escaping. Because you
 surrounded the prompt string with , the backslash isn't surviving the
 first parser run by bash. You'd need to double it or even triple it
 (because the $ may need escaping on the first level, too).

Use single quotes if you want to use \$
$ is a reserved character in bash. So when using double quotes, you
need to type \\$

sep wwong # export PS1=[test]\$ 
[test]$ export PS1=[test]\\$ 
[test]# export PS1='[test]\\$ '
[test]$ export PS1='[test]\$ '
[test]# 

W
-- 
Dude, this is making the same approximation twice in a row. It's like a 
whack-a-mole game.
~DeathMech, Some Student. P-town PHY 205
Sortir en Pantoufles: up 33 days, 15:41
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Load Balancing / Redundant Network ?

2005-09-14 Thread Mal Herring
Hi List,
Been looking on forums.gentoo.org looking for a way to pair two NIC's so
that should the primary fail, the secondary takes over...

The situation is this:

8 HP DL380G4's all running Gentoo moving into a data centre rack, the
firewall is currently a Netscreen(Juniper) 25 and another will be added
to give us Active/Passive failover on the firewalls.

Redundant switches will be added behind the firewalls to ensure that is
not a single point of failure, all the DL380 have two NIC's in them and
currently only one is active.

All boxes covered with HP on a 24x7x4 Carepaq, redundant power supplies
to be added - DC is a N+1 so fine there...

Biggest issue I am facing and becoming lost on is teaming the NIC's so I
can connect NIC1 to Switch 1 and NIC2 to switch 2 etc...

Can anyone help ?

Ta

Mal

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] OT: Any interest in a postfix/milter bridge?

2005-09-14 Thread Dave Nebinger
 every mail filter I need fits nicely into postfix. Which one are you
 having problems with?

I'd like to be able to run MIMEDefang, but it's milter only.
 
 
 and I don't think this is the place to discuss enhancements to postfix,
 go join postfix-user and discuss it with the developers.

Which is why I marked the subject as OT.  I didn't want to post to the
postfix user yet because I didn't want to cast such a wide net; the smaller
group of postfix users on this list would help me gauge whether to pursue
fishing in the larger sea...


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Portage question...

2005-09-14 Thread Yann GARNIER
Hi all,

I did an emerge -vuD world last week and, among other thing,  it updated GCC 
from 3.3.5 to 3.3.6 (which seemed to be a good thing..)
Today after an emerge --sync I wanted to re-update my system ... and I'm 
wondering why portage 'wants' to downgrade my version of GCC from 3.3.6
to 3.3.5... but also wondering why it suddenly wants to install giflib (which 
is blocked because of libungif...)
The only thing I can do now to update the system is to add -gif in my 
make.conf file.

Is there any other way to solve the giflib/libungif conflict ?

What makes portage want to install giflib ?

Can someone tell me what I missed ?

In advance thank you.

Yann Garnier

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Fwd: gnome-spell build failing

2005-09-14 Thread Holly Bostick
Nelis Lamprecht schreef:
 Hi,
 
 No takers on the below error ? I've tried removing it completely,
 re-installing it but still get the same error. I have to skip it every
 time I upgrade my ports. Didn't see any bugs relating to it either.
 
 Nelis

No problems here (just emerged it)


 Merging app-text/gnome-spell-1.0.6 to /
--- /var/
--- /var/lib/
--- /usr/
--- /usr/lib/
--- /usr/lib/bonobo/
--- /usr/lib/bonobo/servers/
 /usr/lib/bonobo/servers/GNOME_Spell.server
--- /usr/lib/gnome-spell/
 /usr/lib/gnome-spell/libgnome-spell-component-0.3.so
 /usr/lib/gnome-spell/libgnome-spell-component.la
 /usr/lib/gnome-spell/libgnome-spell-component.so -
libgnome-spell-component-0.3.so
--- /usr/share/
--- /usr/share/doc/
 /usr/share/doc/gnome-spell-1.0.6/
 /usr/share/doc/gnome-spell-1.0.6/README.gz
 /usr/share/doc/gnome-spell-1.0.6/NEWS.gz
 /usr/share/doc/gnome-spell-1.0.6/AUTHORS.gz
 /usr/share/doc/gnome-spell-1.0.6/ChangeLog.gz
--- /usr/share/idl/
 /usr/share/idl/Spell-1.0.6.idl
 /usr/share/gnome-spell-1.0.6/
 /usr/share/gnome-spell-1.0.6/spell-checker.glade
--- /usr/share/control-center-2.0/
--- /usr/share/control-center-2.0/icons/
 /usr/share/control-center-2.0/icons/spell-checker.png
--- /usr/share/locale/
--- /usr/share/locale/nl/
--- /usr/share/locale/nl/LC_MESSAGES/
 /usr/share/locale/nl/LC_MESSAGES/gnome-spell-1.0.6.mo
 * Installing GNOME 2 GConf schemas
 * Updating desktop mime database ...
 * Updating shared mime info database ...
***
* Updating MIME database in /usr/share/mime...
***
 Regenerating /etc/ld.so.cache...
 app-text/gnome-spell-1.0.6 merged.
 Recording app-text/gnome-spell in world favorites file...

 app-text/gnome-spell
selected: 1.0.5-r2
   protected: 1.0.6
 omitted: none

snip

wo 09/14/05 15:46
~
 
 -- Forwarded message --
 From: Nelis Lamprecht [EMAIL PROTECTED]
 Date: Sep 8, 2005 8:38 AM
 Subject: gnome-spell build failing
 To: gentoo-user@lists.gentoo.org
 
 
 Hi,
 
 Can anyone tell me how to get past this little hurdle ?
 
 
Unpacking gnome-spell-1.0.6.tar.bz2 to
 
 /var/tmp/portage/gnome-spell-1.0.6/work
  * Applying gnome-spell-1.0.6-enchant.patch ...
[ ok ] * Applying
 gnome-spell-1.0.6-combo.patch ...
[ ok ] * Runnig aclocal
 /usr/share/aclocal/path_dps.m4:202: warning: underquoted definition of
 AC_PATH_DPS_GUESS_GNUSTEP
   run info '(automake)Extending aclocal'
   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
 /usr/share/aclocal/path_dps.m4:239: warning: underquoted definition of
 AC_PATH_DPS_GUESS
 /usr/share/aclocal/path_dps.m4:333: warning: underquoted definition of
 AC_PATH_DPS_CHECK_LIB
 /usr/share/aclocal/path_dps.m4:405: warning: underquoted definition of
 AC_PATH_DPS_CHECK_HEADER
 /usr/share/aclocal/path_dps.m4:440: warning: underquoted definition of
 AC_PATH_DPS_CHECK
 /usr/share/aclocal/path_dps.m4:450: warning: underquoted definition of
 AC_PATH_DPS
 /usr/share/aclocal/path_dps.m4:525: warning: underquoted definition of
 AC_CHECK_DPS_NXAGENT
 /usr/share/aclocal/path_dps.m4:558: warning: underquoted definition of
 AC_PATH_DPSET
 /usr/share/aclocal/path_dps.m4:579: warning: underquoted definition of
 AC_PROG_PSWRAP
 /usr/share/aclocal/path_dps.m4:172: file `path_dps.m4' does not exist
 
 !!! ERROR: app-text/gnome-spell-1.0.6 failed.
 !!! Function src_unpack, Line 43, Exitcode 1
 !!! aclocal failed
 !!! If you need support, post the topmost build error, NOT this status 
 message.
 


 Unpacking gnome-spell-1.0.6.tar.bz2 to
/var/tmp/portage/gnome-spell-1.0.6/work
 * Applying gnome-spell-1.0.6-enchant.patch ...

 [ ok ] * Applying gnome-spell-1.0.6-combo.patch ...

   [ ok ] * Runnig aclocal
/usr/share/aclocal/xdelta.m4:7: warning: underquoted definition of
AM_PATH_XDELTA
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/sdlmm.m4:12: warning: underquoted definition of
AM_PATH_SDLMM
/usr/share/aclocal/pth.m4:43: warning: underquoted definition of
_AC_PTH_ERROR
/usr/share/aclocal/pth.m4:55: warning: underquoted definition of
_AC_PTH_VERBOSE
/usr/share/aclocal/pth.m4:61: warning: underquoted definition of
AC_CHECK_PTH
/usr/share/aclocal/oaf.m4:4: warning: underquoted definition of AM_PATH_OAF
/usr/share/aclocal/nspr.m4:8: warning: underquoted definition of
AM_PATH_NSPR
/usr/share/aclocal/movtar.m4:14: warning: underquoted definition of
MOVTAR_TEST_VERSION
/usr/share/aclocal/movtar.m4:59: warning: underquoted definition of
AM_PATH_MOVTAR
/usr/share/aclocal/linc.m4:1: warning: underquoted definition of
AM_PATH_LINC
/usr/share/aclocal/libstroke.m4:29: warning: underquoted definition of
smr_ARG_WITHLIB
/usr/share/aclocal/libstroke.m4:77: warning: underquoted definition of
smr_ARG_WITHINCLUDES
/usr/share/aclocal/libstroke.m4:119: warning: underquoted definition of
smr_CHECK_LIB
/usr/share/aclocal/libgstroke.m4:29: warning: 

Re: [gentoo-user] Portage question...

2005-09-14 Thread James Colby
Yann - 

I'm not sure about the downgrade from 3.3.6 to 3.3.5, but I had the
same problem with libungif. I fixed it by unmerging giflib
(emerge --ask --unmerge media-libs/giflib). Then re-running
the update, which actually re-installed giflib for me.

HTHOn 9/14/05, Yann GARNIER [EMAIL PROTECTED] wrote:
Hi all,I
did an emerge -vuD world last week and, among other
thing,it updated GCC from 3.3.5 to 3.3.6 (which seemed to
be a good thing..)Today after an emerge --sync I wanted to
re-update my system ... and I'm wondering why portage 'wants' to
downgrade my version of GCC from 3.3.6to 3.3.5... but also wondering why it suddenly wants to install giflib (which is blocked because of libungif...)The only thing I can do now to update the system is to add -gif in my 
make.conf file.Is there any other way to solve the giflib/libungif conflict ?What makes portage want to install giflib ?Can someone tell me what I missed ?In advance thank you.Yann Garnier
--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] OT: Any interest in a postfix/milter bridge?

2005-09-14 Thread Covington, Chris
Dave,

 Having investigated the milter API and having constructed 
 some milters myself, I currently believe that it should be
 possible to build a postfix-milter bridge.

That would be fantastic.  I think you would get tons of support for
this.  I would also love to run MIMEDefang and domain keys milters, etc.
that aren't available on pure Postfix.  You should definitely post this
to [EMAIL PROTECTED] where you'll get more enthusiastic
responses like my own, and maybe some guidance from the developers. 

---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: Any interest in a postfix/milter bridge?

2005-09-14 Thread kashani

Nick Rout wrote:

every mail filter I need fits nicely into postfix. Which one are you
having problems with?

and I don't think this is the place to discuss enhancements to postfix,
go join postfix-user and discuss it with the developers.


I could swear I've said this before, but there are a number of us that 
use postfix and find this on more on topic than what my favorite window 
environment might be or how to make an ebuild for a desktop game. So 
again I'll quietly ignore the things I don't care about and you will do 
the same.


However adding milter support to Postfix may not be the magic bullet. 
Milters take this path through Sendmail

mail queue - milter - delivery | /dev/null | whatever

Postfix content filters take this path.
mail queue - cfilter - mail queue - etc

Allowing people to run what are normally very efficient milters within 
Postfix may allow a few admins to shoot themselves in the foot 
performance-wise.


In any case you might want to check out this how-to which use Anomy 
Sanitizer to do basically the same thing.

http://www.advosys.ca/papers/postfix-filtering.html

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



[gentoo-user] Xorg and RANDR

2005-09-14 Thread Christoph Gysin

I'm trying to use the RANDR extension from xorg. Here is what i get:

$ grep RANDR /var/log/Xorg.0.log
(II) Initializing built-in extension RANDR

seems like RANDR is built-in, but:

$ xrandr
Xlib:  extension RANDR missing on display :0.0.

Any experts on xorg here? ;-)

Christoph
--
echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Load Balancing / Redundant Network ?

2005-09-14 Thread Olaf Niermann
Hi Mal,

 Hi List,
 Been looking on forums.gentoo.org looking for a way to pair 
 two NIC's so
 that should the primary fail, the secondary takes over...


Maybe you can try a lookup onto 'heartbeat' (emerge -s heartbeat) allthough
it might be overloaded for your needs and I personally just use it for
failover between different physical servers.

Bye,
Olaf Niermann

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] LDAP authentification and management

2005-09-14 Thread Matthias Bethke
I'm still trying to set up OpenLDAP here. For some reason, SASL doesn't
work, but from the error message I guess it has to do with a missing
entry in the LDAP database itself:

Sep 14 15:42:34 clue slapd[24202]: slapd starting
Sep 14 15:42:40 clue slapd[13526]: conn=0 fd=13 ACCEPT from 
IP=XXX.XXX.XXX.XXX:49623 (IP=0.0.0.0:636)
Sep 14 15:42:40 clue slapd[4930]: conn=0 op=0 SRCH base= scope=0 deref=0 
filter=(objectClass=*)
Sep 14 15:42:40 clue slapd[4930]: conn=0 op=0 SRCH attr=supportedSASLMechanisms
Sep 14 15:42:40 clue slapd[4930]: conn=0 op=0 SEARCH RESULT tag=101 err=0 
nentries=1 text=
Sep 14 15:42:40 clue ldapadd: GSSAPI Error: Miscellaneous failure (No 
credentials cache found)
Sep 14 15:42:40 clue slapd[13526]: conn=0 fd=13 closed

I *can* use ldapi{search,add} with the -x parameter though, so I suppose
if I add sasl off to /etc/ldap.conf (which I did for now), I should be
fine as I'll be using SSL with mutual authentication anyway.

Migrating the old server's data seems to have worked after I found that
you cannot just copy another machine's passwd file and migrate that
as the migrationtools will get the password hash from getpwuid(3) which
will fail if the account isn't on your machine. Maybe this should be
added to the guide -- a careful look would have told me, as there is no
mention of the shadow file, but who looks carefully when following a
guide? :)

So, pam_ldap and nss_ldap are in place and PAM seems to be OK. I still
cannot log in due to some nsswitch problem apparently:

[snipped a lot of output---I guess slapd -s0 will shut that up once it
works?]
Sep 14 16:58:34 clue slapd[15571]: conn=3 op=1 SEARCH RESULT tag=101 err=0 
nentries=1 text=
Sep 14 16:58:34 clue slapd[26321]: conn=3 fd=15 closed
Sep 14 16:58:34 clue sshd[5422]: Accepted keyboard-interactive/pam for msbethke 
from :::131.188.185.45 port 51711 ssh2
Sep 14 16:58:34 clue slapd[26321]: conn=2 fd=13 closed
Sep 14 16:58:34 clue sshd[8048]: nss_ldap: could not search LDAP server - Can't 
contact LDAP server
Sep 14 16:58:34 clue sshd[8048]: nss_ldap: could not search LDAP server - Can't 
contact LDAP server
Sep 14 16:58:34 clue sshd[8048]: nss_ldap: could not search LDAP server - Can't 
contact LDAP server
Sep 14 16:58:34 clue sshd(pam_unix)[8048]: session opened for user msbethke by 
(uid=0)
Sep 14 16:58:34 clue sshd[8048]: nss_ldap: could not search LDAP server - Can't 
contact LDAP server
Sep 14 16:58:34 clue sshd[8048]: nss_ldap: could not search LDAP server - Can't 
contact LDAP server
Sep 14 16:58:34 clue sshd[8048]: nss_ldap: could not search LDAP server - Can't 
contact LDAP server
Sep 14 16:58:34 clue sshd[8048]: nss_ldap: could not search LDAP server - Can't 
contact LDAP server
Sep 14 16:58:34 clue sshd[8048]: fatal: PAM: pam_open_session(): Cannot 
make/remove an entry for the specified session

Hm. Shouldn't nss_ldap use the URI specified in /etc/ldap.conf to talk
to the server? I'm at a loss here.

Oh, and BTW: is there a way to allow high-ASCII characters in LDIF
files? We happen to have a few users with umlauts in their names and
not being able to retain them would be even more backwards than NIS...

regards
Matthias

-- 
I prefer encrypted and signed messages.   KeyID: 90CF8389
Fingerprint: 8E 1F 10 81 A4 66 29 46  B9 8A B9 E2 09 9F 3B 91


pgpMIt5GiIQVl.pgp
Description: PGP signature


Re: [gentoo-user] Bash prompt

2005-09-14 Thread Holly Bostick
Willie Wong schreef:
 On Wed, Sep 14, 2005 at 01:25:00PM +0200, Holly Bostick wrote:
 
 Charles Trois schreef:
 
 I thought that /etc/profile should provide the default, but I was
  obviously wrong. Trying to mend things, I created two files 
 /root/.bash_profile and /root/.bashrc, writing just PS1 in each. 
 Now, logging in as root, the result is
 
 [EMAIL PROTECTED] root]$
 
 which is wrong, since $ appears in place of #, as though my 
 syntax of PS1 were incorrect, but I don't see that it is.
 
 No, it's not incorrect, but if you wrote the exact same PS1 in the 
 root entry as in the user entry, perhaps you see that there's a 
 'literal' dollar sign character at the end:
 
 PS1=[EMAIL PROTECTED] \W]\$ 
 
 which is going to be printed as itself, as you are not using any 
 code to change it to the 'correct' character based on user (perhaps
  bash thinks you've escaped the closing bracket, not the following 
 $. A space between the bracket and the \$ might solve this, but
 I've never really got /$ to work properly. It may, however, be 
 because of the 'login shell issue' -- see below, but basically, if 
 you're using su and not su -, your UID is not changing, so the /$ 
 is not changing either).
 
 
 No. That's wrong.
 
 [08:13 AM]wwong ~ $ id uid=1001(wwong) gid=0(root) 
 groups=0(root),6(disk),10(wheel),11(floppy),16(cron),18(audio),19(cdrom),27(video),35(games),245(locate),250(portage),408(web),440(speech),443(slocate)
  [08:13 AM]wwong ~ $ su Password: sep wwong # id uid=0(root) 
 gid=0(root) 
 groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)
  sep wwong #
 
snip of Willie wiping the floor with me :) 
 and get root's $PATH, since there's nothing more annoying to me 
 than su-ing to root and still getting a 'file not found' error 
 because whatever I'm trying to do is still not in my $PATH, because
  root's PATH was somehow not exported by su-ing. I also added an 
 ENV_SUPATH variable
 
 
 I would say something is borked on your setup. Be default, su would 
 look in /etc/login.def for ENV_SUPATH and ENV_PATH for default PATHs
  for superusers and users respectively. Here there's also a
 difference between su and su -. su loads ENV_SUPATH from
 /etc/login.def, which by default is /sbin;/bin;/usr/sbin;/usr/bin.
 For su -. because it invokes a login shell, it should grab the path
 from /etc/profile, which in turn grabs it from /etc/profile.env,
 which is created by env-update from the information in /etc/env.d

OK, you're right. I think that the problems that I was working around
may have been based in *sudo*, not su itself, which works fine (now), as
does sudo su. But when I was setting up my system with sudo (like a
month and a half ago), I had all kinds of issues, because sudo did not
seem to source anything (or at least not in the way I expected). For
example, I had some weird borked PATH (the default ENV_SUPATH as you
said above, rather than the root PATH, which I would expect from a sudo
su -) , programs opened as (sudo su) root were opening with user
colors and themes (though they worked with root privs), and that sort of
thing. It was really bizarre, so I had a bunch of bizarre workarounds to
get things to work as it seemed they should, but didn't.

Maybe I borked something back in the day. It's also possible that I was
having real issues, and an upgrade to shadow (hey!! *that's* the program
where version 4.0.9 obsoletes ENV_SUPATH!) and/or sudo solved the issues
and I just didn't notice (I did remember that I knew I was unlikely to
notice the update that was going to obsolete ENV_SUPATH, and in fact, I
wouldn't really note an update to shadow without making a note to myself
to watch out for it. Which I should probably do).

In any case, I completely forgot that sudo was involved at all, so...
sorry, and just ignore me :) . I'll be busy cleaning up my bashrcs.
anyway (now that everything looks to be working properly :) ).

Holly

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bash prompt

2005-09-14 Thread Willie Wong
On Wed, Sep 14, 2005 at 05:45:08PM +0200, Holly Bostick wrote:
 OK, you're right. I think that the problems that I was working around
 may have been based in *sudo*, not su itself, which works fine (now), as
 does sudo su. But when I was setting up my system with sudo (like a
 month and a half ago), I had all kinds of issues, because sudo did not
 seem to source anything (or at least not in the way I expected). For
 example, I had some weird borked PATH (the default ENV_SUPATH as you
 said above, rather than the root PATH, which I would expect from a sudo
 su -) , programs opened as (sudo su) root were opening with user
 colors and themes (though they worked with root privs), and that sort of
 thing. It was really bizarre, so I had a bunch of bizarre workarounds to
 get things to work as it seemed they should, but didn't.

right. sudo doesn't start a sub-shell. It executes commands with
escalated privileges. On the other hand, you *can* start sudo with 

sudo -i 

which, at least according to the manpage, would start a login shell
and set all the env variables. What I am not sure is whether sudo -i
asks you for the root password or the sudo password 

W
-- 
Tried to play my shoehorn... all I got was footnotes!
Sortir en Pantoufles: up 33 days, 19:10
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xvmc and directfb

2005-09-14 Thread Grant
  Do I have anything to gain by enabling xvmc and/or directfb in my USE
  flags?  Does it depend on my video hardware and/or what kind of video
  stuff I'm doing?
 
 
 xvmc may help with some videos/hardware (mpeg2) combinations to lower workload
 of the cpu, but directfb - I really do not see any point in using it, if your
 X is working fine ;)

Got it, thanks!

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Building Xorg - internal compiler error: segmentation fault

2005-09-14 Thread Ian Clowes
Frank Schafer wrote:
 
 Hi all,
 
 Somebody on b.g.o. suggests to try building with a vanilly kernel. Did
 someone here make the same experience and if yes, will it run then on a
 gentoo-kernel?

Hi

Not sure if you're talking in general about sig 11 on emerge, some
specific problem with Xorg.

Anyhow, I had this with various packages and found a few things helped:

- Once I had a sig 11 a restart of the emerge would seg fault very
soon.  I suspected dodgy CPU or memory, so played with the cpuburn
package.  Curiously I found that running MMXburn (I think it was called)
for a minute or so vastly extended how far into a build emerge would
get.  I have no idea what this program actually does, but I assumed it
was heavily loading some memory or other so that when gcc started again
it was given a different chumk to what it was getting previously.  But
that's all very hypothetical...

- I used the FEATURES=keepwork emerge... so that the work area was
preserved and the emerge could continue from where it was.  But this
takes up a lot of disk space uless you manually delete them or use
ebuild --clean once it's suceeded.

- Install ccache to 'dynamically' cache/preserve the guts of whatever
you're trying to build so that you don't need keepwork.  It's a bit
slower, but easier to manage.

- Do an emerge in a one line script something like this, so it'll loop
around until it succeeds (best used with the FEATURES or ccache idea):

while true; do emerge foo  break; done

HTH
IanC
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] mailman stopped working after upgrade

2005-09-14 Thread Daevid Vincent
I don't do any automated emerges (that seems extremely dangerous to me). I
only emerge sync via crontab every night. Then I manually do an 'emerge
-Davu system' (and world) to see what needs updating. I'll pick and choose
from there.

I did change my USE=nptl nptlonly -cups -debug acpi wifi mysql php apache2
mmx sse and added those 'nptl' and 'nptlonly' and followed a gentoo howto
(which involved an 'emerge --newuse'). I don't think that threading is the
issue here though as it's a uid/gid wrapper permission problem.

Well, here is everything emerged on the 7th (the 5th and 6th had no
results). The 5th is the last email I have saved from the list, so that is
why I chose these dates to focus on.

Nothing else in this list looks related to mailman.

 Wed Sep  7 01:12:49 2005  sys-libs/glibc-2.3.5-r1
 Wed Sep  7 01:13:31 2005  app-admin/eselect-opengl-1.0.2
 Wed Sep  7 10:05:32 2005  dev-libs/atk-1.10.3
 Wed Sep  7 10:21:55 2005  dev-libs/libxml2-2.6.21
 Wed Sep  7 11:26:01 2005  dev-db/mysql-4.0.25-r2
 Wed Sep  7 11:30:21 2005  dev-libs/libxslt-1.1.15
--  Wed Sep  7 11:34:36 2005  net-mail/mailman-2.1.5-r4
 Wed Sep  7 11:37:40 2005  sys-power/apcupsd-3.10.18-r1
 Wed Sep  7 11:43:25 2005  app-crypt/gnupg-1.4.2-r2
 Wed Sep  7 12:01:09 2005  media-libs/gstreamer-0.8.11
 Wed Sep  7 12:27:59 2005  media-libs/gst-plugins-0.8.11
 Wed Sep  7 12:37:56 2005  media-plugins/gst-plugins-alsa-0.8.11
 Wed Sep  7 12:47:29 2005  media-plugins/gst-plugins-oss-0.8.11
 Wed Sep  7 12:56:59 2005  media-plugins/gst-plugins-esd-0.8.11
 Wed Sep  7 13:02:56 2005  x11-libs/fltk-1.1.4
 Wed Sep  7 13:12:36 2005  media-plugins/gst-plugins-vorbis-0.8.11
 Wed Sep  7 13:22:30 2005  media-plugins/gst-plugins-ogg-0.8.11
 Wed Sep  7 13:32:14 2005  media-plugins/gst-plugins-gnomevfs-0.8.11
 Wed Sep  7 13:41:48 2005  media-plugins/gst-plugins-mad-0.8.11
 Wed Sep  7 13:49:58 2005  media-sound/xmms-1.2.10-r15
 Wed Sep  7 13:55:23 2005  media-plugins/xmms-mpg123-1.2.10-r1
 Wed Sep  7 13:58:16 2005  media-libs/libmikmod-3.1.11-r1
 Wed Sep  7 13:59:49 2005  media-libs/libao-0.8.5
 Wed Sep  7 14:27:36 2005  sci-libs/fftw-3.0.1-r2
 Wed Sep  7 16:24:12 2005  kde-base/kdeedu-3.4.2-r2
 Wed Sep  7 16:34:04 2005  media-plugins/gst-plugins-xvideo-0.8.11
 Wed Sep  7 16:43:28 2005  media-plugins/gst-plugins-mpeg2dec-0.8.11
 Wed Sep  7 16:52:53 2005  media-plugins/gst-plugins-pango-0.8.11
 Wed Sep  7 17:02:21 2005 
media-plugins/gst-plugins-cdparanoia-0.8.11
 Wed Sep  7 17:04:22 2005  app-text/gtkspell-2.0.4-r1
 Wed Sep  7 17:09:51 2005  dev-python/gnome-python-extras-2.10.2
 Wed Sep  7 17:10:44 2005  dev-util/meld-1.0.0
 Wed Sep  7 17:14:19 2005  dev-lang/swig-1.3.21
 Wed Sep  7 17:22:57 2005  media-sound/beep-media-player-0.9.7-r6
 Wed Sep  7 17:24:10 2005  net-analyzer/iptraf-2.7.0-r1
 Wed Sep  7 22:33:42 2005  sys-power/apcupsd-3.10.18-r1

In any event. If I emerge unmerge mailman, and then emerge mailman will
it do a complete re-install WITHOUT killing my actual lists (setups, users,
data, etc)?

This is so frustrating. I don't understand why this is broken when mailman
AND exim are both the same versions that were already installed and already
worked fine. *sigh*

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Suggestions? Network monitoring scripts

2005-09-14 Thread Ian Clowes
fire-eyes wrote:
 
 I'm looking for suggestions on software which could do the following 1)
 if our primary gateway goes down, do nothing 2) if it does go down,
 change the default gateway to line B 3) when the primary comes back, set
 the gateway back to B. I have two physical interfaces and one alias.
 --
 gentoo-user@gentoo.org mailing list


Are there some typos in there?

Are there three interfaces on the Gentoo box: one LAN and one each to
the external  (WAN? Internet?) interfaces?

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



Re: [gentoo-user] Suggestions? Network monitoring scripts

2005-09-14 Thread fire-eyes
Ian Clowes wrote:
 fire-eyes wrote:
 
I'm looking for suggestions on software which could do the following 1)
if our primary gateway goes down, do nothing 2) if it does go down,
change the default gateway to line B 3) when the primary comes back, set
the gateway back to B. I have two physical interfaces and one alias.
--
gentoo-user@gentoo.org mailing list
 
 
 
 Are there some typos in there?
 
 Are there three interfaces on the Gentoo box: one LAN and one each to
 the external  (WAN? Internet?) interfaces?
 
 IanC


That is correct.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: Any interest in a postfix/milter bridge?

2005-09-14 Thread Nick Rout
On Wed, 2005-09-14 at 09:30 -0500, kashani wrote:
 Nick Rout wrote:
  every mail filter I need fits nicely into postfix. Which one are you
  having problems with?
  
  and I don't think this is the place to discuss enhancements to
 postfix,
  go join postfix-user and discuss it with the developers.
 
 I could swear I've said this before, but there are a number of us
 that 
 use postfix and find this on more on topic than what my favorite
 window 
 environment might be or how to make an ebuild for a desktop game. So 
 again I'll quietly ignore the things I don't care about and you will
 do 
 the same.

It's not that I mind the discussion, I just thought it might be better
on the postfix-user list as that is a very knowledgeable list and it's
where the expertise lies. Perhaps I should have said this is not the
BEST place to discuss it...

I too use postfix :-)

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] ati-drivers: bad md5 sum

2005-09-14 Thread Rafael Fernández López
Hi !!

I'm trying to do an emerge -vuD world, but I just can't. For my
surprise someone put into portage a bad MD5 sum for ati-drivers.
Portage just tells that sizes don't match... so I can't update it...
damn. Is the first time that this happens to me... I hope some of you
have this problem and I'm all right, and not doing anything wrong.

Bye.
-- 
Saludos,
Rafael Fernández López.

A la vista de suficientes ojos todos los errores resultan evidentes
- Linus Torvalds

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Load Balancing / Redundant Network ?

2005-09-14 Thread Bastian Balthazar Bux
Mal Herring wrote:
 Hi List,
 Been looking on forums.gentoo.org looking for a way to pair two NIC's so
 that should the primary fail, the secondary takes over...
 
 The situation is this:
 
 8 HP DL380G4's all running Gentoo moving into a data centre rack, the
 firewall is currently a Netscreen(Juniper) 25 and another will be added
 to give us Active/Passive failover on the firewalls.
 
 Redundant switches will be added behind the firewalls to ensure that is
 not a single point of failure, all the DL380 have two NIC's in them and
 currently only one is active.
 
 All boxes covered with HP on a 24x7x4 Carepaq, redundant power supplies
 to be added - DC is a N+1 so fine there...
 
 Biggest issue I am facing and becoming lost on is teaming the NIC's so I
 can connect NIC1 to Switch 1 and NIC2 to switch 2 etc...
 
 Can anyone help ?
 
 Ta
 
 Mal
 
rather dirty but what about put this script in a */5 minutes cron ?

--- check_connectivity 
#! /bin/sh

# counter of failed ping
FAILED_PING=0

# after how much time the script is forced to exit
# warning %s is a gnu extension to date
STOP_TIME=$(( $(date +%s) + 300 -2 ))

# host used for chech
REACHABLE_HOSTS=192.168.1.123 192.168.1.124

# seconds to wait before to switch (approx)
# left operand = tentatives
# right operand = no of hosts in REACHABLE_HOSTS
TTW=$(( 5 * 2 ))

# if this become 1 call houston
SWITCHED=0

PING_CMD=arping -c1 -Ieth0 -w1 -q


while [[ $(date +%s) -lt ${STOP_TIME} ]]  [[ ${SWITCHED} -eq 0 ]]
do
for host in ${REACHABLE_HOSTS}
do
if ($PING_CMD $host) ; then
FAILED_PING=1
else
FAILED_PING=$(( FAILED_PING + 1 ))
fi
done

if [[ ${FAILED_PING} -gt ${TTW} ]] ; then
SWITCHED=1
# put the replace interface fx here
echo switch_interface
fi
sleep 1
done
--- check_connectivity 

Still todo are:
-  the switch_interface() interface function something like relink
   /etc/conf.d/net and restart the net
- the return to normality script that once eth0 work again for some
  seconds switch back
- A lock that prevent the script to start if the interface is switched
  (and instead run the check for normal status)
- a mail to the admin

P.S. has never checked in real life, do your checks before to use it

Cheers,
Francesco R.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ati-drivers: bad md5 sum

2005-09-14 Thread Volker Armin Hemmann
On Wednesday 14 September 2005 22:16, Rafael Fernández López wrote:
 Hi !!

 I'm trying to do an emerge -vuD world, but I just can't. For my
 surprise someone put into portage a bad MD5 sum for ati-drivers.
 Portage just tells that sizes don't match... so I can't update it...
 damn. Is the first time that this happens to me... I hope some of you
 have this problem and I'm all right, and not doing anything wrong.

 Bye.

this may not be portages fault!

Some mirrors have sometimes defective packages in their distfiles directory - 
sometimes the download has hiccups and the file is altered.
Have you tried to download the package from the original site?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] emerge php fails

2005-09-14 Thread Rafael Fernández López
Hi,

emerge php fails if xml2 is not deactivated by USE=-xml2. Does it
happen to you too ?. It seems that there is a double declaration in
php and xml code.

Thanks.
-- 
Saludos,
Rafael Fernández López.

A la vista de suficientes ojos todos los errores resultan evidentes
- Linus Torvalds

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ati-drivers: bad md5 sum

2005-09-14 Thread Rafael Fernández López
I supposed right now. I've been looking at last modification date, and
they are from AUGUST !!!

Thanks.

2005/9/14, Volker Armin Hemmann [EMAIL PROTECTED]:
 On Wednesday 14 September 2005 22:16, Rafael Fernández López wrote:
  Hi !!
 
  I'm trying to do an emerge -vuD world, but I just can't. For my
  surprise someone put into portage a bad MD5 sum for ati-drivers.
  Portage just tells that sizes don't match... so I can't update it...
  damn. Is the first time that this happens to me... I hope some of you
  have this problem and I'm all right, and not doing anything wrong.
 
  Bye.
 
 this may not be portages fault!
 
 Some mirrors have sometimes defective packages in their distfiles directory -
 sometimes the download has hiccups and the file is altered.
 Have you tried to download the package from the original site?
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
Saludos,
Rafael Fernández López.

A la vista de suficientes ojos todos los errores resultan evidentes
- Linus Torvalds

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ati-drivers: bad md5 sum

2005-09-14 Thread Holly Bostick
Volker Armin Hemmann schreef:
 On Wednesday 14 September 2005 22:16, Rafael Fernández López wrote:
 
 Hi !!
 
 I'm trying to do an emerge -vuD world, but I just can't. For my 
 surprise someone put into portage a bad MD5 sum for ati-drivers. 
 Portage just tells that sizes don't match... so I can't update
 it... damn. Is the first time that this happens to me... I hope
 some of you have this problem and I'm all right, and not doing
 anything wrong.
 
 Bye.
 
 
 this may not be portages fault!
 
 Some mirrors have sometimes defective packages in their distfiles
 directory - sometimes the download has hiccups and the file is
 altered. Have you tried to download the package from the original
 site?
 

There's a bug on b.g.o about it. It looks like something wrong with the
manifest (bad copy and paste or something; or in any case, the md5 is
the same as all the others when it's not supposed to be or vice versa).
You can check it out by going to packages.gentoo.org, searching
ati-drivers, then clicking the 'bugs' link. It's the newest.

I would imagine that once the bug gets marked as fixed, a sync should
straighten it out. I figure it should be ok again sometime tomorrow
(this is not so much the kind of bug that gets left hanging. I hope).

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge php fails

2005-09-14 Thread Michael Crute
On 9/14/05, Rafael Fernández López [EMAIL PROTECTED] wrote:
emerge php fails if xml2 is not deactivated by USE=-xml2. Does ithappen to you too ?. It seems that there is a double declaration in
php and xml code.
Which PHP version? 4 or 5? I am using 5 emerge with xml2 and no issues. Just did a compile on a new box yesterday and it worked like a charm.

-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware.In a world without walls and fences, who needs windows and gates? 



Re: [gentoo-user] emerge php fails

2005-09-14 Thread Bastian Balthazar Bux
Rafael Fernández López wrote:
 Hi,
 
 emerge php fails if xml2 is not deactivated by USE=-xml2. Does it
 happen to you too ?. It seems that there is a double declaration in
 php and xml code.
 
 Thanks.

here is working. php-5.0.4 should work too (and have a lot less problems).
If you can lay down the problem fill a bug specifing the version you
tryed to emerge

breakall # emerge -pv dev-libs/libxml2 dev-lang/php

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-libs/libxml2-2.6.21  -debug -doc +ipv6 -python
+readline -static 0 kB
[ebuild   R   ] dev-lang/php-5.0.5  -adabas -apache +apache2 -bcmath
-berkdb -birdstep +bzip2 -calendar -cdb -cgi +cli +crypt -ctype +curl
+curlwrappers -db2 -dba -dbase -dbm -dbmaker -debug -discard-path -doc
-empress -empress-bcs -esoob +exif -fdftk -filepro -firebird -flatfile
-force-cgi-redirect -frontbase +ftp +gd -gd-external -gdbm +gmp
-hardenedphp -hyperwave-api +iconv -imap -informix -inifile -interbase
-iodbc +ipv6 -java-external +jpeg -kerberos -ldap -libedit -mcve
-memlimit +mhash -ming -msql -mssql +mysql +mysqli +ncurses +nls -oci8
+odbc -oracle7 -ovrimos +pcntl +pcre -pdo-external -pear -pfpro +png
+posix -postgres -qdbm +readline -recode -sapdb -sasl +session
-sharedext -sharedmem -simplexml -snmp -soap +sockets -solid -spell +spl
+sqlite +ssl -sybase -sybase-ct +sysvipc -threads -tidy +tiff -tokenizer
+truetype -wddx +xml2 -xmlrpc -xpm +xsl -yaz -zip +zlib 0 kB


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ati-drivers: bad md5 sum

2005-09-14 Thread Volker Armin Hemmann
On Wednesday 14 September 2005 22:37, Holly Bostick wrote:


 There's a bug on b.g.o about it. It looks like something wrong with the
 manifest (bad copy and paste or something; or in any case, the md5 is
 the same as all the others when it's not supposed to be or vice versa).
 You can check it out by going to packages.gentoo.org, searching
 ati-drivers, then clicking the 'bugs' link. It's the newest.

 I would imagine that once the bug gets marked as fixed, a sync should
 straighten it out. I figure it should be ok again sometime tomorrow
 (this is not so much the kind of bug that gets left hanging. I hope).

 HTH,
 Holly

I did not intend to blame the original poster for anything - just from my 
experience it is a lot more common, that the package is defective than the 
md5sum is wrong - but this time it is one of this seldom cases - I would call 
that bad luck ;)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ati-drivers: bad md5 sum

2005-09-14 Thread Holly Bostick
Volker Armin Hemmann schreef:
 On Wednesday 14 September 2005 22:37, Holly Bostick wrote:
 
 
 There's a bug on b.g.o about it. It looks like something wrong with
 the manifest (bad copy and paste or something; or in any case, the
 md5 is the same as all the others when it's not supposed to be or
 vice versa). You can check it out by going to packages.gentoo.org,
 searching ati-drivers, then clicking the 'bugs' link. It's the
 newest.
 
 I would imagine that once the bug gets marked as fixed, a sync
 should straighten it out. I figure it should be ok again sometime
 tomorrow (this is not so much the kind of bug that gets left
 hanging. I hope).
 
 HTH, Holly
 
 
 I did not intend to blame the original poster for anything - just
 from my experience it is a lot more common, that the package is
 defective than the md5sum is wrong - but this time it is one of this
 seldom cases - I would call that bad luck ;)

Oh, definitely. But when you're a Linux user with an ATI card, there's
nothing but (I'm feeling cranky about this today :) ).

I was real surprised when I got a Digest Verification Failed error today
as well (twice; I synced again to see if it was fixed yet, but it
wasn't. That's when I went to bugs.gentoo.org). I was, in fact, so
surprised, that I was almost ready to unmask the update to 8.16.20
(-r1)-- again-- to see if *that* one worked where this update
doesn't but I got busy with other stuff and didn't bother (yet). If
it's still borked tomorrow, I'll probably do that, though.

I'm *sure* lightning doesn't strike twice in the same place I mean,
package :-D

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



Re: [gentoo-user] ati-drivers: bad md5 sum

2005-09-14 Thread Michael Crute
On 9/14/05, Holly Bostick [EMAIL PROTECTED] wrote:
There's a bug on b.g.o about it. It looks like something wrong with themanifest (bad copy and paste or something; or in any case, the md5 is
the same as all the others when it's not supposed to be or vice versa).
Not to state the obvious, but here goes. Why not just regenerate the digest? If the package is OK and its just a messed up Manifest file then you should be able to use ebuild to generate a new digest and all is happy, right? At least that's how I understand things to work.


-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware.In a world without walls and fences, who needs windows and gates? 



[gentoo-user] named init-script error

2005-09-14 Thread Piotr Jaroszynski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

How is it possible that:
$ /etc/init.d/named start
 * Starting named ...
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n
number_of_cpus]
 [-p port] [-s] [-t chrootdir] [-u username]
 [-m {usage|trace|record}]
named: extra command line arguments

is not working as

$ start-stop-daemon --start --quiet --pidfile \
/var/run/named/named.pid --exec /usr/sbin/named -- -u named -n 1

works perfectly well.

fragment of /etc/init.d/named:
start() {
ebegin Starting ${CHROOT:+chrooted }named
checkconfig || return 1
start-stop-daemon --start --quiet --pidfile ${PIDFILE}
- --exec \  /usr/sbin/named

#removed this just for testing but nothing changed
#\ -- -u named -n ${CPU} ${OPTIONS} ${CHROOT:+-t $CHROOT}
eend $?
}

- --
Best Regards
Piotr Jaroszynski
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDKJJAur4yNvGZF0kRArFTAKDpQLA66sJ5eqpawRRVl3btDuEqGwCg2y3t
+sV3QJypqK/QbdV8mwx3EqM=
=hu6e
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Opinions?

2005-09-14 Thread C. Beamer
Hi All,

A friend (non-Gentoo user) sent me this Gentoo-related url:

http://www.kde-apps.org/content/show.php?content=16002

I got Gentoo installed with only a few hitches and it's running like a
charm since the install, but I'm still a newbie when it comes to
Gentoo, so I bow to the superior knowledge of the people on this list.

The url is about a KDE app called Kuroo that is supposed to be a
frontend to the portage tree.  You are supposed to be able to search for
installed packages, among other things.  Has anyone heard of this?  Any
opinions?

Take care,

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



Re: [gentoo-user] ati-drivers: bad md5 sum

2005-09-14 Thread Holly Bostick
Michael Crute schreef:
 On 9/14/05, Holly Bostick [EMAIL PROTECTED] wrote:
 
 There's a bug on b.g.o about it. It looks like something wrong with
  the manifest (bad copy and paste or something; or in any case, the
  md5 is the same as all the others when it's not supposed to be or 
 vice versa).
 
 
 
 Not to state the obvious, but here goes. Why not just regenerate the 
 digest? If the package is OK and its just a messed up Manifest file 
 then you should be able to use ebuild to generate a new digest and 
 all is happy, right? At least that's how I understand things to work.
  -Mike
 

Yes, 'theoretically' one could, but it's my policy not to do that for
'real' Portage packages (as opposed to overlay packages, where you of
course have to digest manually).  It would mean
that I would have to investigate whether the package was right (and the
digest wrong), or the digest was right (and the package wrong). I could,
but that's what Portage (or in any case the herd responsible for these
packages) is supposed to do for me, so if it gets broke in
a way such as this, I let Portage get itself fixed by the experts.

Yes, sometimes I do claim 'pure user' privilege. Certainly where the ATI
drivers are involved. I do *not* want to get mixed up in development or
development management issues there.

Can you imagine the ridicule if I re-digested the package myself, it
didn't work, and then I submitted a bug? I'd rather not :) .
shudder

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



Re: [gentoo-user] Opinions?

2005-09-14 Thread Michael Crute
On 9/14/05, C. Beamer [EMAIL PROTECTED] wrote:
Hi All,A friend (non-Gentoo user) sent me this Gentoo-related url:
http://www.kde-apps.org/content/show.php?content=16002I got Gentoo installed with only a few hitches and it's running like acharm since the install, but I'm still a newbie when it comes toGentoo, so I bow to the superior knowledge of the people on this list.
The url is about a KDE app called Kuroo that is supposed to be afrontend to the portage tree.You are supposed to be able to search forinstalled packages, among other things.Has anyone heard of this?Any
opinions?Take care,Colleen--gentoo-user@gentoo.org mailing list
Looks like a nifty little app. I personally use the command line because I like the command line. But if you are more of a graphical persuasion (i.e. ex-windoze/mac user) then maybe that's best for you. As far as anyone is concerned the way you interface to Portage is pretty much a personal decision based on your preferences.


-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware.In a world without walls and fences, who needs windows and gates? 



Re: [gentoo-user] ati-drivers: bad md5 sum

2005-09-14 Thread Michael Crute
On 9/14/05, Holly Bostick [EMAIL PROTECTED] wrote:
Yes, 'theoretically' one could, but it's my policy not to do that for'real' Portage packages (as opposed to overlay packages, where you of
course have to digest manually).It would meanthat I would have to investigate whether the package was right (and thedigest wrong), or the digest was right (and the package wrong). I could,but that's what Portage (or in any case the herd responsible for these
packages) is supposed to do for me, so if it gets broke ina way such as this, I let Portage get itself fixed by the experts.Yes, sometimes I do claim 'pure user' privilege. Certainly where the ATIdrivers are involved. I do *not* want to get mixed up in development or
development management issues there.Can you imagine the ridicule if I re-digested the package myself, itdidn't work, and then I submitted a bug? I'd rather not :) .shudderHolly

Well Holly, there is a simpler (superior?) approach... just get nVidia hardware ;-). (Thats it... I said it... I'm going no farther...not going to start a flame war!)

-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware.In a world without walls and fences, who needs windows and gates? 



Re: [gentoo-user] Opinions?

2005-09-14 Thread Stuart Howard
Hi

I cannot speak for the app you mentioned or for these but.
Kuroo - is marked testing
kentoo -
} Both marked as stable
guitoo - 

All are KDE frontends.

Now that said I personally prefer using 
http://packages.gentoo.org/categories/
or
http://gentoo-portage.com/
to find the app of my choice then emerge from the command line.

stu
[also new'ish user]

On 9/14/05, C. Beamer [EMAIL PROTECTED] wrote:
 Hi All,
 
 A friend (non-Gentoo user) sent me this Gentoo-related url:
 
 http://www.kde-apps.org/content/show.php?content=16002
 
 I got Gentoo installed with only a few hitches and it's running like a
 charm since the install, but I'm still a newbie when it comes to
 Gentoo, so I bow to the superior knowledge of the people on this list.
 
 The url is about a KDE app called Kuroo that is supposed to be a
 frontend to the portage tree.  You are supposed to be able to search for
 installed packages, among other things.  Has anyone heard of this?  Any
 opinions?
 
 Take care,
 
 Colleen
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
There are 10 types of people in this world: those who understand
binary, those who don't

--Unknown

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Opinions?

2005-09-14 Thread Christoph Eckert

 Has anyone heard of this?  Any
 opinions?

There's also KGentooConf:

http://www.kde-apps.org/content/show.php?content=26601

I'd appcreciate it if both apps could help me to understand better the 
system and to use more of its features.


Best regards


ce


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ati-drivers: bad md5 sum

2005-09-14 Thread Rafael Fernández López
Holly has replied for me. xDD

2005/9/14, Holly Bostick [EMAIL PROTECTED]:
 Michael Crute schreef:
  On 9/14/05, Holly Bostick [EMAIL PROTECTED] wrote:
 
  There's a bug on b.g.o about it. It looks like something wrong with
   the manifest (bad copy and paste or something; or in any case, the
   md5 is the same as all the others when it's not supposed to be or
  vice versa).
 
 
 
  Not to state the obvious, but here goes. Why not just regenerate the
  digest? If the package is OK and its just a messed up Manifest file
  then you should be able to use ebuild to generate a new digest and
  all is happy, right? At least that's how I understand things to work.
   -Mike
 
 
 Yes, 'theoretically' one could, but it's my policy not to do that for
 'real' Portage packages (as opposed to overlay packages, where you of
 course have to digest manually).  It would mean
 that I would have to investigate whether the package was right (and the
 digest wrong), or the digest was right (and the package wrong). I could,
 but that's what Portage (or in any case the herd responsible for these
 packages) is supposed to do for me, so if it gets broke in
 a way such as this, I let Portage get itself fixed by the experts.
 
 Yes, sometimes I do claim 'pure user' privilege. Certainly where the ATI
 drivers are involved. I do *not* want to get mixed up in development or
 development management issues there.
 
 Can you imagine the ridicule if I re-digested the package myself, it
 didn't work, and then I submitted a bug? I'd rather not :) .
 shudder
 
 Holly
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
Saludos,
Rafael Fernández López.

A la vista de suficientes ojos todos los errores resultan evidentes
- Linus Torvalds

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Opinions?

2005-09-14 Thread Rafael Fernández López
Love portage AS IS. Is a cool front-end, but I love so much that
verbose output...

Bye.

2005/9/14, Christoph Eckert [EMAIL PROTECTED]:
 
  Has anyone heard of this? Any
  opinions?
 
 There's also KGentooConf:
 
 http://www.kde-apps.org/content/show.php?content=26601
 
 I'd appcreciate it if both apps could help me to understand better the
 system and to use more of its features.
 
 
 Best regards
 
 
 ce
 
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
Saludos,
Rafael Fernández López.

A la vista de suficientes ojos todos los errores resultan evidentes
- Linus Torvalds

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ati-drivers: bad md5 sum

2005-09-14 Thread Holly Bostick
Michael Crute schreef:
 On 9/14/05, Holly Bostick [EMAIL PROTECTED] wrote:
 
 
 Yes, sometimes I do claim 'pure user' privilege. Certainly where 
 the ATI drivers are involved. I do *not* want to get mixed up in 
 development or development management issues there.
 
 
 Well Holly, there is a simpler (superior?) approach... just get 
 nVidia hardware ;-). (Thats it... I said it... I'm going no 
 farther... not going to start a flame war!)

Would have done it months ago, Mike, if there was any way, but I really
have absolutely no budget, even for an MX440 (true desperation, if I'm
even considering an MX 440 in this day and age. But I'd rather that than
a 5200, all things considered. What I'd really like -- a 6600-- is right
out).

I may wind up putting my Matrox G400 Max back in here, but Wine is
soo close on DX 9 (which the G400 of course does not support) that I
can't bear it.

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



Re: [gentoo-user] Opinions?

2005-09-14 Thread Michael W. Holdeman
On Wednesday 14 September 2005 05:41 pm, Christoph Eckert wrote:
  Has anyone heard of this?  Any
  opinions?

 There's also KGentooConf:

 http://www.kde-apps.org/content/show.php?content=26601

I like the looks of this, w/b nice to have an ebuild.

Mike

-- 
 
Michael W. Holdeman



Powered by Gentoo Linux www.gentoo.org  |
Kernel 2.6.11-ck8   |
Win4Lin 5-1-20 netraverse.com   |
Win4LinPro 6.1.1-03 win4lin.com |
|

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Suggestions? Network monitoring scripts

2005-09-14 Thread fire-eyes
Ian Clowes wrote:
 fire-eyes wrote:
 
I'm looking for suggestions on software which could do the following 1)
if our primary gateway goes down, do nothing 2) if it does go down,
change the default gateway to line B 3) when the primary comes back, set
the gateway back to B. I have two physical interfaces and one alias.
 
 
 Hi again
 
 I did something similar on a RedHat system with modems hooked up to
 different telcos and ISPs some years ago.  I no longer have the scripts
 to hand, but they were similar in consept to the example posted to this
 list under the thread 'Load Balancing / Redundant Network ?' today.
 
 I think I just set the default route off of the box, which in my case
 brought up the second PPP connection.  I had one script constantly
 checking the status of the primary PPP line and one checking the status
 of the active line.
 
 The primary monitor would test the line every five minutes and switch
 to/from the secondary as necessary.  There were some rules to not switch
 every five minutes in case the primary line was having a bout of
 intermittent problems.  I think I left the secondary up for at least 30
 minutes if ever it was switched to.
 
 The active monitor reported loss of the currently active line and what
 it was doing about it, especially if it was the secondard i/f and the
 primary was still flagged as failing.
 
 Is that the sort of thing you're looking for or do you need a 'proper'
 package?
 
 IanC

Yeah that's what I'm looking for. I am looking at mon, I'm just looking
for some other utilities as well. Hopefully a package, as I'm pressed
for time.

Thank you for your responses!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ati-drivers: bad md5 sum

2005-09-14 Thread Manuel McLure

Holly Bostick wrote:

Would have done it months ago, Mike, if there was any way, but I really
have absolutely no budget, even for an MX440 (true desperation, if I'm
even considering an MX 440 in this day and age. But I'd rather that than
a 5200, all things considered. What I'd really like -- a 6600-- is right
out).

I may wind up putting my Matrox G400 Max back in here, but Wine is
soo close on DX 9 (which the G400 of course does not support) that I
can't bear it.


Holly, for what it's worth I'm using the 8.16.20 drivers with no 
problems on my 9800XT - perhaps I can help? The biggest problem I had 
was that initially it would not display anything on the CRT - the way I 
solved this was to add


Option ForceMonitors  notv

to the Device section of my xorg.conf.

--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



[gentoo-user] gthumb doesn't display images

2005-09-14 Thread Arkady Grudzinsky
Hi,I have emerged gthumb-2.6.5 on my machine. I have not noticed any errors during installation. However, when I start gthumb from the terminal, I get the following messages:(gthumb:24708): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed
(gthumb:24708): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed(gthumb:24708): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failedThe application starts, but it always says No image in the thumbnails window. As I switch to a directory containing some jpegs from my camera, I get a bunch of additional messages:
** (gthumb:24708): CRITICAL **: gth_image_list_append_with_data: assertion `pixbuf != NULL' failedI didn't count, but I assume that the number of these messages is equal to the number of images in the directory. And the thumbnail window still says No image.
Any suggestions? It appears to me that gthumb is unhappy about some dependency. All dependencies seem to be there. One more detail. The file browser window in gthumb lacks folder icons. I have read some reports of similar problems with other Gnome applications using GTK and Gnome themes, but nothing that would suggest a solution for my problem.
On my laptop, I have compiled Linux from scratch manually and gthumb has the same problem there. I use XFCE as window manager. I have not explicitly installed Gnome. Is that a problem? Does gthumb have some dependency which is not explicitly stated?
Your help will be highly appreciated.
(This is a my second e-mail on this topic. The first one had no response for some reason and I am not sure if it has reached the list).Arkady.


[gentoo-user] MPPE

2005-09-14 Thread Justin Hart
Hey, is there any way to get mppe into any of the kernels currently in
portage?  The howto in the wiki is for a kernel that I don't see...
there don't seem to be any ebuilds... it also seems that other patches
have been applied to the kernel that make it fail to build if I apply
the patch referenced on kerneltrap.

Seems as though this will be in the kernel soon, but it would help me
if soon were... like today.
-- 
Justin W. Hart

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: MPPE

2005-09-14 Thread Justin Hart
Took some tracking down, but I found it.

Justin

On 9/14/05, Justin Hart [EMAIL PROTECTED] wrote:
 Hey, is there any way to get mppe into any of the kernels currently in
 portage?  The howto in the wiki is for a kernel that I don't see...
 there don't seem to be any ebuilds... it also seems that other patches
 have been applied to the kernel that make it fail to build if I apply
 the patch referenced on kerneltrap.
 
 Seems as though this will be in the kernel soon, but it would help me
 if soon were... like today.
 --
 Justin W. Hart
 


-- 
Justin W. Hart

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] hardware advice for dual-processor set-up on gentoo

2005-09-14 Thread Bob Sanders
On Mon, 12 Sep 2005 23:47:11 -0500
Denis [EMAIL PROTECTED] wrote:

 I guess the other advantage is that a good dual Xeon system with 4GB
 RAM will run me around $3000, whereas a dual Opteron (with dual core)
 system with 4GB RAM will run me more like $4300.  If the Opterons are
 currently at their memory bandwidth limit, I will have spent the $4300
 for nothing, especially since I need the fastest memory integration I
 can get for my codes.
 
 Would I be better buying a dual Xeon system if I needed to buy right
 now instead of waiting for the bandwidth issue to be resolved?
 

Careful with the dual Xeon - Intel has numerous chipsets.  Some better
than the other.  Unless you spend hours studying the difference, you may
end with much older tech for your money.

Also, you might be better off now with a 2P Opteron, single core, than
an Intel setup.  It's less expensive.  And, as you're crunching a lot of 
numbers,
the Opteron's faster throughput in the FPU may offset and bandwidth limitation.
 
Only you can tell if your app is more cpu/fpu bound or more memory bound.  You
might want to emerge -  app-admin/sysstat, and characterize your app's system
usage and use that to decide which arch features are important to you.

Another thing to consider - Intel shares the memory/FSB.  Each Opteron has 
access
to a full 6.4 GB/s memory bandwidth, as long as the data set remains with that 
cpu.
Should the data set or data have to come from a non-local memory bank, there 
will
be a delay.  So even with a slower memory bus, the Opteron could be faster 
overall.
It depends on what resources your app uses.

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



[gentoo-user] Question regarding trick portage.mask situation

2005-09-14 Thread Matthew Cline
I've been having serious problems with newer versions of
gentoo-sources (basically 2.6.12-r9 and 2.6.12-r10), so I have
downgraded to 2.6.12-r4, which is rock solid for me. So, I thought to
add something like this atom to /etc/portage/package.mask:

sys-kernel/gentoo-sources-2.6.12-r4

However, what I really want to to is mask all versions of
gentoo-sources greater than 2.6.12-r4 and less than or equal to
2.6.12-r10, so that I can test newer versions of gentoo-sources beyond
2.6.12-r10 when they become available. So, what I really want is
something like this:

sys-kernel/gentoo-sources-2.6.12-r4 =sys-kernel/gentoo-sources-2.6.12-r10

Of course, this syntax doesn't work and spits out an Invalid atom
error when I run emerge. Does anyone know the proper syntax for what I
want to achieve? Is it even possible to acheive this?

Thank you for the help in advance,

Matt

As an aside, I think this latest instability with new versions of
gentoo-sources has to do with problems using older versions of the
nvidia drivers with newer kernel versions. Unfortunately, I cannot
upgrade my nvidia drivers because my Geforce2 GTS is officially
unsupported by the latest drivers.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvtv Seg Faults After 'emerge -uvD world'

2005-09-14 Thread Drew Tomlinson

On 9/13/2005 2:30 PM Nick Rout wrote:


On Tue, 2005-09-13 at 07:06 -0700, Drew Tomlinson wrote:
 

I'm running a 2.6.11-r6 kernel on a box whose main purpose is MythTV.  
Everything was working fine until I did an upgrade using 'emerge -uvD 
world' followed with 'revdep-rebuild'.  Now nvtv seg faults when I first 
attempt to run it.  Additional attempts result in this error message:


Fatal: Cannot access video cards. Either you are not root, or the
NVidia devices are not accessible.

I get the same message when attempting to run as root.

I've tried  removing and reinstalling both nvtv and nvidia-kernel but no 
joy.  I'm new to Gentoo and Linux but do have a bit of a *nix background 
with FreeBSD.  Any suggestions on how to resolve this would be greatly 
appreciated.
   



Drew I ahve seen a few messages here from you about mythtv related
stuff. Although I have no problem at all with you posting here, you may
get better results on the mythtv-user list. You can sub from a link on
www.mythtv.org
 

Thanks for the tip.  I do post there when my issue is directly related 
to MythTV.  I just felt this was more of a Gentoo thing as my issues 
started after a emerge -uvD world.



It is a busy list, quite knowledgeable.

As for nvtv, are you actually using the nvidia driver? - do you get the
nvidia splash screen when you start X?
 

Yes, I am using the latest (I have ~x86 set) nvidia-kernel driver from 
portage as I was before upgrading.  I've read that many times the 
nvidia-kernel driver has to be recompiled after an upgrade.  I think 
it's just when upgrading the actual kernel but I recompiled anyway just 
to check.  It didn't help.  I also recompiled nvtv from portage but no 
help there either.


I also have TightVNC installed on this box and normally start a session 
on :1.  In checking this further, it is interesting that nvtv starts 
fine when using :1 via the TightVNC viewer if X is not running on :0.  
However once X is on :0, that's when the seg faults start.  Maybe I have 
a problem with my X config.  BTW, I'm using xorg.


Oh, and yes, I do see the nvidia splash screen when starting X on :0.

Thanks for your help!  Although I come from the FreeBSD world, I'm a 
noob when it comes to both Linux and Gentoo (and MythTV for that matter).


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



[gentoo-user] Dell 1850/Dell Partition

2005-09-14 Thread Edoceo Lists

List,
  Is at /dev/sda1. Does anyone know if I need this?  Where will I put /boot? At /dev/sda2?  Will GRUB work OK?  I'm way 
nervous about blasting this thing away and replacing Dell's 65M partition with my /boot and stuffs.  Help.


/djb
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Question regarding trick portage.mask situation

2005-09-14 Thread Paul Varner
On Wed, 2005-09-14 at 21:20 -0400, Matthew Cline wrote:
 I've been having serious problems with newer versions of
 gentoo-sources (basically 2.6.12-r9 and 2.6.12-r10), so I have
 downgraded to 2.6.12-r4, which is rock solid for me. So, I thought to
 add something like this atom to /etc/portage/package.mask:
 
 sys-kernel/gentoo-sources-2.6.12-r4
 
 However, what I really want to to is mask all versions of
 gentoo-sources greater than 2.6.12-r4 and less than or equal to
 2.6.12-r10, so that I can test newer versions of gentoo-sources beyond
 2.6.12-r10 when they become available. So, what I really want is
 something like this:
 
 sys-kernel/gentoo-sources-2.6.12-r4 =sys-kernel/gentoo-sources-2.6.12-r10
 
 Of course, this syntax doesn't work and spits out an Invalid atom
 error when I run emerge. Does anyone know the proper syntax for what I
 want to achieve? Is it even possible to acheive this?

In /etc/portage/package.mask:
sys-kernel/gentoo-sources-2.6.12-r4

In /etc/portage/package.unmask
=sys-kernel/gentoo-sources-2.6.12-r10

Should do what you want.

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dell 1850/Dell Partition

2005-09-14 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nick Rout wrote:

WHAT is at /dev/sda1?

On Wed, 2005-09-14 at 19:08 -0700, Edoceo Lists wrote:

List,
 Is at /dev/sda1. Does anyone know if I need this? Where will I put
/boot? At /dev/sda2? Will GRUB work OK? I'm way
nervous about blasting this thing away and replacing Dell's 65M
partition with my /boot and stuffs. Help.

/djb

I think he's referring to the factory created restore partition.

Just my 2¢, I don't think having /boot on /dev/sda2 is a problem, as
long as grub knows where to look, and you are able to update your
MBR.  Another thing, if this partition is what I think it is, it's
meant to be a recovery mechanism for WinBlows systems.  Probably
configured for DOS.  ;-)  So, if you're going to run gentoo on that
system, I doubt that you would run into any major problems.

Again, just my 2¢.

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDKPykLYGSSmmWCZMRAvEsAJ9B/WpkkxJwlvKs6BDOP/K6UJtAIgCfUG1W
sRBgSbLxCe/YOKlS+qLLnvU=
=Iql+
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list