[gentoo-user] financial prime minister

2007-08-04 Thread gentoo
wasxbq
 fyqaka
 lvgbxy  xvbituba player.jpg

[gentoo-user] Problem compiling ati-drivers-8.35.5

2007-08-04 Thread Herbert Laubner

Running revdep-rebuild, I got an error building fgl_glxgears.

Here the section of the build.log

/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux- 
gnu/bin/ld: cannot find -lGL

collect2: ld returned 1 exit status

!!! ERROR: x11-drivers/ati-drivers-8.35.5 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ati-drivers-8.35.5.ebuild, line 182:   Called die

I have no clue what IGL is, nor if I need it.

Could this also cause the problem, that I get a black screen trying  
to stop xorg-server? Right no the only way to shut down the computer  
is to hold the power button till it shuts down :-(



Regards,
Herb
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] logrotate desn't create new empty files

2007-08-04 Thread Jakob
 from LOGROTATE(8):

 Here  is  more information on the directives which may be included in a
 logrotate configuration file:

 [...]

 copy   Make  a  copy  of the log file, but don't change the original at
   all.  This option can be used, for instance, to make a  snapshot
   of  the  current  log  file, or when some other utility needs to
   truncate or pare the file.  When this option is used, the create
   option  will have no effect, as the old log file stays in place.
 --
 [EMAIL PROTECTED] mailing list


Thanks for that, I deleated copy, but it seams that the problem stays :-(
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] logrotate desn't create new empty files

2007-08-04 Thread Mick
On Saturday 04 August 2007 09:29, Jakob wrote:
  from LOGROTATE(8):
 
  Here  is  more information on the directives which may be included in a
  logrotate configuration file:
 
  [...]
 
  copy   Make  a  copy  of the log file, but don't change the original at
all.  This option can be used, for instance, to make a 
  snapshot of  the  current  log  file, or when some other utility needs to
  truncate or pare the file.  When this option is used, the create option 
  will have no effect, as the old log file stays in place. --
  [EMAIL PROTECTED] mailing list

 Thanks for that, I deleated copy, but it seams that the problem stays :-(

Look for a dead.letter file in /root which may contain any errors of the 
logrotate script.  In my system there is /etc/logrotate.d/syslog-ng which 
contains:
===
# 
$Header: 
/var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate,v 
1.2 2004/07/18 02:25:02 dragonheart Exp $
#
# Syslog-ng logrotate snippet for Gentoo Linux
# contributed by Michael Sterrett
#

/var/log/messages {
sharedscripts
postrotate
/etc/init.d/syslog-ng reload  /dev/null 21 || true
endscript
}
===

It seems to rotate the messages log file fine and create compressed backups 
within /var/log.  If you have both scripts then there may be a conflict which 
would probably be captured in dead.letter.

HTH.
-- 
Regards,
Mick


pgpDvdj3kSFaQ.pgp
Description: PGP signature


Re: [gentoo-user] hald won't start

2007-08-04 Thread Mick

On Tuesday 17 July 2007 10:52, Alessandro del Gallo wrote:
 Mick ha scritto:
  On Monday 16 July 2007 10:26, Alessandro del Gallo wrote:
  Mick ha scritto:
  Hi All,
 
  I noticed on a box of mine that hald won't start:
  ==
  # /etc/init.d/hald restart
   * Starting Hardware Abstraction Layer daemon ...  [ !! ]
  ==
 
  Confusingly, the logs don't show anything.  How do I troubleshoot this?
 
  I had the same problem:
 
  hald was sucking 99% cpu, removables devices didn't work
  and launching hald from terminal with the option hald --daemon=no
  --verbose=yes i discovered it was on a infinite loop echo-ing
  something about rules so I got in /etc/udev/rules.d
  and found (by probing one by one) 99-libgphoto2.rules that
  was HALS's murder.
 
  Thank you Alessandro, what do you mean by probing - how did you probe
  them?

 moving it to /tmp and restart hald,
 becouse the error I got when launching
 # hald --daemon=no --verbose=yes
 is Unhandled Rule (0)
 so deleting the rules (delete de rule, start hald, if it doesn't
 works put the rule back , and move another) from etc/udev/rules.d
 I debugged the problem, the bad rule was owned by gphoto2

I've had a chance to get back to this machine and this is what it is showing:
==
# hald --daemon=no --verbose=yes
11:16:08.930 [I] hald.c:533: hal 0.5.9
11:16:08.931 [I] hald.c:598: Will not daemonize
11:16:08.945 [I] hald_dbus.c:4807: local server is listening at 
unix:abstract=/var/run/hald/dbus-1LzyssbMzl,guid=faadd829b7aaff57dce0510046b451e8
11:16:09.174 [I] hald_runner.c:299: Runner has pid 31241
11:16:09.180 [W] ci-tracker.c:200: Could not get uid for connection: 
org.freedesktop.DBus.Error.NameHasNoOwner Could not get UID of 
name 'org.freedesktop.DBus': no such name
11:16:09.181 [E] hald_dbus.c:4462: Cannot get caller info for 
org.freedesktop.DBus
Runner started - allowed paths 
are '/usr/libexec:/usr/lib/hal/scripts:/usr/bin'
11:16:09.196 [I] hald_runner.c:180: runner connection is 0x8096988
11:16:09.330 [I] mmap_cache.c:251: cache mtime is 1184442336
*** [DIE] osspec.c:watch_fdi_files():349 : Unable to initialize inotify: 
Function not implemented
==

What do you make of this?
-- 
Regards,
Mick


pgpqHvcayRZsc.pgp
Description: PGP signature


Re: [gentoo-user] Stop net.eth0 from starting?

2007-08-04 Thread Александър Л . Димитров
On 08:47 Thu 02 Aug , Dan Cowsill wrote:
 I've got wifi configured with madwifi and use my wifi interface a lot
 more than the ethernet I had thought that removing net.eth0 from
 rc-update, but that didn't seem to work.  Every time I booted, the
 interface tried to go up and get dhcp information.  I then read about
 and used a preup function to check that interfaces are actually
 connected before they are brought up, and this essentially solves the
 problem.  It occurs to me that it would just be a whole lot easier and
 cleaner if net.eth0 just didn't try to start at all, but I haven't
 found any way to do this short of removing the init.d script from
 rc-update.
 
 My question is, is there any way to stop net.eth0 from starting
 besides ethtool's preup function?

There's yet another solution to this problem:

$ cat net
config_eth0=( null )

So just set the configuration for the interface to `null' so it doesn't
do atything when brought up at boot time.

Regards,
Aleks


pgpEpF0xs6flr.pgp
Description: PGP signature


Re: [gentoo-user] rescrict command to certain dirs

2007-08-04 Thread Vladimir Rusinov
On 8/2/07, Martin Gysel [EMAIL PROTECTED] wrote:

 it should do something like jail the user to
 /var/www/vhosts/DOMAIN/httpdocs/DIRtoFILES and let him perform some
 commands (rm, less, nano, etc) there as user WEBSERVER.

 AFAIK this isn't possible with sudo because I think it's not possible to
 restrict it to certain files or dirs.


%% from /etc/sudoers

# Users in group www are allowed to edit httpd.conf using sudoedit, or
# sudo -e, without a password.
# %www  ALL=(ALL)   NOPASSWD: sudoedit /etc/httpd.conf

-- 
Vladimir Rusinov
GreenMice Solutions: IT-решения на базе Linux
http://greenmice.info/


Re: [gentoo-user] rescrict command to certain dirs

2007-08-04 Thread Boyd Stephen Smith Jr.
On Thursday 02 August 2007 08:54:21 am Martin Gysel wrote:
 I have a webserver running for multiple 'endusers'. No I want to give
 some costumers access to certain files as user WEBSERVER for easy
 editing configuration file owned by the webserver.

 it should do something like jail the user to
 /var/www/vhosts/DOMAIN/httpdocs/DIRtoFILES and let him perform some
 commands (rm, less, nano, etc) there as user WEBSERVER.

As long as WEBSERVER isn't root, you should be able to use a combination of 
sudo/su and chroot.  There are some ways to escape a chroot, but I *think* 
they all depend on being root inside the chroot, or exploiting other service 
running outside the chroot.  (E.g. if connections from localhost 
are trusted.)

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


pgpOJywobtH7X.pgp
Description: PGP signature


Re: [gentoo-user] distcc with other distro (Debian)

2007-08-04 Thread Boyd Stephen Smith Jr.
On Friday 03 August 2007 01:34:37 am Ric de France wrote:
 There may be a gotcha of glibc (or other)
 incompatibilities / inconsistencies between Gentoo and Debian, but I'm
 sure others on this list can advise you better.

distcc only farms out the actual compiling.  Pre-processing is done locally, 
so it uses your local header files.  Linking is also done locally, so it will 
use your local libraries. [1]

That said, if you have incompatible compilers (e.g. gcc-3.3 vs. gcc-3.4) you 
may have issues, and they may or may not be caught at link time.

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

[1] distcc tries to be smart when passed a command-line that would do both 
compiling and (pre-processing or linking), but when it can't separate the 
stages, it will end up using your local compiler.


pgpjHFBj0tQZO.pgp
Description: PGP signature


Re: [gentoo-user] Portage Sneakernet

2007-08-04 Thread Stroller


On 4 Aug 2007, at 00:12, Richard Marz wrote:

...

Networkless box:
$ emerge -fpv world  foo.txt

Sneaker foo.txt to networked box and:
$ for foo in foo.txt ; do wget -c -nc -P /usr/portage/distfiles/
$foo ; done

Should approximately do the trick.

Stroller.


Thanks for the help, Stroller. But that command did not work so well.
wget translated $foo to foo.txt instead of reading line line in  
foo.txt.

I managed to get wget to fetch the files in foo.txt by running:

cat foo.txt |xargs -- wget -c -nc -P /usr/portage/distfiles/ -


I think that was a copy  paste error on my part.

I think the command I ended up using was:
  $ for foo in `cat foo.txt` ; do wget -c -nc -P /usr/portage/ 
distfiles/


But I'm glad you got it sorted in the end.

Stroller.
--
[EMAIL PROTECTED] mailing list



[gentoo-user] wireless setup bcm4311

2007-08-04 Thread Matthew R. Lee
I'm having problems getting the wifi on my laptop to work.
The laptop is a Compaq Presario V5214ea
The wifi card is a Broadcom 4311 (rev 1)
I've been looking at the Gentoo Wiki page: 
http://gentoo-wiki.com/HARDWARE_BCM43xx

The problem I've run into is with the kernel setup (kernel 
linux-2.6.21-gentoo-r4)

Under 
Device Drivers -- 
   Network device support -- 
 Wireless LAN drivers 
 Broadcom BCM43xx wireless support does not appear.  
Has it been removed from the kernel for some reason?  Do I need to enable some 
other option in order to make this option available?  I have enabled the PCI 
express support.  

Any clues would be most welcome
Thanks
Matt
-- 
%%%
Dr. Matthew R. Lee
CASEB  ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] wireless setup bcm4311

2007-08-04 Thread Mick
On Saturday 04 August 2007 16:55, Matthew R. Lee wrote:
 I'm having problems getting the wifi on my laptop to work.
 The laptop is a Compaq Presario V5214ea
 The wifi card is a Broadcom 4311 (rev 1)
 I've been looking at the Gentoo Wiki page:
 http://gentoo-wiki.com/HARDWARE_BCM43xx

 The problem I've run into is with the kernel setup (kernel
 linux-2.6.21-gentoo-r4)

 Under
 Device Drivers --
Network device support --
  Wireless LAN drivers
  Broadcom BCM43xx wireless support does not appear.
 Has it been removed from the kernel for some reason?  Do I need to enable
 some other option in order to make this option available?  I have enabled
 the PCI express support.

 Any clues would be most welcome

Try:

Location:   
 - Device Drivers
   - Network device support
 - Network device support (NETDEVICES [=y])
   - Wireless LAN (non-hamradio)
 - Wireless LAN drivers (non-hamradio)  Wireless Extension
   - Broadcom BCM43xx wireless support (BCM43XX [=m])


-- 
Regards,
Mick


pgp26aG3h3ewE.pgp
Description: PGP signature


Re: [gentoo-user] wireless setup bcm4311

2007-08-04 Thread Matthew R. Lee
On Saturday 04 August 2007 12:59, Mick wrote:
 On Saturday 04 August 2007 16:55, Matthew R. Lee wrote:
  I'm having problems getting the wifi on my laptop to work.
  The laptop is a Compaq Presario V5214ea
  The wifi card is a Broadcom 4311 (rev 1)
  I've been looking at the Gentoo Wiki page:
  http://gentoo-wiki.com/HARDWARE_BCM43xx
 
  The problem I've run into is with the kernel setup (kernel
  linux-2.6.21-gentoo-r4)
 
  Under
  Device Drivers --
 Network device support --
   Wireless LAN drivers
   Broadcom BCM43xx wireless support does not appear.
  Has it been removed from the kernel for some reason?  Do I need to enable
  some other option in order to make this option available?  I have enabled
  the PCI express support.
 
  Any clues would be most welcome

 Try:

 Location:
  - Device Drivers
- Network device support
  - Network device support (NETDEVICES [=y])
- Wireless LAN (non-hamradio)
  - Wireless LAN drivers (non-hamradio)  Wireless Extension
- Broadcom BCM43xx wireless support (BCM43XX [=m])
It's not there, it's not on the list
I have Network device support and Wireless LAN drivers (non-hamradio)  
Wireless Extension checked
-- 
%%%
Dr. Matthew R. Lee
CASEB  ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] liborbisenc.so.0 error

2007-08-04 Thread Mick
When I run env-update I get this:
===
 Regenerating /etc/ld.so.cache...
/sbin/ldconfig: File /usr/lib/libvorbisenc.so.0 is empty, not checked.
/sbin/ldconfig: File /usr/lib/libvorbisfile.so.0 is empty, not checked.
===

Would you know why it happens?
-- 
Regards,
Mick


pgp3Syj8F5qBW.pgp
Description: PGP signature


Re: [gentoo-user] wireless setup bcm4311

2007-08-04 Thread Jerry McBride
On Saturday 04 August 2007 01:40:30 pm Matthew R. Lee wrote:
 On Saturday 04 August 2007 12:59, Mick wrote:
  On Saturday 04 August 2007 16:55, Matthew R. Lee wrote:
   I'm having problems getting the wifi on my laptop to work.
   The laptop is a Compaq Presario V5214ea
   The wifi card is a Broadcom 4311 (rev 1)
   I've been looking at the Gentoo Wiki page:
   http://gentoo-wiki.com/HARDWARE_BCM43xx
  
   The problem I've run into is with the kernel setup (kernel
   linux-2.6.21-gentoo-r4)
  
   Under
   Device Drivers --
  Network device support --
Wireless LAN drivers
Broadcom BCM43xx wireless support does not appear.
   Has it been removed from the kernel for some reason?  Do I need to
   enable some other option in order to make this option available?  I
   have enabled the PCI express support.
  
   Any clues would be most welcome
 
  Try:
 
  Location:
   - Device Drivers
 - Network device support
   - Network device support (NETDEVICES [=y])
 - Wireless LAN (non-hamradio)
   - Wireless LAN drivers (non-hamradio)  Wireless Extension
 - Broadcom BCM43xx wireless support (BCM43XX [=m])

 It's not there, it's not on the list
 I have Network device support and Wireless LAN drivers (non-hamradio) 
 Wireless Extension checked
 --
 %%%
 Dr. Matthew R. Lee
 CASEB  ECIM
 Departamento de Ecologia,
 P. Universidad Catolica de Chile,
 Alameda 340, Santiago.
 CP 6513677
 CHILE

 [EMAIL PROTECTED]
 [EMAIL PROTECTED]

 URL: meiochile.matthewlee.org
 %%%

It's in the later versions of the kernel. I've been using 2.6.22.1 with zero 
problems... bcm43xx included.

Cheers.

-- 


From the Desk of: Jerome D. McBride
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] liborbisenc.so.0 error

2007-08-04 Thread Marc Redmann
  Regenerating /etc/ld.so.cache...

 /sbin/ldconfig: File /usr/lib/libvorbisenc.so.0 is empty, not checked.
 /sbin/ldconfig: File /usr/lib/libvorbisfile.so.0 is empty, not checked.
 ===

 Would you know why it happens?


How about checking the files and their size to make sure they are really 
empty ? After that I would check to which package they belong, maybe 
re-emerging the found package could solve the problem ...

brgds, Marc
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] hald won't start

2007-08-04 Thread Mick
On Saturday 04 August 2007 11:21, Mick wrote:
 On Tuesday 17 July 2007 10:52, Alessandro del Gallo wrote:
  Mick ha scritto:
   On Monday 16 July 2007 10:26, Alessandro del Gallo wrote:
   Mick ha scritto:
   Hi All,
  
   I noticed on a box of mine that hald won't start:
   ==
   # /etc/init.d/hald restart
* Starting Hardware Abstraction Layer daemon ...  [ !! ]
   ==
  
   Confusingly, the logs don't show anything.  How do I troubleshoot
   this?
  
   I had the same problem:
  
   hald was sucking 99% cpu, removables devices didn't work
   and launching hald from terminal with the option hald --daemon=no
   --verbose=yes i discovered it was on a infinite loop echo-ing
   something about rules so I got in /etc/udev/rules.d
   and found (by probing one by one) 99-libgphoto2.rules that
   was HALS's murder.
  
   Thank you Alessandro, what do you mean by probing - how did you probe
   them?
 
  moving it to /tmp and restart hald,
  becouse the error I got when launching
  # hald --daemon=no --verbose=yes
  is Unhandled Rule (0)
  so deleting the rules (delete de rule, start hald, if it doesn't
  works put the rule back , and move another) from etc/udev/rules.d
  I debugged the problem, the bad rule was owned by gphoto2

 I've had a chance to get back to this machine and this is what it is
 showing: ==
 # hald --daemon=no --verbose=yes
 11:16:08.930 [I] hald.c:533: hal 0.5.9
 11:16:08.931 [I] hald.c:598: Will not daemonize
 11:16:08.945 [I] hald_dbus.c:4807: local server is listening at
 unix:abstract=/var/run/hald/dbus-1LzyssbMzl,guid=faadd829b7aaff57dce0510046
b451e8 11:16:09.174 [I] hald_runner.c:299: Runner has pid 31241
 11:16:09.180 [W] ci-tracker.c:200: Could not get uid for connection:
 org.freedesktop.DBus.Error.NameHasNoOwner Could not get UID of
 name 'org.freedesktop.DBus': no such name
 11:16:09.181 [E] hald_dbus.c:4462: Cannot get caller info for
 org.freedesktop.DBus
 Runner started - allowed paths
 are '/usr/libexec:/usr/lib/hal/scripts:/usr/bin'
 11:16:09.196 [I] hald_runner.c:180: runner connection is 0x8096988
 11:16:09.330 [I] mmap_cache.c:251: cache mtime is 1184442336
 *** [DIE] osspec.c:watch_fdi_files():349 : Unable to initialize inotify:
 Function not implemented
 ==

 What do you make of this?

I removed /usr/share/hal and tried to remerge it.  It complained that I MUST 
compile pciutils without the zlib flag.  Not sure why pciutils has the zlib 
flag as a default, but if it is causing a problem with hal shouldn't it be 
removed?

Anyway, after masking zlib for pciutils and remerging both packages it now 
seems to be working again . . .

Thanks for your suggestions.
-- 
Regards,
Mick


pgpHC4Hwlyzza.pgp
Description: PGP signature


Re: [gentoo-user] liborbisenc.so.0 error

2007-08-04 Thread Mick
On 04/08/07, Marc Redmann [EMAIL PROTECTED] wrote:
   Regenerating /etc/ld.so.cache...
 
  /sbin/ldconfig: File /usr/lib/libvorbisenc.so.0 is empty, not checked.
  /sbin/ldconfig: File /usr/lib/libvorbisfile.so.0 is empty, not checked.
  ===
 
  Would you know why it happens?


 How about checking the files and their size to make sure they are really
 empty ? After that I would check to which package they belong, maybe
 re-emerging the found package could solve the problem ...

Thanks Marc,

# ls -la /usr/lib/libvorbisfile.so.0
-- 1 root root 0 Apr 17  2005 /usr/lib/libvorbisfile.so.0
# ls -la /usr/lib/libvorbisenc.so.0
-- 1 root root 0 Apr 17  2005 /usr/lib/libvorbisenc.so.0

equery belongs does not bring up any packages.
-- 
Regards,
Mick
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] liborbisenc.so.0 error

2007-08-04 Thread Marc Redmann
 # ls -la /usr/lib/libvorbisfile.so.0
 -- 1 root root 0 Apr 17  2005 /usr/lib/libvorbisfile.so.0
 # ls -la /usr/lib/libvorbisenc.so.0
 -- 1 root root 0 Apr 17  2005 /usr/lib/libvorbisenc.so.0

 equery belongs does not bring up any packages.

So it seems that it is safe to delete them ...

brgds, Marc
-- 
[EMAIL PROTECTED] mailing list