Re: [gentoo-user] Re: Running Scripts

2007-07-28 Thread Kent Fredric
On 7/29/07, Moshe Kamensky <[EMAIL PROTECTED]> wrote:
> Hi,
>
> * Greg Lindstrom <[EMAIL PROTECTED]> [27/07/07 12:18]:
> > Hello-
> >
> > I am programming Python (2.4.1) scripts to run on our Gentoo boxes and am
> > having a bit of trouble I was hoping you could help me with.  My file,
> > hello.py looks like this:
> >
> > #!/usr/bin/python
> > print 'hello, python'
> >
> > I add execute permission to the file and try to run it as follows:
> >
> > myprompt $ ./hello.py
> >
> > and get
> >
> > -bash: ./hello.py: /usr/bin/env: bad interpreter: Permission denied
> >
> > running /usr/bin/python brings up the python shell, so that's in place.
> >
> > What am I missing to run these files (they run fine with I type in 'python'
> > before the filename).  BTW, I have the same issue running Perl scripts which
> > is why I'm asking the question here.
> >
>
> Did you manage to run such scripts located in other directories? I think
> you need support in the kernel for such scripts. Do you see
>
> CONFIG_BINFMT_MISC=y
>
> in /proc/config.gz?
>

eh? kernel doesn't control fs permissions for binaries.

If he can emerge --help  without a problem, then its not an execution
problem, its just a permission problem. I simply figgure hes not
privelaged to run executables on filesystems hes got write access to (
a logical idea for a shared system trying to prevent exploitation )

-- 
Kent
ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
print "enNOSPicAMreil [EMAIL PROTECTED]"[(2*x)..(2*x+1)]}'
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Running Scripts

2007-07-28 Thread Moshe Kamensky
Hi,

* Greg Lindstrom <[EMAIL PROTECTED]> [27/07/07 12:18]:
> Hello-
> 
> I am programming Python (2.4.1) scripts to run on our Gentoo boxes and am
> having a bit of trouble I was hoping you could help me with.  My file,
> hello.py looks like this:
> 
> #!/usr/bin/python
> print 'hello, python'
> 
> I add execute permission to the file and try to run it as follows:
> 
> myprompt $ ./hello.py
> 
> and get
> 
> -bash: ./hello.py: /usr/bin/env: bad interpreter: Permission denied
> 
> running /usr/bin/python brings up the python shell, so that's in place.
> 
> What am I missing to run these files (they run fine with I type in 'python'
> before the filename).  BTW, I have the same issue running Perl scripts which
> is why I'm asking the question here.
> 

Did you manage to run such scripts located in other directories? I think 
you need support in the kernel for such scripts. Do you see

CONFIG_BINFMT_MISC=y

in /proc/config.gz?

Moshe

> Thanks for your help,
> 
> --greg




pgp9dQI12KiSH.pgp
Description: PGP signature


[gentoo-user] Re: reiserfsprogs

2007-07-28 Thread James
Kent Fredric  gmail.com> writes:


> qlist sys-fs/reiserfsprogs

qlist,  very nice...


thx,


James




-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] reiserfsprogs

2007-07-28 Thread Kent Fredric
On 7/29/07, James <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Were are the docs for the utilities for sys-fs/reiserfsprogs ?
>
> I cannot seem to locate any documentation of running fsck or such
> utilities manually on a reiserfs partition. I want to read about
> what those utilities are and how they work.
>
>
> James
>

  ?

qlist sys-fs/reiserfsprogs
/usr/share/doc/reiserfsprogs-3.6.19-r1/ChangeLog.gz
/usr/share/doc/reiserfsprogs-3.6.19-r1/README.gz
/usr/share/doc/reiserfsprogs-3.6.19-r1/INSTALL.gz
/usr/share/man/man8/reiserfsck.8.gz
/usr/share/man/man8/mkreiserfs.8.gz
/usr/share/man/man8/debugreiserfs.8.gz
/usr/share/man/man8/reiserfstune.8.gz
/usr/share/man/man8/resize_reiserfs.8.gz
/sbin/reiserfstune
/sbin/resize_reiserfs
/sbin/reiserfsck
/sbin/mkreiserfs
/sbin/debugreiserfs
/sbin/fsck.reiserfs
/sbin/mkfs.reiserfs

>
> --
> [EMAIL PROTECTED] mailing list
>
>


-- 
Kent
ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
print "enNOSPicAMreil [EMAIL PROTECTED]"[(2*x)..(2*x+1)]}'
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] reiserfsprogs

2007-07-28 Thread James
Hello,

Were are the docs for the utilities for sys-fs/reiserfsprogs ?

I cannot seem to locate any documentation of running fsck or such
utilities manually on a reiserfs partition. I want to read about
what those utilities are and how they work.


James



-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't get Alsa (mic) to work with my Intel HDA board

2007-07-28 Thread Gabriel Rossetti

Benno Schulenberg wrote:

Gabriel Rossetti wrote:
  

I used to have more inputs/outputs to play with in
alsamixer, but now all I have are Master, PCM, CD, Mic, Mic Boos,
IEC958, and IEC958P. I used to have for instance Front Mic,



You might need to pass a different model option during modprobe.

First check with 'aplay -l' to see precisely what chip you have, 
then put that number into the search box (lower left) on

https://bugtrack.alsa-project.org/alsa-bug/view_all_bug_page.php

You might need to advance again to unstable for the alsa packages, 
as hda-intel is seeing many changes.


  

Lenove/IBM Thinkpad T60p,



Hmm...  You had alsa working on this laptop two or three years ago?

Benno
  
Ok, I checked the bugs, I'm not really sure they help me much, but I did 
use the alsa-driver instead of the in-kernel stuff. I have my front mic 
(internal) sort-of working, it isn't called that, it's mixed with the 
external mic. Sound now comes out of both, but no apps seam to be able 
to use it. I noticed with gnome's sound recorder that it won't keep my 
input choice, it always sets it to something else, when wanting to see 
to what is was set right now, gnome recorder gave me this error msg when 
I ran it :


Your audio capture settings are invalid. Please correct them in the 
Multimedia settings.


This was due to my .asoundrc, copied from the howto on the gentoo-wiki, 
once removed gnome record works again, when I try to record it always 
want's tu use digital. I did notice something, I had the gnome volume 
control open also and when I recorded it toggles the audio capture from 
"Capture", if I untoggle it while I'm recording, it works, the mic's 
input is recorded. I tried playing with it, muting one, then the other, 
toggleing one, then the other, the only way I get anything to record is 
to use the digital as the recording source, and toggle capture once it's 
started to record.


Gabriel
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Linux too damn slow if memory > 3GB

2007-07-28 Thread Stroller


On 29 Jul 2007, at 00:28, Daniel van Ham Colchete wrote:

...
The fact is, if I boot with mem=3072M everything goes as fast as it  
should but I'm not using 1GB of memory. If I don't put the mem  
option, Linux will see 4GB of memory available but it will be damn  
slow (really).

...
My processor is a Intel Core 2 Duo E6320 (1.86Ghz). The motherboard  
is Intel. I'm running Gentoo at 32bits mode and the kernel version  
is 2.6.20-gentoo-r8.


Hi there,

Does your Intel motherboard feature the 945PM chipset?

I read about this last week:
http://listserver.themacintoshguy.com/pipermail/x4u/2007-July/ 
018031.html


Stroller.
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Linux too damn slow if memory > 3GB

2007-07-28 Thread Daniel van Ham Colchete
On 7/28/07, Tim Allingham <[EMAIL PROTECTED]> wrote:
>
> On Sun, 2007-07-29 at 09:39 +1000, Tim Allingham wrote:
> > I don't actually run 4GB of RAM in any of my intel systems, so I can't
> > comment from experience, however my suspicion would be the overhead
> > introduced from PAE, which (at least on older kernels) requires some
> > processing overhead to utilise.  Are you able to try a 64-bit install to
> > determine if this is the case?
> >
> > Regards,
> >
> > Tim Allingham
> > Email:[EMAIL PROTECTED]
>
> just to add, this page gives a reasonable explanation of the problems
> with 32-bit OS's trying to address large RAM volumes
>
> http://www.dansdata.com/askdan00015.htm
>
>
That is very very very sad...
The fact is I can't use 64bits for now... So let's take one gig out!
Thanks for your help

Daniel


[gentoo-user] Rendering problems when updating xorg-server

2007-07-28 Thread Pavel Sanda
hello,

i'm trying to update from xorg-server 1.1.1-r5 to 1.2.0-r3, but
i run into strange rendering issues in my terminals (both eterm,xterm).

there are serious problems to display correctly keyboard 
cursor on terminal - its position on display is not correspondent 
with actual position on the line and when editing lines many
strange thing happens with displaying (eg. red color of passed chars).
also standard square shape of cursor is often destroyed and focus
of active window is not indicated by filling cursor.

secondly - not so problematic - when switching from one dekstop to another
background of terminal of eterm is not correctly painted, C^L usually helps.

has anobody run into similar problems or has anybody idea what went wrong ?

thanks,
pavel
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Linux too damn slow if memory > 3GB

2007-07-28 Thread Tim Allingham
On Sun, 2007-07-29 at 09:39 +1000, Tim Allingham wrote:
> On Sat, 2007-07-28 at 20:28 -0300, Daniel van Ham Colchete wrote:
> > Hello everyone!!!
> > 
> > May be somebody can shed some light here... I'm building a server here
> > with 4GB of RAM memory. The fact is, if I boot with mem=3072M
> > everything goes as fast as it should but I'm not using 1GB of memory.
> > If I don't put the mem option, Linux will see 4GB of memory available
> > but it will be damn slow (really). 
> > 
> > To make Linux recognize 4 gigs of memory I had to activate
> > HIGHMEM=64GB, otherwise it only recognizes 3279MB (but it is fast).
> > 
> > My processor is a Intel Core 2 Duo E6320 (1.86Ghz). The motherboard is
> > Intel. I'm running Gentoo at 32bits mode and the kernel version is
> > 2.6.20-gentoo-r8.
> > 
> > Any lights would be very appreciated.
> > 
> > Best regards,
> > Daniel Colchete
> 
> I don't actually run 4GB of RAM in any of my intel systems, so I can't
> comment from experience, however my suspicion would be the overhead
> introduced from PAE, which (at least on older kernels) requires some
> processing overhead to utilise.  Are you able to try a 64-bit install to
> determine if this is the case?
> 
> Regards,
> 
> Tim Allingham
> Email:[EMAIL PROTECTED]

just to add, this page gives a reasonable explanation of the problems
with 32-bit OS's trying to address large RAM volumes

http://www.dansdata.com/askdan00015.htm


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Linux too damn slow if memory > 3GB

2007-07-28 Thread Tim Allingham
On Sat, 2007-07-28 at 20:28 -0300, Daniel van Ham Colchete wrote:
> Hello everyone!!!
> 
> May be somebody can shed some light here... I'm building a server here
> with 4GB of RAM memory. The fact is, if I boot with mem=3072M
> everything goes as fast as it should but I'm not using 1GB of memory.
> If I don't put the mem option, Linux will see 4GB of memory available
> but it will be damn slow (really). 
> 
> To make Linux recognize 4 gigs of memory I had to activate
> HIGHMEM=64GB, otherwise it only recognizes 3279MB (but it is fast).
> 
> My processor is a Intel Core 2 Duo E6320 (1.86Ghz). The motherboard is
> Intel. I'm running Gentoo at 32bits mode and the kernel version is
> 2.6.20-gentoo-r8.
> 
> Any lights would be very appreciated.
> 
> Best regards,
> Daniel Colchete

I don't actually run 4GB of RAM in any of my intel systems, so I can't
comment from experience, however my suspicion would be the overhead
introduced from PAE, which (at least on older kernels) requires some
processing overhead to utilise.  Are you able to try a 64-bit install to
determine if this is the case?

Regards,

Tim Allingham
Email:[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


[gentoo-user] Re: Running Scripts

2007-07-28 Thread Moshe Kamensky
Hi,

* Greg Lindstrom <[EMAIL PROTECTED]> [27/07/07 12:18]:
> Hello-
> 
> I am programming Python (2.4.1) scripts to run on our Gentoo boxes and am
> having a bit of trouble I was hoping you could help me with.  My file,
> hello.py looks like this:
> 
> #!/usr/bin/python
> print 'hello, python'
> 
> I add execute permission to the file and try to run it as follows:
> 
> myprompt $ ./hello.py
> 
> and get
> 
> -bash: ./hello.py: /usr/bin/env: bad interpreter: Permission denied
> 
> running /usr/bin/python brings up the python shell, so that's in place.
> 
> What am I missing to run these files (they run fine with I type in 'python'
> before the filename).  BTW, I have the same issue running Perl scripts which
> is why I'm asking the question here.
> 

Did you manage to run such scripts located in other directories? I think 
you need support in the kernel for such scripts. Do you see

CONFIG_BINFMT_MISC=y

in /proc/config.gz?

Moshe

> Thanks for your help,
> 
> --greg


pgpDfiS0DyapT.pgp
Description: PGP signature


[gentoo-user] Linux too damn slow if memory > 3GB

2007-07-28 Thread Daniel van Ham Colchete
Hello everyone!!!

May be somebody can shed some light here... I'm building a server here with
4GB of RAM memory. The fact is, if I boot with mem=3072M everything goes as
fast as it should but I'm not using 1GB of memory. If I don't put the mem
option, Linux will see 4GB of memory available but it will be damn slow
(really).

To make Linux recognize 4 gigs of memory I had to activate HIGHMEM=64GB,
otherwise it only recognizes 3279MB (but it is fast).

My processor is a Intel Core 2 Duo E6320 (1.86Ghz). The motherboard is
Intel. I'm running Gentoo at 32bits mode and the kernel version is
2.6.20-gentoo-r8.

Any lights would be very appreciated.

Best regards,
Daniel Colchete


[gentoo-user] Re: Problem with keychain

2007-07-28 Thread Marc Blumentritt
Mike Mazur schrieb:
> Hi,
> 
> On 7/28/07, Marc Blumentritt <[EMAIL PROTECTED]> wrote:
>> I have a problem with keychain. It is set up following the wiki. I start
>> keychain:
>>
>> 
>>
>> Looking with ssh-add, I see my key:
>> hive ~ # ssh-add -l
>> 1024 dd:f2:12:2a:bc:8a:55:7e:18:43:03:dd:e9:dd:27:4d /root/.ssh/id_dsa (DSA)
>>
>>
>> So what's wrong? Any ideas?
> 
> There are a few things you might want to check first:
> -the permissions of the ~/.ssh folder on the remote system should be
> 700 (chmod 700 ~/.ssh)
> -the public key id_dsa.pub should be appended to ~/.ssh/authorized_hosts
> -permissions of ~/.ssh/authorized_hosts should be 600

This brought me in the right directionen. I created a authorized_keys
file, but by mistake I placed it in ~ and not in ~/.ssh/ !

After putting it in the right place, everything works like a charm!

Thanks
Marc

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Running Scripts

2007-07-28 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Uwe Thiem wrote:
> I am out of ideas - and still a bit puzzled how /usr/bin/env got involved (see
> original post).

Heh, if we had enough trust, I'd remote login to the server and see what's 
wrong by myself :)


- --
Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
SHOW DE FUTURABANDA - Sabado 18 de Agosto 2007 (Speed King, Capital Federal)
Entradas anticipadas a traves de www.futurabanda.com.ar - Punk Rock Melodico


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

iD8DBQFGq4TnAlpOsGhXcE0RCq4WAJ9w9zvOkfTXFyBCm5fpiygGJ1cUXACeLSn4
gYHmRwIuIzQcZZW/7mSpxSQ=
=4O8N
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Running Scripts

2007-07-28 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Uwe Thiem wrote:
> Without writing a Makefile, make won't build the program. ;-)

Actually, yes.

If you have a file called something.c you can simply run:

"make something" and it will compile something.c, link something.o and produce 
a binary named something.

- --
Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
SHOW DE FUTURABANDA - Sabado 18 de Agosto 2007 (Speed King, Capital Federal)
Entradas anticipadas a traves de www.futurabanda.com.ar - Punk Rock Melodico


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

iD8DBQFGq4R0AlpOsGhXcE0RCrIzAJ0UoX3FRWZzMvOEeA5LVkYg/uQVnQCfTh43
7jCMqXQ39/miaaBy3FwdoWg=
=EPsg
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Running Scripts

2007-07-28 Thread Boyd Stephen Smith Jr.
On Saturday 28 July 2007, "Kent Fredric" <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] Running Scripts':
> On 7/29/07, Uwe Thiem <[EMAIL PROTECTED]> wrote:
> > On 28 July 2007, Kent Fredric wrote:
> > > try a plain old bash script and see if that works, and try this and
> > > see if it works:
> > >
> > > cat >> testrun.c
> > > #include 
> > > int main(int argc, int* argv)
> > > {
> > >   printf("helloworld");
> > > }
> > > ( press ctrl+d here )
> > >
> > > make testrun
> >
> > Without writing a Makefile, make won't build the program. ;-)
>
> funny, it did for me :P
>
> $ls -l testrun.c Makefile
> ls: cannot access Makefile: No such file or directory
> -rw-r--r-- 1 devious users 77 2007-07-29 00:24 testrun.c
>
> $make testrun
> cc testrun.c   -o testrun

That cool, but don't count on it to work on all makes.

I'm fairly sure an empty Makefile is valid, since there already suffix 
rules required by the standard -- there's just no default target.  I guess 
GNU make takes that to the logical conclusion and lets you run entirely 
without a Makefile as long as you specify a target.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Running Scripts

2007-07-28 Thread Kent Fredric
On 7/29/07, Uwe Thiem <[EMAIL PROTECTED]> wrote:
> On 28 July 2007, Kent Fredric wrote:
>
> > try a plain old bash script and see if that works, and try this and
> > see if it works:
> >
> > cat >> testrun.c
> > #include 
> > int main(int argc, int* argv)
> > {
> >   printf("helloworld");
> > }
> > ( press ctrl+d here )
> >
> > make testrun
>
> Without writing a Makefile, make won't build the program. ;-)

funny, it did for me :P

just make testrun does "ok,.. testrun = target, what makes testrun?..
*looks around* ah... heres a testrun.c, that aught to do it :D  "


$ls -l testrun.c Makefile
ls: cannot access Makefile: No such file or directory
-rw-r--r-- 1 devious users 77 2007-07-29 00:24 testrun.c

$make testrun
cc testrun.c   -o testrun

$ ./testrun
helloworld


> You better try this:
>
> gcc -o testrun testrun.c
>
> Uwe
>
> >
> > ./testrun
> >
> > if that fails to do ./testrun, then i figgure the FS your on isn't
> > execable. sorry. ^^
> >
> >
> >
> >
> > --
> > Kent
> > ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
> > print "enNOSPicAMreil [EMAIL PROTECTED]"[(2*x)..(2*x+1)]}'
>
>
>
> --
> Jethro Tull: Maybe, I am not done yet!
> --
> [EMAIL PROTECTED] mailing list
>
>


-- 
Kent
ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
print "enNOSPicAMreil [EMAIL PROTECTED]"[(2*x)..(2*x+1)]}'
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Running Scripts

2007-07-28 Thread Uwe Thiem
On 28 July 2007, Greg Lindstrom wrote:

> $ mount
> /dev/sda2 on / type ext3 (rw,noatime,acl)
> proc on /proc type proc (rw)
> sysfs on /sys type sysfs (rw)
> udev on /dev type tmpfs (rw,nosuid)
> devpts on /dev/pts type devpts (rw)
> /dev/sda5 on /var type ext3 (rw,nodev,noatime)
> /dev/sda6 on /usr type ext3 (rw,nodev,noatime,acl)
> /dev/sda7 on /home type ext3 (rw,nosuid,nodev)

Hm... sems my idea about /home being mounted with "noexec" doesn't hold.

I am out of ideas - and still a bit puzzled how /usr/bin/env got involved (see 
original post).

Uwe

-- 
Jethro Tull: Maybe, I am not done yet!
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Running Scripts

2007-07-28 Thread Uwe Thiem
On 28 July 2007, Kent Fredric wrote:

> try a plain old bash script and see if that works, and try this and
> see if it works:
>
> cat >> testrun.c
> #include 
> int main(int argc, int* argv)
> {
>   printf("helloworld");
> }
> ( press ctrl+d here )
>
> make testrun

Without writing a Makefile, make won't build the program. ;-)

You better try this:

gcc -o testrun testrun.c

Uwe

>
> ./testrun
>
> if that fails to do ./testrun, then i figgure the FS your on isn't
> execable. sorry. ^^
>
>
>
>
> --
> Kent
> ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
> print "enNOSPicAMreil [EMAIL PROTECTED]"[(2*x)..(2*x+1)]}'



-- 
Jethro Tull: Maybe, I am not done yet!
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Running Scripts

2007-07-28 Thread Greg Lindstrom
Eric Martin:
>what does ls -l /etc/fstab show?

$ ls -l /etc/fstab
-rw-r- 1 root root 1434 Nov 29  2006 /etc/fstab


Florian Phillip:

>Please post the output of
>cat /etc/group | grep $username

Returns nothing.  When I substitute my username (glindstrom)  in it also
returns nothing.


Arthuro Buanzo:

> Try sending us the output of the "mount" command.

$ mount
/dev/sda2 on / type ext3 (rw,noatime,acl)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw)
/dev/sda5 on /var type ext3 (rw,nodev,noatime)
/dev/sda6 on /usr type ext3 (rw,nodev,noatime,acl)
/dev/sda7 on /home type ext3 (rw,nosuid,nodev)
/dev/sda8 on /m01 type ext3 (rw,nosuid,nodev,noatime,acl)
none on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
none on /tmp type tmpfs (rw,size=32M)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)
//express/bender_departments on /mnt/depts type smbfs (0)
//express/bender_public on /mnt/public type smbfs (0)
//express/bender_everyone on /mnt/everyone type smbfs (0)
//express/edi_images on /mnt/edi_images type smbfs (0)


Dirk Heinrichs:

> Or just: id

$ id
uid=10002(glindstrom) gid=1000(people)
groups=1000(people),1002(cvs),1005(it),1022(p_it),1027(appdev)


Kent Fredric:
>try a plain old bash script and see if that works, and try this and
>see if it works:


 $ ./testrun
-bash: ./testrun: Permission denied



.  Thanks for all of your help, guys.  It looks like I'm not set up to
execute sctripts in this manner.  I'll continue to put "python" or "perl" in
front of them

Thanks again,
--greg


Re: [gentoo-user] Can't compile Ethernet bridge

2007-07-28 Thread Florian Philipp
Am Samstag 28 Juli 2007 15:55 schrieb Sascha Hlusiak:
> > $ modprobe -v bridge
> > insmod /lib/modules/2.6.20-gentoo-r8/kernel/net/bridge/bridge.ko
> > FATAL: Error inserting bridge
> > (/lib/modules/2.6.20-gentoo-r8/kernel/net/bridge/bridge.ko): Unknown
> > symbol in module, or unknown parameter (see dmesg)
> >
> > $ dmesg
> > bridge: Unknown symbol br_handle_frame_hook
> > bridge: Unknown symbol br_fdb_put_hook
> > bridge: Unknown symbol br_fdb_get_hook
>
> Mh, the symbols are defined in my bridge.ko...
>
> Did you run "make modules_install" and "modules-update"? Sometimes it may
> help too, to use the new kernel image and reboot until you can use new
> modules.
>
> Greetings,
> Sascha

Your last tip worked. Thanks again!


pgpGZ9MCBr2AB.pgp
Description: PGP signature


Re: [gentoo-user] Can't compile Ethernet bridge

2007-07-28 Thread Sascha Hlusiak
> $ modprobe -v bridge
> insmod /lib/modules/2.6.20-gentoo-r8/kernel/net/bridge/bridge.ko
> FATAL: Error inserting bridge
> (/lib/modules/2.6.20-gentoo-r8/kernel/net/bridge/bridge.ko): Unknown symbol
> in module, or unknown parameter (see dmesg)
>
> $ dmesg
> bridge: Unknown symbol br_handle_frame_hook
> bridge: Unknown symbol br_fdb_put_hook
> bridge: Unknown symbol br_fdb_get_hook

Mh, the symbols are defined in my bridge.ko...

Did you run "make modules_install" and "modules-update"? Sometimes it may help 
too, to use the new kernel image and reboot until you can use new modules.

Greetings,
Sascha



signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Can't compile Ethernet bridge

2007-07-28 Thread Florian Philipp
Am Samstag 28 Juli 2007 15:24 schrieb Sascha Hlusiak:
> > $ make modules
>
> Please use just "make" in 2.6.x kernels. Should work then.
>
> Greetings,
> Sascha

I have to correct myself: Now it compiles but I get the following output:

$ modprobe -v bridge
insmod /lib/modules/2.6.20-gentoo-r8/kernel/net/bridge/bridge.ko
FATAL: Error inserting bridge 
(/lib/modules/2.6.20-gentoo-r8/kernel/net/bridge/bridge.ko): Unknown symbol 
in module, or unknown parameter (see dmesg)

$ dmesg
bridge: Unknown symbol br_handle_frame_hook
bridge: Unknown symbol br_fdb_put_hook
bridge: Unknown symbol br_fdb_get_hook


pgpwnrx88BZam.pgp
Description: PGP signature


Re: [gentoo-user] Can't compile Ethernet bridge

2007-07-28 Thread Sascha Hlusiak
> $ make modules
Please use just "make" in 2.6.x kernels. Should work then.

Greetings,
Sascha


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Can't compile Ethernet bridge

2007-07-28 Thread Florian Philipp
Hi!

I tried to add 
Networking --->
Networking options  --->
 802.1d Ethernet Bridging

to my kernel (gentoo-sources 2.6.20-r8) but I get the following output:

$ make modules
  CHK include/linux/version.h
  CHK include/linux/utsrelease.h
  Building modules, stage 2.
  MODPOST 144 modules
WARNING: "br_fdb_get_hook" [net/bridge/bridge.ko] undefined!
WARNING: "br_fdb_put_hook" [net/bridge/bridge.ko] undefined!
WARNING: "br_handle_frame_hook" [net/bridge/bridge.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

What's the problem?


pgpOTEEBh6nJt.pgp
Description: PGP signature


Re: [gentoo-user] Running Scripts

2007-07-28 Thread Kent Fredric
On 7/28/07, Greg Lindstrom <[EMAIL PROTECTED]> wrote:
> Wow!  Thanks for the help.  See my comments below pertaining to individual
> remarks.
> --greg
>
> Alex asked:
> > is is possible that you saved the text file in DOS format, with CR-LF
> > endings instead of LF only?
> >
> > If "od -t x2 hello.py" shows 0a0d sequences, this is the case. You could
> > use dos2unix to convert.
> >
>
> $ od -t x2 hello.py
> 000 2123 752f 7273 622f 6e69 652f 766e 7020
> 020 7479 6f68 0a6e 7270 6e69 2074 6827 6c65
> 040 6f6c 202c 6f77 6c72 2764 000a
> 053
>
>  Nope.  That looks good.
>
> Boyd Wrote:
>
> > which env
> >
> > ls -l /usr/bin/env
> > ls -l /usr/bin/python
>
> I'm not sure what you are asking here.
>
> $ ls -l /usr/bin/env
> lrwxrwxrwx 1 root root 8 May 18  2006 /usr/bin/env -> /bin/env
>
>  $ ls -l /usr/bin/python
> lrwxrwxrwx 1 root root 9 May 18  2006 /usr/bin/python -> python2.4
>
>
> Uwe Thiem < [EMAIL PROTECTED]> wrote:
> > This leads to the question whether you can start *any* executable from
> your
> > home directory (assuming you stored your script somewhere under your home
> > directory). If not so, do you mount your /home partition with the "noexec"
> > option?
>
> I have the same problem with  Perl scripts; I haven't tried any others.  Is
> there a way to tell how the partition is mounted?  I'm sorry to say that I
> am a lowly user on the system and don't really know much about how it is set
> up.
>
> Thank-you so much for your attention.  This is a small problem, as I can run
> the scripts with python (or perl) then the filename.  I'd just like to
> understand what's happening.
>
> --greg
>
>


try a plain old bash script and see if that works, and try this and
see if it works:

cat >> testrun.c
#include 
int main(int argc, int* argv)
{
  printf("helloworld");
}
( press ctrl+d here )

make testrun

./testrun

if that fails to do ./testrun, then i figgure the FS your on isn't
execable. sorry. ^^




-- 
Kent
ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
print "enNOSPicAMreil [EMAIL PROTECTED]"[(2*x)..(2*x+1)]}'
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't compile eix

2007-07-28 Thread Kent Fredric
On 7/28/07, Nick Rout <[EMAIL PROTECTED]> wrote:
> I have a much abused gentoo system on which I was trying to update eix.
> I get quite a few errors and i am not sure how far back up the output to
> go. Heres the last bits anyway. Can anyone tell me what I can do to fix
> that?
>
> ../../src/search/redundancy.h:37: error: syntax error before `,' token
> ../../src/search/redundancy.h:43: error: declaration does not declare
> anything
> error: syntax
>error before `<' token
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:149:
> error: syntax
>error before `<' token


for a start it looks like the wrong GCC, last i read eix doesnt
compile with < gcc-3.4

make sure you have a more recent compiler selected with either
eselect-compiler or with gcc-config   ( if you have  a 4.0 or greater
available, i suggest you switch to that to guarantee eix to work )



-- 
Kent
ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
print "enNOSPicAMreil [EMAIL PROTECTED]"[(2*x)..(2*x+1)]}'
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Can't compile eix

2007-07-28 Thread Nick Rout
many template parameter lists in declaration of `bool 
std::has_facet(...)'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/locale_classes.h:51: 
confused by earlier errors, bailing out

make[3]: *** [utils.o] Error 1
make[3]: *** Waiting for unfinished jobs
mv -f .deps/levenshtein.Tpo .deps/levenshtein.Po
make[3]: Leaving directory 
`/var/tmp/portage/app-portage/eix-0.8.8/work/eix-0.8.8/src/eixTk'

make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/app-portage/eix-0.8.8/work/eix-0.8.8/src'

make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/app-portage/eix-0.8.8/work/eix-0.8.8'

make: *** [all] Error 2

!!! ERROR: app-portage/eix-0.8.8 failed.
Call stack:
 ebuild.sh, line 1621:   Called dyn_compile
 ebuild.sh, line 973:   Called qa_call 'src_compile'
 ebuild.sh, line 44:   Called src_compile
 eix-0.8.8.ebuild, line 19:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call 
stack if relevant.
!!! A complete build log is located at 
'/var/log/portage/app-portage:eix-0.8.8:20070728-114150.log'.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Problem with keychain

2007-07-28 Thread Mike Mazur
Hi,

On 7/28/07, Mike Mazur <[EMAIL PROTECTED]> wrote:
> -the public key id_dsa.pub should be appended to ~/.ssh/authorized_hosts
> -permissions of ~/.ssh/authorized_hosts should be 600

My mistake, that should be authorized_keys instead of authorized_hosts.
Mike
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Problem with keychain

2007-07-28 Thread Mike Mazur
Hi,

On 7/28/07, Marc Blumentritt <[EMAIL PROTECTED]> wrote:
> I have a problem with keychain. It is set up following the wiki. I start
> keychain:
>
> 
>
> Looking with ssh-add, I see my key:
> hive ~ # ssh-add -l
> 1024 dd:f2:12:2a:bc:8a:55:7e:18:43:03:dd:e9:dd:27:4d /root/.ssh/id_dsa (DSA)
>
>
> So what's wrong? Any ideas?

There are a few things you might want to check first:
-the permissions of the ~/.ssh folder on the remote system should be
700 (chmod 700 ~/.ssh)
-the public key id_dsa.pub should be appended to ~/.ssh/authorized_hosts
-permissions of ~/.ssh/authorized_hosts should be 600

If you're using a different flavor of SSH than OpenSSH, the keys might
go into a different file; have a look at the man page in that case :)

Hope that helps!
Mike
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Problem with keychain

2007-07-28 Thread Marc Blumentritt
Hi list,

I have a problem with keychain. It is set up following the wiki. I start
keychain:

hive ~ # keychain id_dsa

KeyChain 2.6.6; http://www.gentoo.org/proj/en/keychain/
Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL

 * Initializing /root/.keychain/hive-sh file...
 * Initializing /root/.keychain/hive-csh file...
 * Initializing /root/.keychain/hive-fish file...
 * Starting ssh-agent
 * Initializing /root/.keychain/hive-sh-gpg file...
 * Initializing /root/.keychain/hive-csh-gpg file...
 * Initializing /root/.keychain/hive-fish-gpg file...
 * Starting gpg-agent
 * Adding 1 ssh key(s)...
Identity added: /root/.ssh/id_dsa (/root/.ssh/id_dsa)

and source it:

hive ~ # . ~/.keychain/$HOSTNAME-sh

but when I start ssh, it still asks me for my passphrase:

hive ~ # ssh 192.168.1.3
Password:


Looking with ssh-add, I see my key:
hive ~ # ssh-add -l
1024 dd:f2:12:2a:bc:8a:55:7e:18:43:03:dd:e9:dd:27:4d /root/.ssh/id_dsa (DSA)


So what's wrong? Any ideas?

Regards,
Marc

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Receiving GWN via email?

2007-07-28 Thread Kent Fredric
On 7/28/07, Volker Armin Hemmann <[EMAIL PROTECTED]> wrote:
> On Samstag, 28. Juli 2007, Billy McCann wrote:
> > Hi.  Could someone confirm that they are receiving the GWN to their
> > inbox, so that I'll know it's just me not getting it?  That'd be
> > swell.
> >
>
> I don't receive it too.
>
> It is on the web page but was not sent to the ml.
>
> Don't know why.
> --
> [EMAIL PROTECTED] mailing list
>
>

Looks like they're failing to publish it via the ML

http://news.gmane.org/gmane.linux.gentoo.weekly-news/cutoff=212

I've posted a bug https://bugs.gentoo.org/show_bug.cgi?id=186864

Hopefully we'll have this solved :)


-- 
Kent
ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
print "enNOSPicAMreil [EMAIL PROTECTED]"[(2*x)..(2*x+1)]}'
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Receiving GWN via email?

2007-07-28 Thread Volker Armin Hemmann
On Samstag, 28. Juli 2007, Billy McCann wrote:
> Hi.  Could someone confirm that they are receiving the GWN to their
> inbox, so that I'll know it's just me not getting it?  That'd be
> swell.
>

I don't receive it too.

It is on the web page but was not sent to the ml.

Don't know why.
-- 
[EMAIL PROTECTED] mailing list