[gentoo-user] quota settings for user groups...

2006-06-23 Thread jarry
Hi,

I am a little confused about effect of quota settings for group.

If I define some soft/hard limits for group users (let's say
100MB for a certain partition), does it mean that every user
belonging to this group will have that limit 100MB for his files?

Or is it a summary limit for the whole group, i.e. all users
from this group together have limit 100MB, no matter how is it
divided among them?

Jarry

-- 


Feel free – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Calculating world dependencies taking forever first time

2006-06-23 Thread Alexander Skwar

Benno Schulenberg wrote:

Alexander Skwar wrote:

Benno Schulenberg wrote:
 Walter Dnes wrote:
 several minutes at Calculating world dependencies,

 You upgraded portage.  The einfos said to run 'emerge
 --metadata' first thing.

I'm also seeing this from time to time - emerge -Duvat world
just seems to take forever at the Calculating world
dependencies after I ran eix-sync which includes emerge
--sync. And I haven't updated portage. Any ideas?


You're still at portage-2.0.*?


No. Portage 2.1.1_pre1-r1

 The latest versions of those were 
known to be terribly slow at updating the cache.  Sometimes.


Just like the current version, it seems? :) Yesterday, it took
about 30 Minutes to do Calculating world dependencies. That *IS*
slow.


I don't think it's a missing emerge --metadata, as the metadata
generation is included when running emerge --sync (Updating
Portage cache:  100%), isn't it?


Hrrrm.


Pardon?


 Yes it was a missing emerge --metadata.


Sure? What's done in the Updating Portage cache step? Why is
man emerge saying, that --metadata is (sort of) run after a
--sync?

So, as I said, it's certainly not a missing --metadata run. What's
causing emerge to be so terribly slow sometimes? It's also not a
matter of load - I had nothing intensive running at this time, just
emerge, firefox (no flash site shown), thunderbird. In top, emerge
was shown as the most active process.

 You will see when 
you upgrade.


Can't be done. This happened from time to time again for a long period
now. And it happens with the current version.

Alexander Skwar
--
Time will end all my troubles, but I don't always approve of Time's methods.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New portage adds USE description

2006-06-23 Thread Alexander Skwar

Richard Broersma Jr wrote:


Is there any significance to the USE color codes:

[...]

And also, is there any significance to * and %


Yes. But that's explained rather well in man emerge - search for %
there.

Nonetheless, I also asked this RTFM question a short while back :)

Alexander Skwar
--
There is no better way of exercising the imagination than the study of law.
No poet ever interpreted nature as freely as a lawyer interprets truth.
-- Jean Giraudoux, Tiger at the Gates
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Calculating world dependencies taking forever first time

2006-06-23 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alexander Skwar wrote:
 I'm also seeing this from time to time - emerge -Duvat world
 just seems to take forever at the Calculating world dependencies
 after I ran eix-sync which includes emerge --sync. And I haven't
 updated portage. Any ideas?
 
 I don't think it's a missing emerge --metadata, as the metadata
 generation is included when running emerge --sync (Updating Portage
 cache:  100%), isn't it?


Normally, this indicates that the cache has been invalidated for some reason.  
For example, eclasses in one's overlay can cause this.  

See here for more details: http://bugs.gentoo.org/show_bug.cgi?id=124041

Zac
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEm41t/ejvha5XGaMRAj8TAKDi9yPrdR/OwLaJ62b0oVkSE0CDEQCgoHhQ
Dy70zpp/vyAafx3sepFzrCY=
=L+SC
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge --sync fails

2006-06-23 Thread Rafael Alfaro

Thanks for your help friends!!
I solved the problem with your advices.

On 6/22/06, sternklang gentoo [EMAIL PROTECTED] wrote:

Were you trying to do this?:
PORTAGE_RSYNC_EXTRA_OPTS=--timeout=300

--
sternklang
[EMAIL PROTECTED]



--
Rafael Alfaro.
Omnilife Independent Distributor.
People taking care of people.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg-x11 / setxkbmap masked

2006-06-23 Thread Neil Bothwick
On Fri, 23 Jun 2006 00:34:25 +0200, Bo Ørsted Andresen wrote:

 =x11-apps/setxkbmap-1.0*
 =x11-apps/setxkbmap-1.0.2*
 ~x11-apps/setxkbmap-1.0.2
 
 The following won't work, however:
 
 ~x11-apps/setxkbmap-1.0
 
 But then what happens when 1.0.3 or 1.1* comes out and fixes something 
 important? Some think of this as a big issue. 

This is Gentoo. If the user chooses to run a particular reason of a
package for his own reason, that choice should be allowed. Gentoo users
should not be protected form themselves, that's why we have /etc/portage,
to change the developers' defaults.

Some of us like to live dangerously, I put
sys-kernel/gentoo-sources-2.6.17 in my package.keywords yesterday. I'm
sure there's a reason the devs haven't keyworded it for ~ppc, but I
wanted to try it - it hasn't fallen over... yet :)


-- 
Neil Bothwick

Windoze95 Quote: Why is the Pentium 166 so fast? - Its for booting
faster, if Windows crashed again.


signature.asc
Description: PGP signature


Re: [gentoo-user] xorg-x11 / setxkbmap masked

2006-06-23 Thread Bo Ørsted Andresen
On Friday 23 June 2006 09:30, Neil Bothwick wrote:
 This is Gentoo. If the user chooses to run a particular reason of a
 package for his own reason, that choice should be allowed. Gentoo users
 should not be protected form themselves, that's why we have /etc/portage,
 to change the developers' defaults.

 Some of us like to live dangerously, I put
 sys-kernel/gentoo-sources-2.6.17 in my package.keywords yesterday. I'm
 sure there's a reason the devs haven't keyworded it for ~ppc, but I
 wanted to try it - it hasn't fallen over... yet :)

Oh, I agree. I just wanted to explain the issue so that he can decide for 
hinself. :)

-- 
Bo Andresen


pgpGgE7JogiIv.pgp
Description: PGP signature


[gentoo-user] nfs and iptables

2006-06-23 Thread Arnau Bria
Hi all,

I'm trying to configure my firewall in order to be able to mount a
remote NFS exported directory.

AFAIK I must open port 111 tcp/udp (portmat). rpcinfo confirms it:

# rpcinfo -p
   program vers proto   port
102   tcp111  portmapper
102   udp111  portmapper

Well, so I set next rule in my firewall:
-A INPUT -d 193.146.196.198 -i eth0 -p tcp -m tcp --dport 111 -j ACCEPT
-A INPUT -d 193.146.196.198 -i eth0 -p tcp -m tcp --dport 111 -j LOG
--log-prefix NFS (tcp) Input:  --log-level 7 -A INPUT -d
193.146.196.198 -i eth0 -p udp -m udp --dport 111 -j LOG --log-prefix
NFS (udp) Input:  --log-level 7 -A INPUT -d 193.146.196.198 -i eth0
-p udp -m udp --dport 111 -j ACCEPT


And restart my firewall.
(I use same rules for other ports, ssh, smtp...)

Well, I'm no able to mount the directory, and I see this in logs:

UDP privileged ports DROP:IN=eth0 OUT=
MAC=00:11:11:20:6e:81:00:16:35:0a:a8:b6:08:00 SRC=193.146.196.234
DST=193.146.196.198 LEN=56 TOS=0x00 PREC=0x00 TTL=64 ID=57 DF PROTO=UDP
SPT=111 DPT=822 LEN=36

and this logs comes from next rule:

-A INPUT -d 193.146.196.198 -i eth0 -p udp -m udp --dport 0:1023 -j LOG
--log-prefix UDP privileged ports DROP: --log-level 7 -A INPUT -d
193.146.196.198 -i eth0 -p udp -m udp --dport 0:1023 -j REJECT

which is at bottom of all rules...

I don't understand what happen, cause I can telnet to port 111 and get
response. And I hace portmat in that port:

#netstat -putan |grep 111
tcp0  0 0.0.0.0:111 0.0.0.0:*   LISTEN  
10028/portmap
udp0  0 0.0.0.0:111 0.0.0.0:*   
10028/portmap

I do the mount:

lx-arnau ~ # mount -t nfs hostname:/export/media /mnt/musica/
mount: RPC: Program not registered

Got the error... but:

lx-arnau ~ # netstat -putan |grep 111
tcp0  0 0.0.0.0:111 0.0.0.0:*   LISTEN  
10028/portmap
tcp0  0 my_IP:60394 nfs_server:111 TIME_WAIT   -
udp0  0 0.0.0.0:111 0.0.0.0:*   
10028/portmap

...

If I disable firewall, I can mount with no problem...
what am I missing?¿

Thanks in advance.

-- 
Arnau Bria
http://blog.emergetux.net
Flanders, de nada sirve rezar: yo mismo acabo de hacerlo y los dos 
no vamos a ganar
~Homer J. Simpson~

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nfs and iptables

2006-06-23 Thread Arnau Bria
On Fri, 23 Jun 2006 12:38:13 +0300 (EEST)
Daniel Iliev [EMAIL PROTECTED] wrote:

 
 On Fri, June 23, 2006 12:04 pm, Arnau Bria wrote:
 
[...]
 My first guess is that you have another FW rule which matches those
 packets and drops them before they meet the rule you mention.
 You could try:
 -D INPUT -d 193.146.196.198 -i eth0 -p tcp -m tcp --dport 111 -j
 ACCEPT
 -I INPUT -d 193.146.196.198 -i eth0 -p tcp -m tcp --dport 111 -j ACCEPT

Well, that was what I first tough, but this is my first rule:
Chain INPUT (policy ACCEPT)
target prot opt source   destination
ACCEPT udp  --  anywhere my_host_name udp dpt:sunrpc
ACCEPT tcp  --  anywhere my_host_name tcp dpt:sunrpc
then ssh rule
then smtp rule
then the drop one I posted in first mail.

ssh and smtp works fine, and, I can telnet to 111!! that's really
strange, cause if I can telnet, it means I have my port open... so, why
when I try to mount, it's blocked by a later rule?

thanks!
-- 
Arnau Bria
http://blog.emergetux.net
Flanders, de nada sirve rezar: yo mismo acabo de hacerlo y los dos 
no vamos a ganar
~Homer J. Simpson~
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nfs and iptables

2006-06-23 Thread Rick van Hattem
On Friday 23 June 2006 11:04, Arnau Bria wrote:
 Hi all,

 I'm trying to configure my firewall in order to be able to mount a
 remote NFS exported directory.

Have a look at the gentoo-wiki :)
http://gentoo-wiki.com/HOWTO_Share_Directories_via_NFS#Setting_Up_Firewall_.28Client_Side.29

-- 
Rick van Hattem Rick.van.Hattem(at)Fawo.nl


pgpAEq4Yp5ynQ.pgp
Description: PGP signature


Re: [gentoo-user] OT: Any way to run files through procmail?

2006-06-23 Thread Alexander Skwar
Farhan Ahmed wrote:
 Jorge Almeida wrote:

 procmail [-m /path/to/your/procmailrc]  /path/to/message
 
 This will deliver the message contained in the individual file
 /path/to/message. You'll have to iterate over all such files.
 
 Will this work for mbox format as well?

No. For this, you should use something like formail. It's part of
procmail, IIRC.

Alexander Skwar
-- 
The Golden Rule of Arts and Sciences:
He who has the gold makes the rules.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gtkam+non-rootuser

2006-06-23 Thread cristi
I'm trying to download my pictures from the digital camera but I can't
seem to succeed  I get Could not list folders in '/'.

An error occurred in the io-library ('Could not claim the USB device'):
Could not claim interface 0 (Operation not permitted). Make sure no
other program or kernel module (such as sdc2xx, stv680, spca50x) is
using the device and you have read/write access to the device. from
gtkam although i have ivman  hal started. I get no error when i try
to download as root though. I thought i could import direct them with
sudo gtkam but  i get (gtkam:11668): Gtk-WARNING **: cannot open
display: so in visudo i uncomment the line
Defaults:%wheel   !env_reset  and  Defaults:%users
env_keep=DISPLAY but when i get to save i get sudoers file: syntax
error, line 19 sudoers file: syntax error, line 22 any ideeas? I would
really like to get digital cameras working without logging root, also
writting a udev rule for a specific camera it's a bad ideea since all
my frinds have different models. Thanks in advance
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nfs and iptables

2006-06-23 Thread Arnau Bria
Hi,

I solved it adding next at top of rules:

-A INPUT -p tcp ! --syn -j ACCEPT
-A INPUT -p udp -j ACCEPT


for what I read, it allows my connections established to pass filter 
without evaluating other rules.

Is this a correct config?


Thanks to all for your attention,

-- 
Arnau Bria
http://blog.emergetux.net
Flanders, de nada sirve rezar: yo mismo acabo de hacerlo y los dos 
no vamos a ganar
~Homer J. Simpson~
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: MYSQL Comple Problem

2006-06-23 Thread Stephen H

Okay,
I talked to my friend and I have updated portage, and synced portage.

Now when I compile, I get a different error:

plicit-templates -fno-exceptions -fno-rtti   -fno-implicit-templates
-fno-exceptions -fno-rtti   -fno-implicit-templates -fno-exceptions
-fno-rtti   -fno-implicit-templates -fno-exceptions -fno-rtti
-fno-implicit-templates -fno-exceptions -fno-rtti
-fno-implicit-templates -fno-exceptions -fno-rtti
-fno-implicit-templates -fno-exceptions -fno-rtti
-fno-implicit-templates -fno-exceptions -fno-rtti
-fno-implicit-templates -fno-exceptions -fno-rtti  --no-create
--no-recursion
./config.status: line 387: /bin/sh: Argument list too long
./config.status: line 387: /bin/sh: Success
make: *** [config.status] Error 1
make: *** Waiting for unfinished jobs

!!! ERROR: dev-db/mysql-4.1.20 failed.
Call stack:
 ebuild.sh, line 1539:   Called dyn_compile
 ebuild.sh, line 939:   Called src_compile
 ebuild.sh, line 1248:   Called mysql_src_compile
 mysql.eclass, line 441:   Called die

!!! compile problem
!!! If you need support, post the topmost build error, and the call
stack if relevant.


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



Re: [gentoo-user] gtkam+non-rootuser

2006-06-23 Thread Ralph Slooten
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

cristi wrote:
 I'm trying to download my pictures from the digital camera but I can't
 seem to succeed  I get Could not list folders in '/'.

Both my wife and I use gtkam on my PC at home, both as normal users with
no setuid programs or sudo. I am not at home at the moment but iirc what
I had to do was:

in /etc/fstab:
none  /proc/bus/usb  usbfs   user,auto,devmode=0660,devgid=85 0 0


and in user's groups add plugdev

I *think* that was all there was to it.

Greetings,
Ralph


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFEm+++Ct0ZF9kLPvYRAoDlAJ48nShEsRdbG8JgCt1kskbPkeJJsACfXIug
cvJRNJcWaNltRapgAFSfF8k=
=vkM2
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unwanted dependecies

2006-06-23 Thread Bo Ørsted Andresen
On Friday 23 June 2006 14:35, Jure Varlec wrote:
 I apologize if this was previously discussed, but I couldn't find anything
 on gmane. And maybe I should post this on gentoo-devel, but I'm not going
 to molest developers until I understand portage better. Knowing there are
 users here with good knowledge of portage I thought I would ask here first.

Good call. :)

[SNIP]
 When I asked it to show me which
 packages depended on a certain gnome lib, it dutifully presented me with the
 answer. The trick is, those packages were compiled with USE=-gnome. And
 looking at their ebuilds, dependency handling was correct and they did not
 depend on those libs.

How did you determine that? Did the ebuild inherit any eclasses and did you 
look in those? Also make sure you have =gentoolkit-0.2.2.

 So portage never built this packages with gnome support. So why did they
 depend on gnome libs? I now believe that the libs were installed prior to
 the package in question, and the package's configure script detected that
 and compiled the package against the lib. This may be wrong; in that case,
 someone please explain what's going on. But if it's true, it raises two
 more questions.

Remember USE flags are for *optional* dependencies. Mandatory dependencies 
will remain no matter what USE flags you set.

[SNIP]
 But I'd like to know: how, in principle, 
 does equery (and, supposedly, portage) know that a certain package depends
 on a lib, when the decision to depend on it was made by the configure
 script independent of what portage was told to do via USE flags or hard
 dependencies?

The decision should not be made independent of what portage was told. If it is 
that would be a bug in the ebuild.

 And secondly: why the heck does portage allow configure autodetection? Why
 don't ebuilds specify explicitly, depending on USE flags, what to build and
 what not to build?

It does specify dependencies explicitly in the ebuilds depending on USE flags. 
If it does not it is a bug.

 And to finish the story, I played around with equery long enough to find
 everything I deemed to be part of gnome, removed it, and rebuilt everything
 that was unjustly depending on it. Without changing the USE flags, of
 course -- they've never been set anyway. Emerge never pulled anything back
 in, and now everything works beautifully, telling me I am right at least in
 some respects. But I'd like to have the situation cleared up, so I'm
 turning to you.

Portage cannot prevent an autoconfigure script from detecting stuff that the 
ebuild does not depend on. But as stated above it would be regarded as a bug 
when it does. The devs have two options to fix such a bug. Either patch the 
configure script to disable detection of additional stuff (when USE flag is 
disabled) or add the detected stuff as mandatory dependencies.

This also explains why applications that depend on gnome-python-extras like 
e.g. meld have ridiculous dependencies like totem and nautilus-burner. To get 
rid of those dependencies someone must patch the configure script of 
gnome-python-extras to allow USE flags to disable them with switches.

HtH

-- 
Bo Andresen


pgpe3bA3VEtkC.pgp
Description: PGP signature


[gentoo-user] Re: nfs and iptables

2006-06-23 Thread Remy Blank
Arnau Bria wrote:
 I solved it adding next at top of rules:
 
 -A INPUT -p tcp ! --syn -j ACCEPT
 -A INPUT -p udp -j ACCEPT

While the first line is mostly harmless (well, even that's not really
true, but let's keep it simple), the second line opens your firewall to
*all* incoming UDP packets, and therefore effectively disables your
firewall for UDP services.

I don't know if you have another line of defense before your iptables
firewall (e.g. a router/firewall). If you don't, you expose yourself to
serious trouble.

In general, my advice would be not to build your own iptables firewall
ruleset unless you have *very good* knowledge about IP protocols. Use
one of the firewall builder tools like shorewall [1] or firestarter [2].

-- Remy

[1] http://www.shorewall.net/
[2] http://www.fs-security.com/


Remove underscore and suffix in reply address for a timely response.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OOo emerge failure

2006-06-23 Thread Mick

Hi All,

Not sure if I missed any enotices after a major update, but now OOo
fails  to build:

Making: ../../../unxlngi6.pro/lib/ipict.lib
no ImportLibs on Mac and *ix
--
Making: ../../../unxlngi6.pro/lib/libipt680li.so
g++ -Wl,-z,combreloc -Wl,-z,defs -Wl,-rpath,'$ORIGIN' -Wl,-Bdirect
-Wl,-zdynsort -shared -Wl,-O1 -Wl,--version-script
../../../unxlngi6.pro/misc/exports_ipt680li.map
-L../../../unxlngi6.pro/lib -L../lib
-L/var/tmp/portage/openoffice-2.0.2-r1/work/ooo-build-2.0.2.9/build/OOO_2_0_2/solenv/unxlngi6/lib
-L/var/tmp/portage/openoffice-2.0.2-r1/work/ooo-build-2.0.2.9/build/OOO_2_0_2/solver/680/unxlngi6.pro/lib
-L/var/tmp/portage/openoffice-2.0.2-r1/work/ooo-build-2.0.2.9/build/OOO_2_0_2/solenv/unxlngi6/lib
-LNO_JAVA_HOME/lib -LNO_JAVA_HOME/jre/lib/i386
-LNO_JAVA_HOME/jre/lib/i386/client
-LNO_JAVA_HOME/jre/lib/i386/native_threads -L/usr/lib
../../../unxlngi6.pro/slo/ipt_dflt_version.o
../../../unxlngi6.pro/slo/ipt_dflt_description.o -o
../../../unxlngi6.pro/lib/libipt680li.so
../../../unxlngi6.pro/slo/ipict.o -lvcl680li -ltl680li -luno_sal -ldl
-lpthread -lm -Wl,-Bdynamic -lstlport_gcc
collect2: ld returned 1 exit status
dmake:  Error code 1, while making '../../../unxlngi6.pro/lib/libipt680li.so'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
/var/tmp/portage/openoffice-2.0.2-r1/work/ooo-build-2.0.2.9/build/OOO_2_0_2/goodies/source/filter.vcl/ipict
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.2-r1 failed.
Call stack:
 ebuild.sh, line 1539:   Called dyn_compile
 ebuild.sh, line 939:   Called src_compile
 openoffice-2.0.2-r1.ebuild, line 231:   Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call
stack if relevant.


Any ideas?
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list



[gentoo-user] acrobat reader can not run by normal user

2006-06-23 Thread fei huang
I'm not sure when did this issue arise, perhaps after a update of my glibc or whatever packages that I could not remember, but seems ok with root somehow, anyway, I used strace to track the running process and get the following message ( the last few lines):
...open(/lib/libgcc_s.so.1, O_RDONLY) = 4
read(4, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\25..., 512) = 512fstat64(4, {st_mode=S_IFREG|0644, st_size=168291, ...}) = 0
mmap2(NULL, 34052, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb6844000
madvise(0xb6844000, 34052, MADV_SEQUENTIAL|0x1) = 0mmap2(0xb684c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x7) = 0xb684c000
close(4) = 0gettimeofday({1151073643, 460980}, NULL) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---exit_group(1) = ?
I'm sure that's not related with permissions, but no idea about how this would happen.hope the strace output for the root may help:
write(3, \31\0\v\0\3\0`\2\0\0\0\0! Y\267\3\0`\0021\2\0\\2\0..., 48) = 48read(3, \1\2\273\0\0\0\0\0\5\0\200\1\0\0\0\0\0\0\0\0\37\0\0\0\320..., 32) = 32
gettimeofday({1151073832, 21086}, NULL) = 0gettimeofday({1151073832, 21215}, NULL) = 0
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 0) = 1
ioctl(3, FIONREAD, [64]) = 0read(3, \34\0\273\0\3\0\240\0020\2\0\0\240\345j\0\1\0\0\0\0\0\0..., 64) = 64
write(3, \20\0\n\0\37\0`\2_ADOBE_ACROBAT_OPEN_FILE..., 40) = 40
read(3, \1\0\274\0\0\0\0\0002\2\0\0\0\0\0\0\1\0\0\0\37\0\0\0\320..., 32) = 32exit_group(0) = ?
thanks in advance..daniel


Re: [gentoo-user] OOo emerge failure

2006-06-23 Thread Caster
On 6/23/06, Mick [EMAIL PROTECTED] wrote:
-LNO_JAVA_HOME/lib -LNO_JAVA_HOME/jre/lib/i386-LNO_JAVA_HOME/jre/lib/i386/client-LNO_JAVA_HOME/jre/lib/i386/native_threads -L/usr/libThis looks suspicious, seems like it couldn't find java - NO_JAVA_HOME... You built with java useflag? Probably result of 
http://bugs.gentoo.org/show_bug.cgi?id=134131 - fixed in -r2, try unmasking it with keywords and merging that one.Caster


[gentoo-user] Ran out of space

2006-06-23 Thread Mick

Agh!  Now I've run out of space.  Just as I was running
pearl-cleaner as well! :-@

There's a lot of stuff in /tmp like:

prw---  1 rootroot  0 Jun  6 21:20 sh-np-3448647298
prw---  1 rootroot  0 Jun  6 21:20 sh-np-3448651088
prw---  1 rootroot  0 Jun  6 23:01 sh-np-3448651997
prw---  1 rootroot  0 Jun  6 20:31 sh-np-3448652156
prw---  1 rootroot  0 Jun  6 20:31 sh-np-3448652502
prw---  1 rootroot  0 Jun  6 23:01 sh-np-3448653093
prw---  1 rootroot  0 Jun  6 20:31 sh-np-3448653260
prw---  1 rootroot  0 Jun  6 21:20 sh-np-3448654592
prw---  1 rootroot  0 Jun  6 23:01 sh-np-3448655862


and further down:

drwxr-xr-x  2 michael users  1136 Apr 30 00:54 svc1n.tmp
drwxr-xr-x  2 michael users   144 Dec 19  2005 svill.tmp
drwxr-xr-x  2 michael users   304 Dec 19  2005 svm4l.tmp
-rw---  1 michael users 0 Dec 19  2005 svn39.tmp
-rw---  1 michael users 0 Dec 19  2005 svn3a.tmp
-rw---  1 michael users 0 Dec 19  2005 svn3b.tmp
-rw---  1 michael users 0 Dec 19  2005 svn3f.tmp
-rw---  1 michael users 0 Dec 19  2005 svn3g.tmp
-rw---  1 michael users 0 Dec 19  2005 svn3h.tmp
-rw---  1 michael users 0 Dec 19  2005 svn3j.tmp
drwxr-xr-x  2 michael users   272 Dec 19  2005 svo1a.tmp
-rw---  1 rootroot  0 Feb 18 13:13 tacLO569w
-rw---  1 rootroot1772723 Mar 11 10:03 tmp.1BnRox
-rw---  1 rootroot1775208 Mar 15 20:06 tmp.5DmJfN
-rw---  1 rootroot1774691 Mar 12 18:03 tmp.KOdDmS
-rw---  1 rootroot1778755 Mar 20 20:46 tmp.PwK8he
-rw---  1 rootroot1783387 Mar 24 20:01 tmp.bBzEHR
-rw---  1 rootroot  18960 Jan  8  2005 xck.16617.xine-check.en
drwx--  2 rootroot 80 Jan 29 21:32 xine-check.10873.1


What of all this can I remove with out fear of borking my system?
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OOo emerge failure

2006-06-23 Thread Mick

On 23/06/06, Caster [EMAIL PROTECTED] wrote:

On 6/23/06, Mick [EMAIL PROTECTED] wrote:
 -LNO_JAVA_HOME/lib -LNO_JAVA_HOME/jre/lib/i386
 -LNO_JAVA_HOME/jre/lib/i386/client
 -LNO_JAVA_HOME/jre/lib/i386/native_threads -L/usr/lib


This looks suspicious, seems like it couldn't find java - NO_JAVA_HOME...
You built with java useflag? Probably result of
http://bugs.gentoo.org/show_bug.cgi?id=134131 - fixed in
-r2, try unmasking it with keywords and merging that one.


No, I don't have java on this machine.

Now I've run out of space as well!
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gtkam+non-rootuser

2006-06-23 Thread cristi
On Fri, 23 Jun 2006 15:42:22 +0200
Ralph Slooten [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 cristi wrote:
  I'm trying to download my pictures from the digital camera but I
  can't seem to succeed  I get Could not list folders in '/'.
 
 Both my wife and I use gtkam on my PC at home, both as normal users
 with no setuid programs or sudo. I am not at home at the moment but
 iirc what I had to do was:
 
 in /etc/fstab:
 none  /proc/bus/usb  usbfs   user,auto,devmode=0660,devgid=85 0 0
 
 
 and in user's groups add plugdev

My user is plugdev group, tried also the /etc/fstab part but still no
go(when that happenedi got the hole /proc/bus/usb/ dir on my desktop)
but I had no usbfs in my /etc/fstab  all usebdevices worked fine till
now is that line mandatory somehow?

 I *think* that was all there was to it.
 
 Greetings,
 Ralph
 
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.0 (MingW32)
 
 iD8DBQFEm+++Ct0ZF9kLPvYRAoDlAJ48nShEsRdbG8JgCt1kskbPkeJJsACfXIug
 cvJRNJcWaNltRapgAFSfF8k=
 =vkM2
 -END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Ran out of space

2006-06-23 Thread Caster
On 6/23/06, Mick [EMAIL PROTECTED] wrote:
What of all this can I remove with out fear of borking my system?From /tmp, everything. You can set WIPE_TMP=yes in /etc/conf.d/bootmisc and let this cleaning happen each boot.
But I guess it won't help you much... you could also wipe /var/tmp/portage/ especially if you have broken OOo build sitting there :)Still in the long run, assuming you have everything in one root partition, that won't be enough...
Caster


Re: [gentoo-user] Ran out of space

2006-06-23 Thread Andrés Becerra Sandoval

On 23/06/06, Mick [EMAIL PROTECTED] wrote:

Agh!  Now I've run out of space.  Just as I was running
pearl-cleaner as well! :-@

There's a lot of stuff in /tmp like:

prw---  1 rootroot  0 Jun  6 21:20 sh-np-3448647298
prw---  1 rootroot  0 Jun  6 21:20 sh-np-3448651088
prw---  1 rootroot  0 Jun  6 23:01 sh-np-3448651997
prw---  1 rootroot  0 Jun  6 20:31 sh-np-3448652156
prw---  1 rootroot  0 Jun  6 20:31 sh-np-3448652502
prw---  1 rootroot  0 Jun  6 23:01 sh-np-3448653093
prw---  1 rootroot  0 Jun  6 20:31 sh-np-3448653260
prw---  1 rootroot  0 Jun  6 21:20 sh-np-3448654592
prw---  1 rootroot  0 Jun  6 23:01 sh-np-3448655862


and further down:

drwxr-xr-x  2 michael users  1136 Apr 30 00:54 svc1n.tmp
drwxr-xr-x  2 michael users   144 Dec 19  2005 svill.tmp
drwxr-xr-x  2 michael users   304 Dec 19  2005 svm4l.tmp
-rw---  1 michael users 0 Dec 19  2005 svn39.tmp
-rw---  1 michael users 0 Dec 19  2005 svn3a.tmp
-rw---  1 michael users 0 Dec 19  2005 svn3b.tmp
-rw---  1 michael users 0 Dec 19  2005 svn3f.tmp
-rw---  1 michael users 0 Dec 19  2005 svn3g.tmp
-rw---  1 michael users 0 Dec 19  2005 svn3h.tmp
-rw---  1 michael users 0 Dec 19  2005 svn3j.tmp
drwxr-xr-x  2 michael users   272 Dec 19  2005 svo1a.tmp
-rw---  1 rootroot  0 Feb 18 13:13 tacLO569w
-rw---  1 rootroot1772723 Mar 11 10:03 tmp.1BnRox
-rw---  1 rootroot1775208 Mar 15 20:06 tmp.5DmJfN
-rw---  1 rootroot1774691 Mar 12 18:03 tmp.KOdDmS
-rw---  1 rootroot1778755 Mar 20 20:46 tmp.PwK8he
-rw---  1 rootroot1783387 Mar 24 20:01 tmp.bBzEHR
-rw---  1 rootroot  18960 Jan  8  2005 xck.16617.xine-check.en
drwx--  2 rootroot 80 Jan 29 21:32 xine-check.10873.1


What of all this can I remove with out fear of borking my system?
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list




I think you can delete everything, when the programs that created
those files restart again, they will recreate the temporary files .

--
 Andrés

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OOo emerge failure

2006-06-23 Thread Caster
On 6/23/06, Mick [EMAIL PROTECTED] wrote:
On 23/06/06, Caster [EMAIL PROTECTED] wrote: On 6/23/06, Mick [EMAIL PROTECTED] wrote:No, I don't have java on this machine.
Weird... still -r2 could be fixed for this. You can try it when you get some space back :DCaster


Re: [gentoo-user] OOo emerge failure

2006-06-23 Thread Neil Bothwick
On Fri, 23 Jun 2006 15:29:36 +0100, Mick wrote:

 ERROR: Error 65280 occurred while making
 /var/tmp/portage/openoffice-2.0.2-r1/work/ooo-build-2.0.2.9/build/OOO_2_0_2/goodies/source/filter.vcl/ipict
 make: *** [stamp/build] Error 1

Try openoffice-2.0.2-r2, which uses the later 2.0.2.11 build. This fixed
some issues for me. -r2 is currently in testing, so you'll have to add it
to /etc/portage/package.keywords.


-- 
Neil Bothwick

A good pun is its own reword.


signature.asc
Description: PGP signature


Re: [gentoo-user] Ran out of space

2006-06-23 Thread Neil Bothwick
On Fri, 23 Jun 2006 17:08:58 +0200, Mick wrote:

 and further down:
 
 drwxr-xr-x  2 michael users  1136 Apr 30 00:54 svc1n.tmp
 drwxr-xr-x  2 michael users   144 Dec 19  2005 svill.tmp
 drwxr-xr-x  2 michael users   304 Dec 19  2005 svm4l.tmp
 -rw---  1 michael users 0 Dec 19  2005 svn39.tmp
 -rw---  1 michael users 0 Dec 19  2005 svn3a.tmp
 -rw---  1 michael users 0 Dec 19  2005 svn3b.tmp
 -rw---  1 michael users 0 Dec 19  2005 svn3f.tmp
 -rw---  1 michael users 0 Dec 19  2005 svn3g.tmp
 -rw---  1 michael users 0 Dec 19  2005 svn3h.tmp
 -rw---  1 michael users 0 Dec 19  2005 svn3j.tmp
 drwxr-xr-x  2 michael users   272 Dec 19  2005 svo1a.tmp
 -rw---  1 rootroot  0 Feb 18 13:13 tacLO569w
 -rw---  1 rootroot1772723 Mar 11 10:03 tmp.1BnRox
 -rw---  1 rootroot1775208 Mar 15 20:06 tmp.5DmJfN
 -rw---  1 rootroot1774691 Mar 12 18:03 tmp.KOdDmS
 -rw---  1 rootroot1778755 Mar 20 20:46 tmp.PwK8he
 -rw---  1 rootroot1783387 Mar 24 20:01 tmp.bBzEHR
 -rw---  1 rootroot  18960 Jan  8  2005
 xck.16617.xine-check.en drwx--  2 rootroot 80 Jan 29
 21:32 xine-check.10873.1 
 
 What of all this can I remove with out fear of borking my system?

Anything older than your last reboot.

Are /tmp and /var/tmp on the same partition? If so, clean
out /var/tmp/portage, it will have several GB of openoffice files
following your failed emerge.


-- 
Neil Bothwick

BREAKFAST.COM Halted - Cereal Port Not Responding


signature.asc
Description: PGP signature


Re: [gentoo-user] Unwanted dependecies

2006-06-23 Thread Jure Varlec
Thank you for replying. I see now that I should clarify further what is 
bothering me, as you didn't quite see my point. I guess it got lost in the 
noise. No more stories then :)

Remember USE flags are for *optional* dependencies. Mandatory dependencies 
will remain no matter what USE flags you set.

I understand. That is not the problem.

How did you determine that? Did the ebuild inherit any eclasses and did you 
look in those? Also make sure you have =gentoolkit-0.2.2.

Gentoolkit is 0.2.2. After equery, I took a look at the ebuild.
As for the eclasses, I must admit I'm still not too comfortable with them, 
which is what I was actually referring to when I said I need to understand 
portage better. It's a shame really considering that I've been using gentoo 
for two-and-a-half years. I need to get spanked ;) . But as far as I 
understand it (and from what I can see looking at the eclasses) they are 
merely collections of useful shell functions which devs can use when writing 
ebuilds.

Anyway, to get rid of unnecessary confusion, I will give you an example 
package which I remember, and whose ebuild is simple enough so that it does 
not include any complicated inherits. In fact, it is short enough to be 
included in this mail.

 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/media-gfx/gqview/gqview-2.0.1.ebuild,v
 1.8 2006/02/21 21:31:07 mr_bones_ Exp $

 DESCRIPTION=A GTK-based image browser
 HOMEPAGE=http://gqview.sourceforge.net/;
 SRC_URI=mirror://sourceforge/gqview/${P}.tar.gz

 LICENSE=GPL-2
 SLOT=0
 KEYWORDS=alpha amd64 ia64 ppc ppc64 sparc x86
 IUSE=

 RDEPEND==x11-libs/gtk+-2.4.0
 virtual/libintl

 DEPEND=${RDEPEND}
 sys-devel/gettext

 src_install() {
 make DESTDIR=${D} install || die make install failed
 # leave README uncompressed because the program reads it
 dodoc AUTHORS ChangeLog TODO
 rm -f ${D}/usr/share/doc/${PF}/COPYING
 }

As you can see, it does not inherit anything, and does not depend on anything 
gnomish. However, when I checked with equery, it definitely depended on 
something which I didn't need/want (sorry, I can't remember what it was, 
probably gconf or some such), although the ebuild specifies no such 
dependency, not even indirectly (through gtk+ etc.)  After I removed the 
unwanted dep and remerged gqview, it did not pull the removed dependency 
back in, and no longer depends on it.

The same applies for dependencies which were disabled through use flags, such 
as this snip (from openoffice):

 gnome? ( =x11-libs/gtk+-2.4

 =gnome-base/gnome-vfs-2.6
 =gnome-base/gconf-2.0 )

In this case, It depended on gnome-vfs and gconf, even when the gnome USE flag 
was disabled. After I removed the offending packages and recompiled 
openoffice, the dependecy is gone.
Note: you might remember I wrote that oo.org used to be compiled with 
USE=eds, which pulls these in along with other stuff indirectly through 
gnome-extra/evolution-data-server. It was the reason these libs were 
installed in the first place. The dependency problem I'm describing, however, 
is independent from that and was present even after I recompiled oo.org 
without eds.

I hope this helped you better understand what is bothering me. It's not that 
I'm particularly against having those libs installed and wouldn't mind to 
keep them if they were hard deps of something I needed, but I'm kind of 
frustrated when packages depend on things I told them not to depend on 
through USE flags. It means I cant test a package with a hard dep on a lib 
because in case I emerge something while that lib is installed, I'll never 
know if it will choose to depend on that lib, which in turn would mean that 
after I remove the lib, I need to recompile stuff, once more. In the past two 
weeks, I recompiled openoffice 4 times, which is 3 times more than I'm 
normally willing to do it. This is not to say I would be less frustrated if 
only small packages were affected :)

Looking at oo.org ebuild again and I see that it uses use_enable function in 
the call to ./configure. So why the heck did it depend on gconf and gnome-vfs 
when it was obviously told not to? And even more confusing: how did equery 
know about this dependency?

*Sigh*
I hope I'm missing something here. Because if these are bugs, there's quite a 
few. Sadly, I removed all the temporary lists of packages I removed and 
rebuilt, so I have nothing to report now. Stupid me.

Jure




pgp42lQd4UUE6.pgp
Description: PGP signature


[gentoo-user] Gentoo Sysadmin

2006-06-23 Thread Sarfaraz Manji




Hi - (Apologies in advance if I shouldn't be posting here.)

We're looking for persons to help with sysadmining some Gentoo PCs. Anybody need part-time work.

Regards, Sarfaraz.




Re: [gentoo-user] Gentoo Sysadmin

2006-06-23 Thread karsten
Hi Sarfaranz,

where would that be?


greets,

Karsten

On Fri, 2006-06-23 at 17:02 +0100, Sarfaraz Manji wrote:
 Hi - (Apologies in advance if I shouldn't be posting here.)
 
 We're looking for persons to help with sysadmining  some Gentoo PCs.
 Anybody need part-time work.
 
 Regards, Sarfaraz.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Back to root forbidden ???

2006-06-23 Thread Meino Christian Cramer

Hi,

 I encountered a mysteriuos phenomenon:

 I am able to:
 Login as root on the console
 Execute sudo as well under the console as from a terminal under X11
 (using IceWM, mrxvt)
 Executing sudo su (ok, that's kinda recursive login, but...)

 I AM NOT ABLE TO:
 use su (standalone) as well under the console as from a terminal
 under X11.

 Confusion starts ---here--- 

 Any help where to tweak the system is very appreciated !

 :)

 keep hacking!
 mcc



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unwanted dependecies

2006-06-23 Thread Neil Bothwick
On Fri, 23 Jun 2006 17:51:16 +0200, Jure Varlec wrote:

 Note: you might remember I wrote that oo.org used to be compiled with 
 USE=eds, which pulls these in along with other stuff indirectly
 through gnome-extra/evolution-data-server. It was the reason these libs
 were installed in the first place. The dependency problem I'm
 describing, however, is independent from that and was present even
 after I recompiled oo.org without eds.

How did you disable that USE flag? AIUI equery works with global USE
flags, so if emerge --info still shows eds, equery will think OOo depends
on it, no matter what you have in /etc/portage.


-- 
Neil Bothwick

This screen intentionally left blank.


signature.asc
Description: PGP signature


Re: [gentoo-user] Gentoo Sysadmin

2006-06-23 Thread Neil Bothwick
On Fri, 23 Jun 2006 17:02:11 +0100, Sarfaraz Manji wrote:

 We're looking for persons to help with sysadmining  some Gentoo PCs.
 Anybody need part-time work.

Unless this is all to be done over SSH, you might like to say where these
boxes are. Oh, and it is considered polite on this list to put OT in the
subject of off-topic posts. but you won't get flamed for it, unlike some
lists :(


-- 
Neil Bothwick

Synonym: a word you use when you can't spell the other one.


signature.asc
Description: PGP signature


[gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-23 Thread Jarry

Hi,

I tried to emerge mod_security, but it failed with error
(bellow). Apparently, there is no modsecurity-1.8.7.tar.gz

May I download it from somewhere manually, copy to proper place
and continue? I would really like to have mod_security installed...

Jarry


=
obelix ~ # emerge mod_security
Calculating dependencies... done!
 Emerging (1 of 1) net-www/mod_security-1.8.7 to /
 Downloading 
http://distfiles.gentoo.org/distfiles/modsecurity-1.8.7.tar.gz

--16:30:13--  http://distfiles.gentoo.org/distfiles/modsecurity-1.8.7.tar.gz
   = `/usr/portage/distfiles/modsecurity-1.8.7.tar.gz'
Resolving distfiles.gentoo.org... 216.165.129.135, 64.50.236.52, 
64.50.238.52, ...

Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
16:30:14 ERROR 404: Not Found.

 Downloading 
http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/modsecurity-1.8.7.tar.gz
--16:30:14-- 
http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/modsecurity-1.8.7.tar.gz

   = `/usr/portage/distfiles/modsecurity-1.8.7.tar.gz'
Resolving distro.ibiblio.org... 152.2.210.109
Connecting to distro.ibiblio.org|152.2.210.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
16:30:14 ERROR 404: Not Found.

 Downloading 
http://www.modsecurity.org/download/modsecurity-1.8.7.tar.gz

--16:30:14--  http://www.modsecurity.org/download/modsecurity-1.8.7.tar.gz
   = `/usr/portage/distfiles/modsecurity-1.8.7.tar.gz'
Resolving www.modsecurity.org... 82.165.78.202
Connecting to www.modsecurity.org|82.165.78.202|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.modsecurity.org/download/not_found.html [following]
--16:30:15--  http://www.modsecurity.org/download/not_found.html
   = `/usr/portage/distfiles/not_found.html.4'
Connecting to www.modsecurity.org|82.165.78.202|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,876 (2.8K) [text/html]

100%[] 2,876 --.--K/s

16:30:15 (82.48 KB/s) - `/usr/portage/distfiles/not_found.html.4' saved 
[2876/2876]

!!! Couldn't download modsecurity-1.8.7.tar.gz. Aborting.
obelix ~ #
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gtkam+non-rootuser

2006-06-23 Thread Ralph Slooten
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

cristi wrote:
 My user is plugdev group, tried also the /etc/fstab part but still no
 go(when that happenedi got the hole /proc/bus/usb/ dir on my desktop)
 but I had no usbfs in my /etc/fstab  all usebdevices worked fine till
 now is that line mandatory somehow?

When you plug in your camera into your USB, what does `lsusb` show? Here:

beast ~ # lsusb
Bus 005 Device 001: ID :
Bus 004 Device 001: ID :
Bus 003 Device 010: ID 04a9:3055 Canon, Inc. PowerShot G2
Bus 003 Device 001: ID :
Bus 002 Device 003: ID 046d:c00b Logitech, Inc. MouseMan Wheel
Bus 002 Device 001: ID :
Bus 001 Device 001: ID :



Then, looking in /proc/bus/usb/[Bus-id_of_your_camera]

beast ~ # ll /proc/bus/usb/003/
total 0
- -rw-rw 1 root usb 43 Jun 23 08:39 001
- -rw-rw 1 root plugdev 57 Jun 23 18:32 010


You see, the new device created here is the root:pludged one. What does
yours show? The thing you need to keep in mind here is that you have to
have rw permissions to that new device file, else you get that error. If
yours is roor:root or something, do a chown of it and then try as
user... the chances are it'll work (until you next plug your camera is
of course).

Doing a grep for plugdev in /etc returns /etc/hotplug/usb/usbcam ...
seems that file is responsible for the permissions, but what happens
then is a mystery to me ;-)

As for that line being mandatory, no I don't believe so, but about 1
year ago I had the same issues, got talking with some usb-gurus and they
said to add that. At that time it did the trick, and since then I've
kept it ;-)

Greetings,
Ralph



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEnBnLCt0ZF9kLPvYRAlxvAJ4uPDxfpIgH8XNx7zItpTYA1mBGdACfe7WY
h35yYDMAsDN8pn8cgntDU1w=
=2Wk9
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Back to root forbidden ???

2006-06-23 Thread Alexander Skwar

Meino Christian Cramer wrote:


 I AM NOT ABLE TO:
 use su (standalone) as well under the console as from a terminal
 under X11.


Why not? What happens when you run su?

Alexander Skwar
--
I've seen people with new children before, they go from ultra happy to
looking like something out of a zombie film in about a week.
-- Alan Cox about Linus after his 2nd daughter
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Ran out of space

2006-06-23 Thread Alexander Skwar

Mick wrote:


There's a lot of stuff in /tmp like:

[...]

What of all this can I remove with out fear of borking my system?


Normally, you can remove *everything* in /tmp without borking
your system. At worst, a reboot might be required - but even
this shouldn't be necessary.

Alexander Skwar
--
There are two types of people in this world, good and bad.  The good
sleep better, but the bad seem to enjoy the waking hours much more.
-- Woody Allen

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Back to root forbidden ???

2006-06-23 Thread Daniel da Veiga

On 6/23/06, Meino Christian Cramer [EMAIL PROTECTED] wrote:


Hi,

 I encountered a mysteriuos phenomenon:

 I am able to:
 Login as root on the console
 Execute sudo as well under the console as from a terminal under X11
 (using IceWM, mrxvt)
 Executing sudo su (ok, that's kinda recursive login, but...)

 I AM NOT ABLE TO:
 use su (standalone) as well under the console as from a terminal
 under X11.

 Confusion starts ---here--- 

 Any help where to tweak the system is very appreciated !

 :)



Is the user in the wheel group?

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Back to root forbidden ???

2006-06-23 Thread reader
Meino Christian Cramer [EMAIL PROTECTED] writes:

 Hi,

  I encountered a mysteriuos phenomenon:

  I am able to:
  Login as root on the console
  Execute sudo as well under the console as from a terminal under X11
  (using IceWM, mrxvt)
  Executing sudo su (ok, that's kinda recursive login, but...)

  I AM NOT ABLE TO:
  use su (standalone) as well under the console as from a terminal
  under X11.

  Confusion starts ---here--- 

  Any help where to tweak the system is very appreciated !

To help we would have to know what `as well' means.  What actually
happens, any error messages.. etc.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Back to root forbidden ???

2006-06-23 Thread Meino Christian Cramer
From: Daniel da Veiga [EMAIL PROTECTED]
Subject: Re: [gentoo-user] Back to root forbidden ???
Date: Fri, 23 Jun 2006 13:58:28 -0300

 On 6/23/06, Meino Christian Cramer [EMAIL PROTECTED] wrote:
 
  Hi,
 
   I encountered a mysteriuos phenomenon:
 
   I am able to:
   Login as root on the console
   Execute sudo as well under the console as from a terminal under X11
   (using IceWM, mrxvt)
   Executing sudo su (ok, that's kinda recursive login, but...)
 
   I AM NOT ABLE TO:
   use su (standalone) as well under the console as from a terminal
   under X11.
 
   Confusion starts ---here--- 
 
   Any help where to tweak the system is very appreciated !
 
   :)
 
 
 Is the user in the wheel group?
 
 -- 
 Daniel da Veiga
 Computer Operator - RS - Brazil
 -BEGIN GEEK CODE BLOCK-
 Version: 3.1
 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
 PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
 --END GEEK CODE BLOCK--
 -- 
 gentoo-user@gentoo.org mailing list
 

that was problem !
thanks !!! :)
mcc

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unwanted dependecies

2006-06-23 Thread Bo Ørsted Andresen
On Friday 23 June 2006 17:51, Jure Varlec wrote:
 Thank you for replying. I see now that I should clarify further what is
 bothering me, as you didn't quite see my point. I guess it got lost in the
 noise. No more stories then :)

It was not lost. Just questioned...

[SNIP]

 Gentoolkit is 0.2.2. After equery, I took a look at the ebuild.
 As for the eclasses, I must admit I'm still not too comfortable with them,
 which is what I was actually referring to when I said I need to understand
 portage better. It's a shame really considering that I've been using gentoo
 for two-and-a-half years. I need to get spanked ;) . But as far as I
 understand it (and from what I can see looking at the eclasses) they are
 merely collections of useful shell functions which devs can use when
 writing ebuilds.

ebuilds inherit dependencies and USE flags from the eclasses too.

[SNIP]

 As you can see, it does not inherit anything, and does not depend on
 anything gnomish. However, when I checked with equery, it definitely
 depended on something which I didn't need/want (sorry, I can't remember
 what it was, probably gconf or some such), although the ebuild specifies no
 such dependency, not even indirectly (through gtk+ etc.)  After I removed
 the unwanted dep and remerged gqview, it did not pull the removed
 dependency back in, and no longer depends on it.

Hard to comment on since you don't remember..

 The same applies for dependencies which were disabled through use flags,
 such

 as this snip (from openoffice):
  gnome? ( =x11-libs/gtk+-2.4
 
  =gnome-base/gnome-vfs-2.6
  =gnome-base/gconf-2.0 )

 In this case, It depended on gnome-vfs and gconf, even when the gnome USE
 flag was disabled. After I removed the offending packages and recompiled
 openoffice, the dependecy is gone.
 Note: you might remember I wrote that oo.org used to be compiled with
 USE=eds, which pulls these in along with other stuff indirectly through
 gnome-extra/evolution-data-server. It was the reason these libs were
 installed in the first place. The dependency problem I'm describing,
 however, is independent from that and was present even after I recompiled
 oo.org without eds.

I do have openoffice and gnome-vfs too. equery depends gnome-vfs does report 
openoffice for me despite the fact that the gnome use flag is disabled. So I 
tried removing gnome-vfs from /var/db/pkg/app-office/openoffice*/{R,}DEPEND. 
That stopped equery from showing openoffice with equery depends gnome-vfs. I 
also tried removing gnome-vfs and running revdep-rebuild -p. This did not 
report any broken dependencies from openoffice. So I think it is very 
possible that there are still bugs in equery... I don't know though how 
equery works though so it's just a guess.

[SNIP]

 *Sigh*
 I hope I'm missing something here. Because if these are bugs, there's quite
 a few. Sadly, I removed all the temporary lists of packages I removed and
 rebuilt, so I have nothing to report now. Stupid me.

While I think those are bugs they are really minor.

-- 
Bo Andresen


pgpgpsSOK2Gsz.pgp
Description: PGP signature


Re: [gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-23 Thread Teresa and Dale
Jarry wrote:

 Hi,

 I tried to emerge mod_security, but it failed with error
 (bellow). Apparently, there is no modsecurity-1.8.7.tar.gz

 May I download it from somewhere manually, copy to proper place
 and continue? I would really like to have mod_security installed...

 Jarry


 =
 obelix ~ # emerge mod_security
 Calculating dependencies... done!
  Emerging (1 of 1) net-www/mod_security-1.8.7 to /
  Downloading
 http://distfiles.gentoo.org/distfiles/modsecurity-1.8.7.tar.gz
 --16:30:13-- 
 http://distfiles.gentoo.org/distfiles/modsecurity-1.8.7.tar.gz
= `/usr/portage/distfiles/modsecurity-1.8.7.tar.gz'
 Resolving distfiles.gentoo.org... 216.165.129.135, 64.50.236.52,
 64.50.238.52, ...
 Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected.
 HTTP request sent, awaiting response... 404 Not Found
 16:30:14 ERROR 404: Not Found.

  Downloading
 http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/modsecurity-1.8.7.tar.gz

 --16:30:14--
 http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/modsecurity-1.8.7.tar.gz

= `/usr/portage/distfiles/modsecurity-1.8.7.tar.gz'
 Resolving distro.ibiblio.org... 152.2.210.109
 Connecting to distro.ibiblio.org|152.2.210.109|:80... connected.
 HTTP request sent, awaiting response... 404 Not Found
 16:30:14 ERROR 404: Not Found.

  Downloading
 http://www.modsecurity.org/download/modsecurity-1.8.7.tar.gz
 --16:30:14-- 
 http://www.modsecurity.org/download/modsecurity-1.8.7.tar.gz
= `/usr/portage/distfiles/modsecurity-1.8.7.tar.gz'
 Resolving www.modsecurity.org... 82.165.78.202
 Connecting to www.modsecurity.org|82.165.78.202|:80... connected.
 HTTP request sent, awaiting response... 302 Found
 Location: http://www.modsecurity.org/download/not_found.html [following]
 --16:30:15--  http://www.modsecurity.org/download/not_found.html
= `/usr/portage/distfiles/not_found.html.4'
 Connecting to www.modsecurity.org|82.165.78.202|:80... connected.
 HTTP request sent, awaiting response... 200 OK
 Length: 2,876 (2.8K) [text/html]

 100%[] 2,876 --.--K/s

 16:30:15 (82.48 KB/s) - `/usr/portage/distfiles/not_found.html.4'
 saved [2876/2876]
 !!! Couldn't download modsecurity-1.8.7.tar.gz. Aborting.
 obelix ~ #



Ok, here is what I did and my thinking behind it.  We need to find the
home page for this program.  The way I do it is emerge -s name of
program and I get this:

 [EMAIL PROTECTED] / # emerge -s mod_security
 Searching...
 [ Results for search key : mod_security ]
 [ Applications found : 1 ]

 *  net-www/mod_security
   Latest version available: 1.8.7
   Latest version installed: [ Not Installed ]
   Size of files: 305 kB
   Homepage:  http://www.modsecurity.org
   Description:   Intrusion Detection System for apache
   License:   GPL-2


 [EMAIL PROTECTED] / #


OK.  We have the home page.  Copy the address into a browser and go to
it.  When I get there, I see the download section so that is a great
start.  To make sure I get the right thing, I go to a console and type
in emerge -fp name of program.  For this one we need
mod_security-1.8.7.ebuild.  We find it and download it.  Since we are
not logged into our GUI as root, we need to either copy it over to
/usr/portage/distfiles in a console or use another GUI file manager with
root access.  Copy that over to distfiles and try to emerge it and hope
it works.

I'm sure there are other ways to do this but this is what I have done a
few times.  Hope this helps.

Dale
:-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DVD Movie Ripping Issues

2006-06-23 Thread Hani Duwaik
On 6/22/06, fire-eyes [EMAIL PROTECTED] wrote:
Hello. I have decided to centralize all information regarding my issues.Basically I am looking for help with problems I am having ripping DVD moviesI own.If you are interested, please have a look at this. If it does not exist
anymore, then I removed it, and I thank you for your interest. Be sure torefresh the page if you are going to reply.Thanks!http://fire-eyes.org/temp/dvd-ripping-issues.txt
--When you walk across the fields with your mind pure and holy, then fromall the stones, and all growing things, and all animals, the sparks oftheir soul come out and cling to you. And then they are purified, and
become a holy fire in you. -- Ancient Hasidic Saying--gentoo-user@gentoo.org mailing listHave you tried k9copy?
http://k9copy.sourceforge.net/HTH,-Hani-- If, of the many truths, you select only one and follow it blindly, it will become a falsehood, and you a fanatic. 


Re: [gentoo-user] Unwanted dependecies

2006-06-23 Thread Bo Ørsted Andresen
On Friday 23 June 2006 18:34, Neil Bothwick wrote:
 AIUI equery works with global USE
 flags, so if emerge --info still shows eds, equery will think OOo depends
 on it, no matter what you have in /etc/portage.

I am pretty sure that it uses /var/db/pkg/${category}/${name}/USE to determine 
the USE flags that were used when the package was compiled. Also `equery 
uses` is affected by /etc/portage/package.use.

-- 
Bo Andresen


pgpMIV9fVCAUr.pgp
Description: PGP signature


Re: [gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-23 Thread Jarry

Teresa and Dale wrote:

snip

...We have the home page.  Copy the address into a browser and go to
it.  When I get there, I see the download section so that is a great
start.


Thanks, but the problem is, that this version is really no more on
homepage. There is only modsecurity-apache_1.9.4.tar.gz, but that
is masked as ~x86/~amd64 in our portage. And I do not want
to experiment with ~ packages on my server...  :-(

Maybe someone has modsecurity-apache_1.8.7.tar.gz it somewhere,
locally saved...

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



Re: [gentoo-user] Unwanted dependecies

2006-06-23 Thread Jure Varlec
On Friday 23 June 2006 18:34, Neil Bothwick wrote:
 On Fri, 23 Jun 2006 17:51:16 +0200, Jure Varlec wrote:
  Note: you might remember I wrote that oo.org used to be compiled with
  USE=eds, which pulls these in along with other stuff indirectly
  through gnome-extra/evolution-data-server. It was the reason these libs
  were installed in the first place. The dependency problem I'm
  describing, however, is independent from that and was present even
  after I recompiled oo.org without eds.

 How did you disable that USE flag? AIUI equery works with global USE
 flags, so if emerge --info still shows eds, equery will think OOo depends
 on it, no matter what you have in /etc/portage.

It's disabled in make.conf. I have a policy to disable global flags there, and 
local flags in package.use. It's just that I missed eds when I went through 
global flags, and I obviously didn't pay attention when I emerged oo.org. Not 
that it matters for the problem at hand.

Jure


pgpVtnbGQrnZf.pgp
Description: PGP signature


[gentoo-user] Re: Xorg-6.8.2-r2 will compile, but won't install

2006-06-23 Thread Remy Blank
Daniel wrote:
 I have no idea where to go from here.  Any suggestions?

You can emerge it with:

FEATURES=-collision-protect emerge xorg-x11

But it is probably a bug. You should check on bugs.gentoo.org if it is
already reported, and file a new bug if not.

-- Remy


Remove underscore and suffix in reply address for a timely response.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-23 Thread Teresa and Dale
Jarry wrote:

 Teresa and Dale wrote:

 snip

 ...We have the home page.  Copy the address into a browser and go to
 it.  When I get there, I see the download section so that is a great
 start.


 Thanks, but the problem is, that this version is really no more on
 homepage. There is only modsecurity-apache_1.9.4.tar.gz, but that
 is masked as ~x86/~amd64 in our portage. And I do not want
 to experiment with ~ packages on my server...  :-(

 Maybe someone has modsecurity-apache_1.8.7.tar.gz it somewhere,
 locally saved...

 Jarry


It's there.  Try here: 
http://www.gentoo-portage.com/net-www/mod_security  It's in the list on
the bottom.  I guess the others are masked still.

Dale
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unwanted dependecies

2006-06-23 Thread Jure Varlec
On Friday 23 June 2006 19:40, Bo Ørsted Andresen wrote:
 I do have openoffice and gnome-vfs too. equery depends gnome-vfs does
 report openoffice for me despite the fact that the gnome use flag is
 disabled. So I tried removing gnome-vfs from
 /var/db/pkg/app-office/openoffice*/{R,}DEPEND. That stopped equery from
 showing openoffice with equery depends gnome-vfs. I also tried removing
 gnome-vfs and running revdep-rebuild -p. This did not report any broken
 dependencies from openoffice. So I think it is very possible that there are
 still bugs in equery... I don't know though how equery works though so it's
 just a guess.

Hm. I guess it's not hard to imagine equery fails to read USE flags correctly 
and that would make it a bug. But this still doesn't explain gqview, which 
doesn't have neither hard nor USE dependencies on anything I removed.

Obviously I have to do more research, especially since I haven't any data to 
support me. And I thought cleaning out unneeded libs would be a fun thing to 
do in between the exams :) . Meh. Unless someone picks this up, I'll have 
more time in a month or so. I'm definitely not going to file any bugs or some 
such until I know more.

Thank you for your input
Jure


pgpLbqJfpkRmK.pgp
Description: PGP signature


[gentoo-user] Firefox and Java bringing X down

2006-06-23 Thread Bruno Lustosa

Hello.

I find this most weird. Whenever I try to open firefox and then open a
tab with a local Java applet, not only does firefox die, but it causes
the X server to die with signal 8.

Here are the versions I'm using:
[ebuild   R   ] www-client/mozilla-firefox-1.5.0.4  USE=java -debug
-gnome -ipv6 -mozdevelop -xinerama -xprint
[ebuild   R   ] dev-java/sun-jdk-1.4.2.10-r2  USE=alsa nsplugin -X
-browserplugin -doc -examples -jce -mozilla
[ebuild   R   ] dev-java/sun-jre-bin-1.5.0.06-r2  USE=alsa nsplugin
-X -browserplugin -mozilla

I thought X clients shouldn't bring the X server down, but this is
clearly what's happening here. I can reproduce it everytime.
I don't even know where to start looking.

Does anyone ever had a problem similar to this?

Thanks

--
Bruno Lustosa [EMAIL PROTECTED]
http://www.lustosa.net/
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-23 Thread Jarry

Teresa and Dale wrote:


http://www.gentoo-portage.com/net-www/mod_security  It's in the list on
the bottom.  I guess the others are masked still.


Again bad luck. It is a link only to ebuild.
And there is again link to homepage, which does not work:

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-www/mod_security/mod_security-1.8.7.ebuild,v 
1.6 2006/04/18 23:07:50 weeve Exp $

inherit eutils apache-module
MY_P=${P/_/}
S=${WORKDIR}/${MY_P}
DESCRIPTION=Intrusion Detection System for apache
HOMEPAGE=http://www.modsecurity.org;
SRC_URI=http://www.modsecurity.org/download/${MY_P}.tar.gz;
snip

But thanks anyway... ;-)

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



Re: [gentoo-user] Re: Xorg-6.8.2-r2 will compile, but won't install

2006-06-23 Thread Daniel
On Friday 23 June 2006 14:21, Remy Blank wrote:
 Daniel wrote:
  I have no idea where to go from here.  Any suggestions?

 You can emerge it with:

 FEATURES=-collision-protect emerge xorg-x11

 But it is probably a bug. You should check on bugs.gentoo.org if it
 is already reported, and file a new bug if not.

Thanks!  I've submitted the bug.

-- 
Thinking is easy, acting is difficult,
and to put one's thoughts into action
is the most difficult thing in the world.
  - Johann Wolfgang Von Goethe
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-23 Thread Daniel da Veiga

On 6/23/06, Jarry [EMAIL PROTECTED] wrote:

Teresa and Dale wrote:

 http://www.gentoo-portage.com/net-www/mod_security  It's in the list on
 the bottom.  I guess the others are masked still.

Again bad luck. It is a link only to ebuild.
And there is again link to homepage, which does not work:

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/net-www/mod_security/mod_security-1.8.7.ebuild,v
1.6 2006/04/18 23:07:50 weeve Exp $
inherit eutils apache-module
MY_P=${P/_/}
S=${WORKDIR}/${MY_P}
DESCRIPTION=Intrusion Detection System for apache
HOMEPAGE=http://www.modsecurity.org;
SRC_URI=http://www.modsecurity.org/download/${MY_P}.tar.gz;
snip

But thanks anyway... ;-)

Jarry
--


Try:
http://mirror.trouble-free.net/sources/

BTW: link got by simply searching google for modsecurity-1.8.7.tar.gz.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-23 Thread Teresa and Dale
Jarry wrote:

 Teresa and Dale wrote:

 http://www.gentoo-portage.com/net-www/mod_security  It's in the list on
 the bottom.  I guess the others are masked still.


 Again bad luck. It is a link only to ebuild.
 And there is again link to homepage, which does not work:

 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header:
 /var/cvsroot/gentoo-x86/net-www/mod_security/mod_security-1.8.7.ebuild,v
 1.6 2006/04/18 23:07:50 weeve Exp $
 inherit eutils apache-module
 MY_P=${P/_/}
 S=${WORKDIR}/${MY_P}
 DESCRIPTION=Intrusion Detection System for apache
 HOMEPAGE=http://www.modsecurity.org;
 SRC_URI=http://www.modsecurity.org/download/${MY_P}.tar.gz;
 snip

 But thanks anyway... ;-)

 Jarry


Then comes my next friend, Google.  What I did to find it: 
http://www.google.com/search?hl=enq=modsecurity-1.8.7.tar.gz+downloadbtnG=Google+Search
 
Then a link to the pages I picked: 
http://www.gotroot.com/downloads/ftp/modsecurity/  or 
http://mirror.trouble-free.net/sources/ should work.

That should help.  Now to go uninstall apache and the others it emerged
while I was figuring this thing out.

Dale
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] booting with an lvm2 root. How do I make a working initrd?

2006-06-23 Thread Javier Ubillos

Hi.

I'm trying to get my gentoo isntallation to work, but I'm just ending up 
pulling my hair out.


The setup I'm going for is a single disk, with two partitions

One 100MB partition for /boot
and the rest of the disk (~120GB) for LVM

I've used the standard gentoo installation handbook + Gentoo LVM2 
installation http://www.gentoo.org/doc/en/lvm2.xml + gentoo wiki 
HOWTO Install Gentoo on an LVM2 root partition 
http://gentoo-wiki.com/HOWTO_Install_Gentoo_on_an_LVM2_root_partition#Make_your_initrd

and some random googeling

From what I gather, I need an initrd image to boot with, so that it can 
load neccecary modules to be able to read the logical volumes.

I don't want to use genkernel, but I still want it to work.
The entry in the gentoo wiki is inkomplete (the links to the precompiled 
binaries are broken)


when I try to run
mkinitrd --preload md_mod --with=md_mod initrd-2.6.16-gentoo-r9 
2.6.16-gentoo-r9

I allways get
no temporary directory could be found
(I'm runniing this from the live cd)

In conclusion:
how do I get/make a working initrd so I can boot with my lvm2 root?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] booting with an lvm2 root. How do I make a working initrd?

2006-06-23 Thread Sascha Lucas

On Fri, 23 Jun 2006, Javier Ubillos wrote:


I don't want to use genkernel, but I still want it to work.


you realy should use genkernel it's much easier.


mkinitrd --preload md_mod --with=md_mod initrd-2.6.16-gentoo-r9


well you should not use mkinitrd, if you refuse genkernel :-).
btw: md-mod is RAID (multiple devs), LVM is dm-mod (dev mapper).


In conclusion:
how do I get/make a working initrd so I can boot with my lvm2 root?


that's much work to do it your self start building ext2 images or 
cpio's with static busybox  lvm2 and write your own linuxrc (here you may 
cheat by looking into linuxrc from genkernel :-)). Don't forget to create 
dev-files and to include some modules.


Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Ran out of space

2006-06-23 Thread Mick

On 23/06/06, Alexander Skwar [EMAIL PROTECTED] wrote:

Mick wrote:

 There's a lot of stuff in /tmp like:
[...]
 What of all this can I remove with out fear of borking my system?

Normally, you can remove *everything* in /tmp without borking
your system. At worst, a reboot might be required - but even
this shouldn't be necessary.


Thanks for all your replies.  I think I should be emerging OOo-bin
because there's just not enough space in this old laptop (just 2G
available under / after I cleared out the abandoned OOo emerge files).
I have /usr/portage on its own dir, but everything else is under / .
I just can't remember if I ever managed to emerge OOo on this lappy
and used up the disk space therafter, or if I cloned it from another
box . . .
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox and Java bringing X down

2006-06-23 Thread Roy Wright

Bruno Lustosa wrote:

Hello.

I find this most weird. Whenever I try to open firefox and then open a
tab with a local Java applet, not only does firefox die, but it causes
the X server to die with signal 8.

I thought X clients shouldn't bring the X server down, but this is
clearly what's happening here. I can reproduce it everytime.
I don't even know where to start looking.

Does anyone ever had a problem similar to this?


I've noticed the same thing starting last Tuesday (I'm ~x86).
Hopefully we can trace this down this weekend...

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



Re: [gentoo-user] Unwanted dependencies

2006-06-23 Thread Benno Schulenberg
Bo Ørsted Andresen wrote:
 On Friday 23 June 2006 18:34, Neil Bothwick wrote:
  AIUI equery works with global USE
  flags, so if emerge --info still shows eds, equery will think
  OOo depends on it, no matter what you have in /etc/portage.

 I am pretty sure that it uses /var/db/pkg/${category}/${name}/USE
 to determine the USE flags that were used when the package was
 compiled.

It should, but it doesn't do that.  For example, on my system I have 
no hal:

$ eix -e hal | grep Installed
 Installed:   none

But:

$ equery depends hal
[ Searching for packages depending on hal... ]
gnome-base/gnome-vfs-2.12.2
app-cdr/k3b-0.12.15

It apparently produces any package that either depends on hal, or 
_conditionally_ depends on hal.  It clearly doesn't take USE flags 
into account.

$ emerge --info | grep hal
[nothing]

$ equery --version
equery(0.1.4) - Gentoo Package Query Tool
Author(s): Karl Trygve Kalleberg

The previous version didn't list any conditional dependency, even 
when the USE flag was set and the package installed, the current 
version lists these conditional deps always.

These bugs look relevant:
https://bugs.gentoo.org/show_bug.cgi?id=81012
https://bugs.gentoo.org/show_bug.cgi?id=124053

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



[gentoo-user] Slow PCMCIA-USB

2006-06-23 Thread Christoph Eckert
Hi all,


I just purchased a PCMCIA-USB-card to make my notebook USB 2.0 ready. I 
connected an external USB drive and an mp3-stick using Knoppix and was 
very happy because everything worked right out of the box. Making a 
backup of my Gentoo installation to the USB drive was a real joy :) .

When running the card under Gentoo, everything is plug and play as well, 
but there are two disadvantages:

* I have to put in the card after booting. Otherwise I cannot establish 
a DSL connection (minor issue)

* Worse: The device works well, but file transfer rates (mass storage) 
are very slow (~32KB/sec)

So it seems not to be a hardware problem but a problem of my particular 
installation. I run a custom 2.6.14.2 kernel on a Dell Inspiron 8200. 
If anyone could point me to some keywords to ask search engines for or 
can provide some personal experiences, I'd really be glad. I'm also 
happy with RTFM :) .

Thanks a lot  best regards,


ce

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox and Java bringing X down

2006-06-23 Thread Caster
On 6/23/06, Bruno Lustosa [EMAIL PROTECTED] wrote:
Hello.I find this most weird. Whenever I try to open firefox and then open atab with a local Java applet, not only does firefox die, but it causesthe X server to die with signal 8.Here are the versions I'm using:
[ebuild R ] www-client/mozilla-firefox-1.5.0.4USE=java -debug-gnome -ipv6 -mozdevelop -xinerama -xprint[ebuild R ] dev-java/sun-jdk-1.4.2.10-r2USE=alsa nsplugin -X-browserplugin -doc -examples -jce -mozilla
[ebuild R ] dev-java/sun-jre-bin-1.5.0.06-r2USE=alsa nsplugin-X -browserplugin -mozillaJust wondering, why do you have -X useflag? You intend to use java in X, don't you...
I thought X clients shouldn't bring the X server down, but this isclearly what's happening here. I can reproduce it everytime.
I don't even know where to start looking.Which xorg version? 
Does anyone ever had a problem similar to this?Not here. Caster


Re: [gentoo-user] gtkam+non-rootuser

2006-06-23 Thread cristi
On Fri, 23 Jun 2006 18:41:47 +0200
Ralph Slooten [EMAIL PROTECTED] wrote:


 When you plug in your camera into your USB, what does `lsusb` show?
Bus 001 Device 001: ID :
Bus 002 Device 010: ID 03f0:6e02 Hewlett-Packard
Bus 002 Device 001: ID :
 
 Then, looking in /proc/bus/usb/[Bus-id_of_your_camera]
:) nothing there is nothing in /proc/bus/usb, found it though
in /dev/bus/usb/002/010 but 
crw-r--r-- 1 root root 189, 137 Jun 23 22:26 010 so I would still be
able to download the pictures but that does not happen

 You see, the new device created here is the root:plugged one. What
 does yours show? The thing you need to keep in mind here is that you
 have to have rw permissions to that new device file, else you get
 that error. If yours is roor:root or something, do a chown of it and
 then try as user... the chances are it'll work (until you next plug
 your camera is of course).

Searching the net also found this:
Like most, my camera identifies itself as an external hard disk
connected over the USB bus, using the SCSI transport. To access my
photos, I mount the drive and copy the image files onto my hard disk.

Not all cameras work in this way: some of them use a non-storage
protocol such as cameras supported by gphoto2. In the gphoto case, you
do not want to be writing rules for your device, as is it controlled
purely through userspace (rather than a specific kernel driver). 
here :http://www.reactivated.net/writing_udev_rules.html 
 Doing a grep for plugdev in /etc returns /etc/hotplug/usb/usbcam ...
 seems that file is responsible for the permissions, but what happens
 then is a mystery to me ;-)
 Followed the instructions there but i got lost quickly as there were
unclear to me so i did not got the script to do something useful

 As for that line being mandatory, no I don't believe so, but about 1
 year ago I had the same issues, got talking with some usb-gurus and
 they said to add that. At that time it did the trick, and since then
 I've kept it ;-)
I should also buy them a beer for a good advice here 

Thanks!
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unwanted dependecies

2006-06-23 Thread Bo Ørsted Andresen
On Friday 23 June 2006 20:41, Jure Varlec wrote:
 Hm. I guess it's not hard to imagine equery fails to read USE flags
 correctly and that would make it a bug.

Benno has now provided references that shows that `equery depends` was not 
designed to consider use flags. Enhancement bugs has already been filed.

 But this still doesn't explain 
 gqview, which doesn't have neither hard nor USE dependencies on anything I
 removed.

By default equery shows only installed packages. So if you said you removed 
those dependencies that might explain it.

-- 
Bo Andresen


pgpU1Ca9LTxma.pgp
Description: PGP signature


Re: [gentoo-user] initramfs, network diskless boot, init process, problems with switchroot (pivot_root)

2006-06-23 Thread Claudinei Matos
Well, too many replies, thank you all :)I could solve my problem using strace to detect where init stops (of course I had to recompile init allowing to not be PID 1). Looking at the errors reported on strace log I could see that the problem was with the /dev/null and /dev/console doesn't exists so I've changed my init script to create they both and now everything works like a charm :)
Oh, and actually I'm using switch_root from busybox which is very similar to pivot_root.Again, tks for all replies,Claudinei MatosOn 6/21/06, 
Richard Fish [EMAIL PROTECTED] wrote:
On 6/21/06, Hans-Werner Hilse [EMAIL PROTECTED] wrote: chroot. OK, I definately stand currected. But I was pretty sure I once did this from initramfs. But that was admittedly back in the 
2.6.10 days, I think.Yeah, I did it too! ;-Worked great until I tried to usefbsplash/bootsplash, which did a 'mount --move'as part of it'ssetup.Cheers,-Richard--
gentoo-user@gentoo.org mailing list-- Claudinei Matos[EMAIL PROTECTED]55-21-81980605


Re: [gentoo-user] Tool for changing onsole colors ?

2006-06-23 Thread Mick

On 21/06/06, Alexander Skwar [EMAIL PROTECTED] wrote:


If you were talking about an xterm, it might be easier - at
least with gnome-terminal, it's easy to change all the colors
on the fly. Other terminals might have the same ability.

But as far as the real console is concerned - no clue.


Can't remember exactly, but you can change the framebuffer with a more
suitable background image/colour so as to improve the contrast with
the font?
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Slow PCMCIA-USB

2006-06-23 Thread Christoph Eckert
Hi Neil,


 What do your devices show up as, /dev/sd* or /dev/ub*?

as sd*, no ub* at all...

 If the latter, you need to turn off the kernel option
 CONFIG_BLK_DEV_UB at

 Device Drivers
 - Block devices
    - Low Performance USB Block driver

...and it's switched off, I just checked it.

Thanks for the hint anyway!


Best regards


ce

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Tool for changing onsole colors ?

2006-06-23 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mick wrote:
 Can't remember exactly, but you can change the framebuffer with a more
 suitable background image/colour so as to improve the contrast with
 the font?

use ansi escape secuences.

printf \n\n\033[1;33;42mHORRIBLE MIXTURE OF COLORS\033[0;37;40m\n\n\n

- --
Arturo Buanzo Busleiman - VPN Mail Project - http://vpnmail.buanzo.com.ar
Consultor en Seguridad Informatica - http://www.buanzo.com.ar
Genetic - A multiplatform Gentoo Portage Frontend - 
http://genetic.sourceforge.net
for f in www blog linux-consulting vpnmail; do firefox http://$f.buanzo.com.ar 
; done
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEnILwAlpOsGhXcE0RAnL7AJ9BcWl2B+ejkxJlEEkyJKJp25Yg0ACfTRwZ
ufxG+eP90a1bXySaV4CRuN0=
=OF8n
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Slow PCMCIA-USB

2006-06-23 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

What's your lspci output?

- --
Arturo Buanzo Busleiman - VPN Mail Project - http://vpnmail.buanzo.com.ar
Consultor en Seguridad Informatica - http://www.buanzo.com.ar
Genetic - A multiplatform Gentoo Portage Frontend - 
http://genetic.sourceforge.net
for f in www blog linux-consulting vpnmail; do firefox http://$f.buanzo.com.ar 
; done
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEnIPHAlpOsGhXcE0RAuxVAJ9jF8whUEwySLXATCvkeR0gLQQDBwCdESnB
Y/u3By5Rzb2sF/0DIRDGFq8=
=3K2T
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Problem emerging kdebase

2006-06-23 Thread David Corbin
popularity.cpp:
(.gnu.linkonce.t._ZNSt8_Rb_treeI7QStringSt4pairIKS0_dESt10_Select1stIS3_ESt4lessIS0_ESaIS3_EE13insert_uniqueESt17_Rb_tree_iteratorIS3_ERKS3_+0x33):
 
undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
collect2: ld returned 1 exit status
make[4]: *** [launcher_panelapplet.la] Error 1
make[4]: Leaving directory 
`/var/tmp/portage/kdebase-3.5.2-r2/work/kdebase-3.5.2/kicker/applets/launcher'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/var/tmp/portage/kdebase-3.5.2-r2/work/kdebase-3.5.2/kicker/applets'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/kdebase-3.5.2-r2/work/kdebase-3.5.2/kicker'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/kdebase-3.5.2-r2/work/kdebase-3.5.2'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebase-3.5.2-r2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  kdebase-3.5.2-r2.ebuild, line 128:   Called kde_src_compile
  kde.eclass, line 164:   Called kde_src_compile 'all'
  kde.eclass, line 299:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 295:   Called die

Any suggestions as to how to fix this problem?
Thanks
David
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] mailx on reboot from within local.start

2006-06-23 Thread John J. Foster
Good evening,

I just realized I'm no longer receiving email notification on system
reboots. This quit working between April 23rd and April 27th.

The following lines are in /etc/conf.d/local.start

# Record system restart
echo System restart on   `date +%F`   at   `date +%R` 
/var/log/reboot.log (on one line, of course)
# Send email notification that the system just restarted
source /etc/profile  (tried without this too)
/usr/bin/date | /bin/mailx -s System restarted [EMAIL PROTECTED]

I get the following error message when /etc/init.d/local is set to run
in the default runlevel.

send-mail: account default not found: no configuration file available
Can't send mail: sendmail process failed with error code 78

If I restart local, or remove it from default runlevel and start it
manually, there is no error and the email is sent fine.

This is what was installed/upgraded during that timeframe:

Mon Apr 24 12:43:58 2006  kde-base/kdegames-3.5.2
Mon Apr 24 17:34:50 2006  kde-base/kdegraphics-3.5.2
Mon Apr 24 18:04:33 2006  kde-base/kdeedu-3.5.2
Mon Apr 24 18:06:11 2006  kde-base/kde-3.5.2
Tue Apr 25 07:20:24 2006  sys-devel/gcc-config-1.3.13-r2
Tue Apr 25 08:38:20 2006  sys-libs/glibc-2.3.6-r3
Tue Apr 25 08:38:53 2006  app-misc/pax-utils-0.1.11-r1
Tue Apr 25 08:39:32 2006  sys-apps/baselayout-1.12.0_pre18-r1
Tue Apr 25 08:40:18 2006  media-sound/alsa-headers-1.0.11
Tue Apr 25 08:43:24 2006  media-libs/alsa-lib-1.0.11
Tue Apr 25 08:44:24 2006  media-sound/alsa-utils-1.0.11
Tue Apr 25 08:44:53 2006  app-portage/portage-utils-0.1.15
Tue Apr 25 08:45:51 2006  app-editors/nano-1.3.10-r1
Tue Apr 25 08:48:15 2006  sys-fs/xfsprogs-2.7.11
Tue Apr 25 08:48:44 2006  sys-apps/memtest86+-1.65
Tue Apr 25 11:19:29 2006  net-misc/tightvnc-1.2.9-r1

System uses mailx and msmtp.

Any ideas?

Thanks,
festus
-- 
It is not unusual for those at the wrong end of the club to have a
clearer picture of reality than those who wield it.
  Noam Chomsky


pgpHBQ4ClLUyK.pgp
Description: PGP signature


Re: [gentoo-user] xine compile failed

2006-06-23 Thread Richard Watson
I'm running 3.4.6-r1 and I still have the problem. I've emerge --sync again 
with no luck. Anything else I might check? Thanks.


The suggestion was to upgrade to gcc 3.4.  That's what the bug report 
says.



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] booting with an lvm2 root. How do I make a working initrd?

2006-06-23 Thread Jim Burwell

Sascha Lucas wrote:

On Fri, 23 Jun 2006, Javier Ubillos wrote:


I don't want to use genkernel, but I still want it to work.


you realy should use genkernel it's much easier.


mkinitrd --preload md_mod --with=md_mod initrd-2.6.16-gentoo-r9


well you should not use mkinitrd, if you refuse genkernel :-).
btw: md-mod is RAID (multiple devs), LVM is dm-mod (dev mapper).


In conclusion:
how do I get/make a working initrd so I can boot with my lvm2 root?


that's much work to do it your self start building ext2 images or 
cpio's with static busybox  lvm2 and write your own linuxrc (here you 
may cheat by looking into linuxrc from genkernel :-)). Don't forget to 
create dev-files and to include some modules.


Sascha.



Yes.  What Sascha said.  I've had many a user (in #gentoo IRC) sneer at 
me for using Genkernel to produce a kernel + initramfs archive to boot 
up my RAID + LVM2 based system.  But it's far simpler than reinventing 
the wheel by creating all that is needed to bootstrap the RAID/LVM2 
setup (static bins, linuxrc script to start everything up, create device 
nodes, etc, etc).  I don't see much value in doing it myself when 
Genkernel already does it for me.


Also, you can do all the kernel customization you wish (within reason) 
even if you use Genkernel by using one of the --menu|x|g|config flags, 
and/or --oldconfig. 


--
+---+
| Jim Burwell - Sr. Systems/Network/Security Engineer, JSBC |
+---+
| I never let my schooling get in the way of my education. - Mark Twain   |
| UNIX was never designed to keep people from doing stupid things, because |
|  that policy would also keep them from doing clever things. - Doug Gwyn  |
| Cool is only three letters away from Fool - Mike Muir, Suicyco  |
| ..Government in its best state is but a necessary evil; in its worst |
|  state an intolerable one.. - Thomas Paine, Common Sense (1776)|
+---+
|   Email:  [EMAIL PROTECTED]  ICQ UIN:  1695089
 |
+---+

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox and Java bringing X down

2006-06-23 Thread Alexander Skwar

Bruno Lustosa wrote:


[ebuild   R   ] dev-java/sun-jdk-1.4.2.10-r2  USE=alsa nsplugin -X
-browserplugin -doc -examples -jce -mozilla
[ebuild   R   ] dev-java/sun-jre-bin-1.5.0.06-r2  USE=alsa nsplugin
-X -browserplugin -mozilla


Hm, why do you have nsplugin enabled for both (and I might be
mistaken, but isn't nsplugin supposed to be obsoleted by
browserplugin)? I'd enable browserplugin only for sun-jre-bin-1.5.0.06-r2.


Does anyone ever had a problem similar to this?


Nope.

Alexander Skwar
--
taxidermist, n.:
A man who mounts animals.
--
gentoo-user@gentoo.org mailing list