Re: [gentoo-user] postfix+cyrus+postgre?

2007-09-17 Thread Alexander Reitzel
those manuals on gentoo-wiki and lots of others helped me to get a working 
configuration of cyrus/postfix/mysql including clam/spamd and greylisting - 
it -is- possible, and runs fine.


Am Montag, 17. September 2007 06:28:41 schrieb kashani:
 Sven Köhler wrote:
  Hi,
 
  any tipps on setting up a mailserver with postfix, cyrus-imapd and
  postgresql?
 
  Actually, a web-frontend would be nice.It seems, that the web-cyradm
  projects stopped living some years ago :-(
 
  Does anybody run a complete and easy to configure sollution for
  SMTP+IMAP based on Gentoo?
 
 
  Thanks,
Sven

 I'd recommend PostfixAdmin. I personally use it with Postfix,
 courier-imapd, and Mysql, but there is a wiki article on how to do it
 all with Postgres.

 http://gentoo-wiki.com/HOWTO_Email:_A_Complete_Virtual_System_-_Postfixadmi
n

 kashani
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT - Still having problems with logmail

2007-09-17 Thread Neil Bothwick
Hello Michael Sullivan,

 {'root': (501, 'root: recipient address must contain a domain')}
 
 Where is it getting this root thing from?  As far as I can tell, my
 wife's computer has an identical setup, except that on hers this works.
 Can anyone help me?

Probably the destination address. What does grep ELOG /etc/make.conf
show on each of the computers?


-- 
Neil Bothwick

I used to have a handle on life, then it broke.


signature.asc
Description: PGP signature


Re: [gentoo-user] In-Kernel Standby [Fork of Standby]

2007-09-17 Thread Mick
On Monday 17 September 2007, Randy Barlow wrote:
 This topic has gotten me wondering.  I used to us Suspend2-sources, but
 on my current laptop install I'm just flying with gentoo-sources using
 the built in suspend.  What are the important differences?

 Sometimes upon trying to execute the hibernate script, it will fail with
 some kind of Access denied or some such, but I've never been able to
 determine exactly under what circumstances that happens.  It might be
 when I've been using the swap space for actual swapping, but I've not
 actually confirmed that.  Anyone knowledgeable care to chime in?

Not so sure about the knowledgeable part, but here it goes:

Some devices are not managed successfully by acpid.  You need to either shut 
them down/bring them up by hand or amend your hibernate scripts to do so, 
prior to hibernation taking place.  Modems and USB devices are the usual 
suspects.

If you run out of space it will tell you so in syslog.

Now someone more knowledgeable could build this up a bit.  ;-)

HTH.
-- 
Regards,
Mick


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


Re: [gentoo-user] Playsound . . . won't!

2007-09-17 Thread Mick
On Saturday 15 September 2007, Alan McKinnon wrote:
 On Sunday 16 September 2007, Mick wrote:
  I am using playsound in KDE to play system sounds, but it has stopped
  working:
 
  $ /usr/bin/playsound chimes.wav
  /usr/bin/playsound: error while loading shared libraries:
  libFLAC.so.7: cannot open shared object file: No such file or
  directory
 
  I ran revdep-rebuild -X, but the problem persists.  Any ideas?

 I'll walk you through this the long way round:

 This is the clue: libFLAC.so.7: cannot open shared object file: No such
 file

 I also have no such file as libFLAC.so.7, but locate libFLAC.so found
 libFLAC.so.8, and 'equery belongs' tells me it belongs to
 media-libs/flac. 'genlop -t' declares this package was upgraded on my
 box from 1.1.2-r8 to 1.1.4 on 17 July.

 So obviously playsound was built against the old version, and
 revdep-rebuild can't find the old one so doesn't know what to do about
 it. And wisely does nothing about it...

 emerge flac
 revdep-rebuild -X

 will see you right.

Thanks guys,

I apologise for an incomplete description of the problem.  I should have 
provided some more info:

Remerging Flac goes through fine.

Revdep-rebuild -X seems to go through OK:
=
# revdep-rebuild -X -p -v
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/bin/playsound (requires  libFLAC.so.7)
  broken /usr/lib/gstreamer-0.10/libgstflac.so (requires  libFLAC.so.7)
  broken /usr/lib/gstreamer-0.8/libgstossaudio.so (requires  
libgstinterfaces-0.8.so.0)
  broken /usr/lib/libSDL_sound-1.0.so.1.0.0 (requires  libFLAC.so.7)
  broken /usr/lib/libakode_xiph_decoder.so (requires  libFLAC.so.7 
libOggFLAC.so.3)
  broken /usr/lib/gstreamer-0.8/libgstossaudio.la 
(requires /usr/lib/libgstinter
faces-0.8.la)
  broken /usr/lib/libakode_xiph_decoder.la (requires /usr/lib/libOggFLAC.la)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to packages...
  /usr/bin/playsound - media-libs/sdl-sound
  /usr/lib/gstreamer-0.10/libgstflac.so - media-plugins/gst-plugins-flac
  /usr/lib/gstreamer-0.8/libgstossaudio.so - media-plugins/gst-plugins-oss
  /usr/lib/libSDL_sound-1.0.so.1.0.0 - media-libs/sdl-sound
  /usr/lib/libakode_xiph_decoder.so - media-libs/akode
  /usr/lib/gstreamer-0.8/libgstossaudio.la - media-plugins/gst-plugins-oss
  /usr/lib/libakode_xiph_decoder.la - media-libs/akode
 done.
  
(/root/.revdep-rebuild.4_packages_raw, /root/.revdep-rebuild.4_package_owners)

Cleaning list of packages to rebuild... done.
  (/root/.revdep-rebuild.4_packages)

Assigning packages to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

Dynamic linking on your system is consistent... All done.
=

playsound still won't play:
=
$ /usr/bin/playsound MUSIC/chimes.wav 
/usr/bin/playsound: error while loading shared libraries: libFLAC.so.7: cannot 
open shared object file: No such file or directory
=

I also noticed that libFLAC.so.7 is not there:
=
# ls -la /usr/lib/libFLAC*
-rw-r--r-- 1 root root 104084 Sep 17 08:06 /usr/lib/libFLAC++.a
-rw-r--r-- 1 root root850 Sep 17 08:05 /usr/lib/libFLAC++.la
lrwxrwxrwx 1 root root 18 Sep 17 08:06 /usr/lib/libFLAC++.so - 
libFLAC++.so.6.0.1
lrwxrwxrwx 1 root root 18 Sep 17 08:06 /usr/lib/libFLAC++.so.6 - 
libFLAC++.so.6.0.1
-rwxr-xr-x 1 root root  93980 Sep 17 08:06 /usr/lib/libFLAC++.so.6.0.1
-rw-r--r-- 1 root root 266278 Sep 17 08:06 /usr/lib/libFLAC.a
-rw-r--r-- 1 root root820 Sep 17 08:05 /usr/lib/libFLAC.la
lrwxrwxrwx 1 root root 16 Sep 17 08:06 /usr/lib/libFLAC.so - 
libFLAC.so.8.0.1
lrwxrwxrwx 1 root root 16 Sep 17 08:06 /usr/lib/libFLAC.so.8 - 
libFLAC.so.8.0.1
-rwxr-xr-x 1 root root 192012 Sep 17 08:06 /usr/lib/libFLAC.so.8.0.1
=

Short of getting my arc welder out of the garage and building a symlink to 
libFLAC.so.7, I don't know what to do.
-- 
Regards,
Mick


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


Re: [gentoo-user] Playsound . . . won't!

2007-09-17 Thread Neil Bothwick
Hello Mick,

 $ /usr/bin/playsound MUSIC/chimes.wav 
 /usr/bin/playsound: error while loading shared libraries: libFLAC.so.7:
 cannot open shared object file: No such file or directory
 =
 
 I also noticed that libFLAC.so.7 is not there:

playsound is built against an older version of flac, you probably need
to re-emerge playsound.


-- 
Neil Bothwick

KPLA Klingon Radio : All glory, all the time!


signature.asc
Description: PGP signature


Re: [gentoo-user] Playsound . . . won't!

2007-09-17 Thread Mick
On Monday 17 September 2007, Neil Bothwick wrote:
 Hello Mick,

  $ /usr/bin/playsound MUSIC/chimes.wav
  /usr/bin/playsound: error while loading shared libraries: libFLAC.so.7:
  cannot open shared object file: No such file or directory
  =
 
  I also noticed that libFLAC.so.7 is not there:

 playsound is built against an older version of flac, you probably need
 to re-emerge playsound.

He, he, what do you know!
=
# emerge -upDv media-libs/sdl-sound

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ] media-libs/libmikmod-3.1.11-r4 [3.1.11-r2] USE=alsa oss -esd 
0 kB 
[ebuild  N] media-libs/smpeg-0.4.4-r9  USE=X mmx opengl -debug 312 kB 
[ebuild U ] media-libs/sdl-sound-1.0.1-r2 [1.0.1-r1] USE=flac mikmod 
mp3%* mpeg%* speex vorbis -physfs 996 kB 

Total: 3 packages (2 upgrades, 1 new), Size of downloads: 1,307 kB
=

Somewhat puzzled that a emerge -upDv world before I remerged flac did not pick 
these up . . .

Thanks.
-- 
Regards,
Mick


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


Re: [gentoo-user] Playsound . . . won't!

2007-09-17 Thread Graham Murray
Mick [EMAIL PROTECTED] writes:

 Revdep-rebuild -X seems to go through OK:
 =
 # revdep-rebuild -X -p -v
 Configuring search environment for revdep-rebuild

 Checking reverse dependencies...

 Packages containing binaries and libraries broken by a package update
 will be emerged.

 Collecting system binaries and libraries... done.
   (/root/.revdep-rebuild.1_files)

 Collecting complete LD_LIBRARY_PATH... done.
   (/root/.revdep-rebuild.2_ldpath)

 Checking dynamic linking consistency...
   broken /usr/bin/playsound (requires  libFLAC.so.7)
   broken /usr/lib/gstreamer-0.10/libgstflac.so (requires  libFLAC.so.7)
   broken /usr/lib/gstreamer-0.8/libgstossaudio.so (requires  
 libgstinterfaces-0.8.so.0)
   broken /usr/lib/libSDL_sound-1.0.so.1.0.0 (requires  libFLAC.so.7)
   broken /usr/lib/libakode_xiph_decoder.so (requires  libFLAC.so.7 
 libOggFLAC.so.3)
   broken /usr/lib/gstreamer-0.8/libgstossaudio.la 
 (requires /usr/lib/libgstinter
 faces-0.8.la)
   broken /usr/lib/libakode_xiph_decoder.la (requires /usr/lib/libOggFLAC.la)
  done.
[snip]
 Dynamic linking on your system is consistent... All done.
 =

That looks like your revdep-rebuild is broken. It is finding
inconsistencies (eg files that need to link against the missing
libFLAC.so.7) but then at the end contradicting itself by reporting that
the dynamic linking is consistent.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] emerge --sync stopped working

2007-09-17 Thread Walter Dnes
Date: Mon, 17 Sep 2007 02:15:59 -0400
From: Walter Dnes [EMAIL PROTECTED]
To: Gentoo Users List [EMAIL PROTECTED]
Subject: emerge --sync stopped working
Message-ID: [EMAIL PROTECTED]

  I went almost a month without updating.  My old machine (1999 Dell
450 mhz PIII) finally died.  I had kept a newer AMD 3000+ updated as my
hot backup.  The switchover went smoothly.  I had just moved, and was
busy setting up my new condo, and fighting the install on a new Dell.  I
finally got the new Dell set up, so I dared to update the AMD.

  It was a major struggle. emerge --sync stopped working.  I manually
selected a different rsync server, and got the same error messages.  I
gave up and used webrsync.

  This weekend was spent fighting several update issues.  I've finally
gotten X working again and revdep-rebuild doesn't flag any problems, so
back to the emerge --sync issue.  I don't see anything on Bugzilla
that looks like my problem.  Before I file a bug, are there any obvious
things to check first?

  At the bottom is a listing of the attempt.  In addition to the attempt
below, I changed the server in /etc/make.conf manually a couple of times
and the the same errors with other servers.  I also tried downgrading
from 2.6.3-r3 to -r2 and -r1, and got the same errors.  Any ideas?

[m3000][root][~] emerge --sync
 Starting rsync with rsync://134.153.48.2/gentoo-portage...
 Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(244) 
[receiver=2.6.9]
 Retrying...


 Starting retry 1 of 3 with rsync://132.207.4.160/gentoo-portage
 Checking server timestamp ...
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(609) 
[receiver=2.6.9]
 Retrying...


 Starting retry 2 of 3 with rsync://142.77.49.220/gentoo-portage
 Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(244) 
[receiver=2.6.9]
 Retrying...


 Starting retry 3 of 3 with rsync://216.194.64.133/gentoo-portage
 Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(244) 
[receiver=2.6.9]

!!! Rsync has not successfully finished. It is recommended that you keep
!!! trying or that you use the 'emerge-webrsync' option if you are unable
!!! to use rsync due to firewall or other restrictions. This should be a
!!! temporary problem unless complications exist with your network
!!! (and possibly your system's filesystem) configuration.

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
Q. Mr. Ghandi, what do you think of Microsoft security?
A. I think it would be a good idea.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT - Still having problems with logmail

2007-09-17 Thread Michael Sullivan
On Mon, 2007-09-17 at 08:42 +0100, Neil Bothwick wrote:
 Hello Michael Sullivan,
 
  {'root': (501, 'root: recipient address must contain a domain')}
  
  Where is it getting this root thing from?  As far as I can tell, my
  wife's computer has an identical setup, except that on hers this works.
  Can anyone help me?
 
 Probably the destination address. What does grep ELOG /etc/make.conf
 show on each of the computers?
 
The same thing on both:

PORTAGE_ELOG_CLASSES=warn error log
PORTAGE_ELOG_SYSTEM=save mail
PORTAGE_ELOG_MAILFROM=[EMAIL PROTECTED]

 

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT - Still having problems with logmail

2007-09-17 Thread Neil Bothwick
On Mon, 17 Sep 2007 07:22:57 -0500, Michael Sullivan wrote:

   Where is it getting this root thing from?  As far as I can tell,
   my wife's computer has an identical setup, except that on hers this
   works. Can anyone help me?  
  
  Probably the destination address. What does grep ELOG /etc/make.conf
  show on each of the computers?

 The same thing on both:
 
 PORTAGE_ELOG_CLASSES=warn error log
 PORTAGE_ELOG_SYSTEM=save mail
 PORTAGE_ELOG_MAILFROM=[EMAIL PROTECTED]

You haven't specitied a recipient and server, which default to root and
localhost, and your local mail server is objecting to addresses without a
domain. Set PORTAGE_ELOG_MAILURI=recipient server.


-- 
Neil Bothwick

Q. How many mathematicians does it take to change a light bulb?
A. Only one - who gives it to six Californians, thereby reducing the
problem to an earlier joke.


signature.asc
Description: PGP signature


Re: [gentoo-user] emerge --sync stopped working

2007-09-17 Thread Neil Bothwick
On Mon, 17 Sep 2007 07:32:18 -0400, Walter Dnes wrote:

 I had just moved, and was busy setting up my new condo,

[snip]

   It was a major struggle. emerge --sync stopped working.  I manually
 selected a different rsync server, and got the same error messages.  I
 gave up and used webrsync.

Did you change ISPs when moving? Does your new ISP block rsync traffic?


-- 
Neil Bothwick

deja noo - reminds you of the last time you visited Scotland


signature.asc
Description: PGP signature


Re: [gentoo-user] Playsound . . . won't!

2007-09-17 Thread Alan McKinnon
On Monday 17 September 2007, Graham Murray wrote:
 Mick [EMAIL PROTECTED] writes:

[snip initial revdep-rebuild stuff]

broken /usr/lib/libakode_xiph_decoder.la (requires
  /usr/lib/libOggFLAC.la) done.

 [snip]

  Dynamic linking on your system is consistent... All done.
  =

 That looks like your revdep-rebuild is broken. It is finding
 inconsistencies (eg files that need to link against the missing
 libFLAC.so.7) but then at the end contradicting itself by reporting
 that the dynamic linking is consistent.

More like revdep-rebuild doesn't know how to build libOffFLAC anymore as 
the ebuild that put it there isn't in portage anymore or masked or 
keyworded or whatevered. I've seen this myself a time or three on my 
own machines.

There's nothing revdep-rebuild can do about this except shrug and leave 
it alone, but the output could be more informative. Perhaps a feature 
request in is order here

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge --sync stopped working

2007-09-17 Thread Naga
On Monday 17 September 2007 13:32:18 Walter Dnes wrote:
 and the the same errors with other servers.  I also tried downgrading
 from 2.6.3-r3 to -r2 and -r1, and got the same errors.  Any ideas?
   

 [m3000][root][~] emerge --sync

  Starting rsync with rsync://134.153.48.2/gentoo-portage...
  Checking server timestamp ...

 timed out
 rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(244)
 [receiver=2.6.9]

Tried upgrading to a version in portage (2.6.9-r1 2.6.9-r2 2.6.9-r3)?
Could be a version incompability issue.

-- 
Naga
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Playsound . . . won't!

2007-09-17 Thread Mike Williams
On Monday 17 September 2007 13:41:37 Alan McKinnon wrote:
 More like revdep-rebuild doesn't know how to build libOffFLAC anymore as
 the ebuild that put it there isn't in portage anymore or masked or
 keyworded or whatevered. I've seen this myself a time or three on my
 own machines.

 There's nothing revdep-rebuild can do about this except shrug and leave
 it alone, but the output could be more informative. Perhaps a feature
 request in is order here

revdep-rebuild doesn't work like that.
If a binary is dynamically linked to a library that doesn't exist anymore, the 
package owning the binary is rebuilt, as portage is unlikely to know what 
package supplied a file that doesn't exist. The idea being the package will 
find and link against libraries that do exist.

In this case it would seem that revdep-rebuild should be trying to emerge:
media-libs/sdl-sound
media-plugins/gst-plugins-flac
media-plugins/gst-plugins-oss
media-libs/akode

-- 
Mike Williams
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Re: SSH won't restart

2007-09-17 Thread Mike Williams
On Sunday 16 September 2007 18:01:48 Alexander Skwar wrote:
  Key words in some circumstances.

 Like?

 Actually, I never found this to be true.

Never? Good for you.
Grant, the original poster would disagree (who got himself locked out due to 
the inability to restart sshd BTW), and so would I as it happened to me today 
and has done several times in the past (and also got locked out, but not 
today, well yesterday).

-- 
Mike Williams
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT - Still having problems with logmail

2007-09-17 Thread Michael Sullivan
On Mon, 2007-09-17 at 13:34 +0100, Neil Bothwick wrote:
 On Mon, 17 Sep 2007 07:22:57 -0500, Michael Sullivan wrote:
 
Where is it getting this root thing from?  As far as I can tell,
my wife's computer has an identical setup, except that on hers this
works. Can anyone help me?  
   
   Probably the destination address. What does grep ELOG /etc/make.conf
   show on each of the computers?
 
  The same thing on both:
  
  PORTAGE_ELOG_CLASSES=warn error log
  PORTAGE_ELOG_SYSTEM=save mail
  PORTAGE_ELOG_MAILFROM=[EMAIL PROTECTED]
 
 You haven't specitied a recipient and server, which default to root and
 localhost, and your local mail server is objecting to addresses without a
 domain. Set PORTAGE_ELOG_MAILURI=recipient server.

camille ~ # glsa-check -m 200610-14Traceback (most recent call last):
  File /usr/bin/glsa-check, line 316, in ?
portage_mail.send_mail(glsaconfig, mymessage)
  File /usr/lib/portage/pym/portage_mail.py, line 85, in send_mail
raise portage_exception.PortageException(!!! An error occured while
trying to send logmail:\n+str(e))
portage_exception.PortageException: !!! An error occured while trying to
send logmail:
{'baby.espersunited.com': (501, 'baby.espersunited.com: recipient
address must contain a domain')}
camille ~ # grep ELOG /etc/make.conf
PORTAGE_ELOG_CLASSES=warn error log
PORTAGE_ELOG_SYSTEM=save mail
PORTAGE_ELOG_MAILFROM=[EMAIL PROTECTED]
PORTAGE_ELOG_MAILURI=baby.espersunited.com


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] xine - No sound after updates

2007-09-17 Thread Mark Knecht
On 9/16/07, Randy Barlow [EMAIL PROTECTED] wrote:
 Mark Knecht wrote:
  I have seen messages when starting a moving about not
  having a required AC3 codec, which I suppose is somewhere in
  win32codecs which is installed.
 
 Here are the current flag settings. I'm wondering if there was a
  flag change that I didn't catch? What are -a52 and -aac?

 This page is for MPlayer, but the flags should have similar meanings:

 http://gentoo-wiki.com/HOWTO_Emerge_MPlayer

 Notice that it says a52 is needed for AC3.  Hope this helps!

 --
 Randy Barlow

Thanks Randy. That was it. DVDs play nicely again.

Cheers,
Mark
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Re: Re: SSH won't restart

2007-09-17 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Alexander Skwar wrote:
 Well, I also found myself being unable to start sshd, but
 these most often were due to some configuration changes.

And exactly for this is why test-restart was proposed by me.

- --
Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica
Servicios Ofrecidos: http://www.buanzo.com.ar/pro/
Unase a los Foros GNU/Buanzo - La palabra Comunidad en su maxima expresion.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG7ov8AlpOsGhXcE0RCo76AJ99+twCQ7bUX3o7+nccQeK3zZmAJgCfW1M1
evoO2iPzcCYigA2y3BZoGD0=
=r9AQ
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: Re: SSH won't restart

2007-09-17 Thread Alexander Skwar
Mike Williams [EMAIL PROTECTED] wrote:

 On Sunday 16 September 2007 18:01:48 Alexander Skwar wrote:
  Key words in some circumstances.

 Like?

 Actually, I never found this to be true.
 
 Never? Good for you.

Yep.

 Grant, the original poster would disagree (who got himself locked out due
 to the inability to restart sshd BTW), and so would I as it happened to me
 today and has done several times in the past 

Well, I also found myself being unable to start sshd, but
these most often were due to some configuration changes.

Never had I found, that shutting down all the running ssh
sessions would have helped.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT - Still having problems with logmail

2007-09-17 Thread Neil Bothwick
On Mon, 17 Sep 2007 08:26:46 -0500, Michael Sullivan wrote:

  You haven't specitied a recipient and server, which default to root
  and localhost, and your local mail server is objecting to addresses
  without a domain. Set PORTAGE_ELOG_MAILURI=recipient server.  
 
 camille ~ # glsa-check -m 200610-14Traceback (most recent call last):
   File /usr/bin/glsa-check, line 316, in ?
 portage_mail.send_mail(glsaconfig, mymessage)
   File /usr/lib/portage/pym/portage_mail.py, line 85, in send_mail
 raise portage_exception.PortageException(!!! An error occured while
 trying to send logmail:\n+str(e))
 portage_exception.PortageException: !!! An error occured while trying to
 send logmail:
 {'baby.espersunited.com': (501, 'baby.espersunited.com: recipient
 address must contain a domain')}
 camille ~ # grep ELOG /etc/make.conf
 PORTAGE_ELOG_CLASSES=warn error log
 PORTAGE_ELOG_SYSTEM=save mail
 PORTAGE_ELOG_MAILFROM=[EMAIL PROTECTED]
 PORTAGE_ELOG_MAILURI=baby.espersunited.com

This is wrong, you have no recipient address, only the server.
Read /etc/make.conf.example for the full syntax.


-- 
Neil Bothwick

If Microsoft made cars:
The airbag system would ask are you sure? before deploying.


signature.asc
Description: PGP signature


[gentoo-user] Re: Playsound . . . won't!

2007-09-17 Thread Anno v. Heimburg
Mick wrote:

 Somewhat puzzled that a emerge -upDv world before I remerged flac did not
 pick these up . . .

That can happen if sdl-sound is not in the worldfile and is not depended
upon, directly or indirectly, by anything in the worldfile. This situation
will arise if you emerge s/th requiring sdl-sound, and then later unmerge
whatever required it. If you don't do a depclean, that will leave sdl-sound
on your computer but outside of the world tree.

Anno.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Playsound . . . won't!

2007-09-17 Thread Mick
On Monday 17 September 2007, Mike Williams wrote:
 On Monday 17 September 2007 13:41:37 Alan McKinnon wrote:
  More like revdep-rebuild doesn't know how to build libOffFLAC anymore as
  the ebuild that put it there isn't in portage anymore or masked or
  keyworded or whatevered. I've seen this myself a time or three on my
  own machines.
 
  There's nothing revdep-rebuild can do about this except shrug and leave
  it alone, but the output could be more informative. Perhaps a feature
  request in is order here

 revdep-rebuild doesn't work like that.
 If a binary is dynamically linked to a library that doesn't exist anymore,
 the package owning the binary is rebuilt, as portage is unlikely to know
 what package supplied a file that doesn't exist. The idea being the package
 will find and link against libraries that do exist.

 In this case it would seem that revdep-rebuild should be trying to emerge:
 media-libs/sdl-sound
 media-plugins/gst-plugins-flac
 media-plugins/gst-plugins-oss
 media-libs/akode

This is how I understood that is should work too.  If for what ever reason it 
doesn't rebuild the above packages itself, it should either say why (e.g. 
keyword masked, Blocked, not in portage, etc.) and, or pass it on to me to 
emerge/unmerge manually as required.  I thought that invariably this is how 
portage behave, hence this thread to resolve my confusion.  Are we in 
agreement that there is something wrong on this occasion - should I file a 
bug?  Or a 'feature request?  Or wait until it happens again?
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: Playsound . . . won't!

2007-09-17 Thread Mick
On Monday 17 September 2007, Anno v. Heimburg wrote:
 Mick wrote:
  Somewhat puzzled that a emerge -upDv world before I remerged flac did not
  pick these up . . .

 That can happen if sdl-sound is not in the worldfile and is not depended
 upon, directly or indirectly, by anything in the worldfile. This situation
 will arise if you emerge s/th requiring sdl-sound, and then later unmerge
 whatever required it. If you don't do a depclean, that will leave sdl-sound
 on your computer but outside of the world tree.

 Anno.

Thank you Anno,

You're absolutely right, this is what was wrong with my system.  I'm not sure 
if these were packages left over from the good old xmms:
===
# regenworld
add to world: media-libs/sdl-sound
add to world: media-plugins/gst-plugins-flac
add to world: media-plugins/gst-plugins-oss
add to world: media-libs/akode
===

Thank you all again for helping me trouble shoot this.
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: Re: SSH won't restart

2007-09-17 Thread Hans-Werner Hilse
Hi,

On Sun, 16 Sep 2007 22:25:07 +0200 Alexander Skwar
[EMAIL PROTECTED] wrote:

 A /etc/init.d/sshd stop won't kill any SSH sessions. It'll
 simply the sshd master process. Because of that, additional
 logins won't be possible.

An /etc/init.d/sshd stop/restart can very well fail. Depending on in
what state this happens, it might stop accepting connections. Typical
conditions might be that relevant changes on-disk occurred, e.g. PAM
libraries, libc or similar libs that might dl() things.

OTOH, if signal handling is broken, the KILL might traverse to the
connection handling forked child. And that's enough to kick you out.

So I would definately prefer to always have a guaranteed working sshd
running (I find OpenVPN/telnet a bit strange and an unnecessary
potential security hole).

Your absolutely right in that restarting immediately or delayed after
logging out of all sessions doesn't matter at all. But it's wrong that
it *can't* occur that you kill your current session as well. So the
delay doesn't make any specific sense here. It might reduce the risk of
a zombie master process of sshd, but I don't see much evidence. OTOH,
you lose the possibility of fixing restart problems within the running
session. So you have to weight the risks. The real problem, however,
can only be overcome by another way to login. Firing up another
instance of sshd (on a different port) is just a matter of one simple
command, so I definately prefer that.

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: tools to detect hardware

2007-09-17 Thread Gaurish Sharma

  how to check Hdd for bad sectors?

 badblocks, which is part of e2fsprogs.


e2fsprogs supports NTFS also??




-- 
Regards,
Gaurish Sharma
This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/


[gentoo-user] chage can't open /etc/passwd

2007-09-17 Thread Albert Hopkins
I've been having this problem on one of my machines for a while.  As a
user or as root I cannot run chage:

$ chage -l marduk
chage: can't open password file

I've looked at /etc/passwd*, /etc/shadow* /etc/group* and /etc/gshadow*
and all the permissions look fine.  It works on other machines.  I even
tried re-emerging the shadow package, but still get the same error.

I tried running pwck thinking the password file was somehow currupt.
pwck only complains about users with invalid home directories/shells.
Oddly enough, 'pwck' runs w/o errors, but 'pwck -r' (read-only) gives.

pwck: cannot open file /etc/passwd


syslog shows:
Sep 17 10:07:49 [chage] failed opening /etc/passwd

I'm at a loss.  Rebooting makes no difference.  passwd seems to work
fine. I can open /etc/passwd myself (as root and user) just fine. Anyone
got any clues?




-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Re: Re: SSH won't restart

2007-09-17 Thread Hans-Werner Hilse
Hi,

On Mon, 17 Sep 2007 11:15:24 -0300 Arturo 'Buanzo' Busleiman
[EMAIL PROTECTED] wrote:

 Alexander Skwar wrote:
  Well, I also found myself being unable to start sshd, but
  these most often were due to some configuration changes.
 
 And exactly for this is why test-restart was proposed by me.

I would propose to change the restart option (i.e. introduce a
corresponding handler in /etc/init.d/sshd) to actually do checkconfig()
before stopping, not just before starting sshd.

I created a bug for this issue, patch attached:
http://bugs.gentoo.org/show_bug.cgi?id=192825

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Re: SSH won't restart

2007-09-17 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hans-Werner Hilse wrote:
 Hi,

Hi!

 So I would definately prefer to always have a guaranteed working sshd
 running (I find OpenVPN/telnet a bit strange and an unnecessary
 potential security hole).

If running permanently, then I agree, but I do not see the potential security 
hole if using a
correctly designed/configured tunnel.

 session. So you have to weight the risks. The real problem, however,
 can only be overcome by another way to login. Firing up another
 instance of sshd (on a different port) is just a matter of one simple
 command, so I definately prefer that.

As long as there is no issue with the sshd binary, of course :)

- --
Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica
Servicios Ofrecidos: http://www.buanzo.com.ar/pro/
Unase a los Foros GNU/Buanzo - La palabra Comunidad en su maxima expresion.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG7qOfAlpOsGhXcE0RCnGRAJ9fQIcJWbai4w/Daq81DPL1iEgaEgCfWkGg
Apixlnkoih+SMOPShj6SpVA=
=sBTB
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Re: Re: SSH won't restart

2007-09-17 Thread Albert Hopkins
On Mon, 2007-09-17 at 11:15 -0300, Arturo 'Buanzo' Busleiman wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512
 
 Alexander Skwar wrote:
  Well, I also found myself being unable to start sshd, but
  these most often were due to some configuration changes.
 
 And exactly for this is why test-restart was proposed by me.

There is a sshd -t.  From the man page:

-t  Test mode.  Only check the validity of the configuration
file and sanity of the keys. This is useful for updating sshd
reliably as configuration options may change.


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Playsound . . . won't!

2007-09-17 Thread Mike Williams
On Monday 17 September 2007 15:33:54 Mick wrote:
 This is how I understood that is should work too.  If for what ever reason
 it doesn't rebuild the above packages itself, it should either say why
 (e.g. keyword masked, Blocked, not in portage, etc.) and, or pass it on to
 me to emerge/unmerge manually as required.  I thought that invariably this
 is how portage behave, hence this thread to resolve my confusion.  Are we
 in agreement that there is something wrong on this occasion - should I file
 a bug?  Or a 'feature request?  Or wait until it happens again?

Reading the full output you posted, I suspect I see the problem.
# revdep-rebuild -X -p -v
should be
# revdep-rebuild -X -- -p -v

The revdep-rebuild help doesn't say it does anything with a -p arguement to 
itself, but it may well do. The -- is a separator between revdep-rebuild 
arguements, and arguements it passes to emerge.

-- 
Mike Williams
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Re: SSH won't restart

2007-09-17 Thread Hans-Werner Hilse
Hi,

On Mon, 17 Sep 2007 12:56:16 -0300 Arturo 'Buanzo' Busleiman
[EMAIL PROTECTED] wrote:

  So I would definately prefer to always have a guaranteed working
  sshd running (I find OpenVPN/telnet a bit strange and an unnecessary
  potential security hole).
 
 If running permanently, then I agree, but I do not see the potential
 security hole if using a correctly designed/configured tunnel.

I just prefer manual opening of access means above manual securing
them. It's just about what happens if you fail -- when the task was
securing, you might have a security leak, but if it was openiung
access, it is still secured. It's relatively moot, since opening access
is also often error prone in the sense of opening to much. I think
it's personal taste :-)

  session. So you have to weight the risks. The real problem, however,
  can only be overcome by another way to login. Firing up another
  instance of sshd (on a different port) is just a matter of one
  simple command, so I definately prefer that.
 
 As long as there is no issue with the sshd binary, of course :)

Yeah, but in that case you'd know it at that point, and it caused no
other harm than preventing you to setting up that fallback sshd. You
can then still fix it (or set up OpenVPN/telnet ;-)) using the old sshd
that's still listening. Just remember not to do a killall sshd.

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Re: SSH won't restart

2007-09-17 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hans-Werner Hilse wrote:
 I just prefer manual opening of access means above manual securing
 them. It's just about what happens if you fail -- when the task was
 securing, you might have a security leak, but if it was openiung
 access, it is still secured. It's relatively moot, since opening access
 is also often error prone in the sense of opening to much. I think
 it's personal taste :-)

All can go wrong, always. First security motto. That's why a completely 
parallel, special-time-only
mechanism appeals me (and, of course, taste here is important, too!)

 Yeah, but in that case you'd know it at that point, and it caused no
 other harm than preventing you to setting up that fallback sshd. You
 can then still fix it (or set up OpenVPN/telnet ;-)) using the old sshd
 that's still listening. Just remember not to do a killall sshd.

Yes, of course, I fully agree. I just think that providing a couple more ideas 
(alternatives, if you
wish, for different personal tastes! :) is good.

- --
Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica
Servicios Ofrecidos: http://www.buanzo.com.ar/pro/
Unase a los Foros GNU/Buanzo - La palabra Comunidad en su maxima expresion.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG7rLEAlpOsGhXcE0RCk0vAJ0X09AifEvbQLpDX6fa9Rudo12AKwCeIhXe
2M3f/HNi7F1DVvjtGeOURTE=
=f2cd
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] chage can't open /etc/passwd

2007-09-17 Thread Ryan Sims
On 9/17/07, Albert Hopkins [EMAIL PROTECTED] wrote:
 I've been having this problem on one of my machines for a while.  As a
 user or as root I cannot run chage:

 $ chage -l marduk
 chage: can't open password file

 I've looked at /etc/passwd*, /etc/shadow* /etc/group* and /etc/gshadow*
 and all the permissions look fine.  It works on other machines.  I even
 tried re-emerging the shadow package, but still get the same error.

 I tried running pwck thinking the password file was somehow currupt.
 pwck only complains about users with invalid home directories/shells.
 Oddly enough, 'pwck' runs w/o errors, but 'pwck -r' (read-only) gives.

 pwck: cannot open file /etc/passwd


 syslog shows:
 Sep 17 10:07:49 [chage] failed opening /etc/passwd

 I'm at a loss.  Rebooting makes no difference.  passwd seems to work
 fine. I can open /etc/passwd myself (as root and user) just fine. Anyone
 got any clues?

This is just triage, but what are the permissions on /etc/passwd?

-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] chage can't open /etc/passwd

2007-09-17 Thread Etaoin Shrdlu
On Monday 17 September 2007, Albert Hopkins wrote:
 I've been having this problem on one of my machines for a while.  As a
 user or as root I cannot run chage:

 $ chage -l marduk
 chage: can't open password file

 I've looked at /etc/passwd*, /etc/shadow* /etc/group* and
 /etc/gshadow* and all the permissions look fine.  It works on other
 machines.  I even tried re-emerging the shadow package, but still get
 the same error.

 I tried running pwck thinking the password file was somehow currupt.
 pwck only complains about users with invalid home directories/shells.
 Oddly enough, 'pwck' runs w/o errors, but 'pwck -r' (read-only) gives.

 pwck: cannot open file /etc/passwd


 syslog shows:
 Sep 17 10:07:49 [chage] failed opening /etc/passwd

 I'm at a loss.  Rebooting makes no difference.  passwd seems to work
 fine. I can open /etc/passwd myself (as root and user) just fine.
 Anyone got any clues?

Is /usr/bin/chage suid root?

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Playsound . . . won't!

2007-09-17 Thread Mick
On Monday 17 September 2007, Mike Williams wrote:
 On Monday 17 September 2007 15:33:54 Mick wrote:
  This is how I understood that is should work too.  If for what ever
  reason it doesn't rebuild the above packages itself, it should either say
  why (e.g. keyword masked, Blocked, not in portage, etc.) and, or pass it
  on to me to emerge/unmerge manually as required.  I thought that
  invariably this is how portage behave, hence this thread to resolve my
  confusion.  Are we in agreement that there is something wrong on this
  occasion - should I file a bug?  Or a 'feature request?  Or wait until it
  happens again?

 Reading the full output you posted, I suspect I see the problem.
 # revdep-rebuild -X -p -v
 should be
 # revdep-rebuild -X -- -p -v

 The revdep-rebuild help doesn't say it does anything with a -p arguement to
 itself, but it may well do. The -- is a separator between revdep-rebuild
 arguements, and arguements it passes to emerge.

Hmm, I believe that I tried it without the -p -v, just with the -X and the 
result was the same.  I think that the confusion arose from the multi-slotted 
media-plugins/gst-plugins-oss.
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: tools to detect hardware

2007-09-17 Thread Mark Shields
On 9/17/07, Gaurish Sharma [EMAIL PROTECTED] wrote:




 
   how to check Hdd for bad sectors?
 
  badblocks, which is part of e2fsprogs.


 e2fsprogs supports NTFS also??




 --
 Regards,
 Gaurish Sharma
 This email is licensed under
 http://creativecommons.org/licenses/by-nc/3.0/


e2fsprogs is only for ext2/ext3.  What you want is probably
sys-fs/ntfsprogs.

-- 
- Mark Shields


Re: [gentoo-user] Playsound . . . won't!

2007-09-17 Thread Bo Ørsted Andresen
On Monday 17 September 2007 12:29:20 Mick wrote:
 Checking dynamic linking consistency...
   broken /usr/bin/playsound (requires  libFLAC.so.7)
   broken /usr/lib/gstreamer-0.10/libgstflac.so (requires  libFLAC.so.7)
   broken /usr/lib/gstreamer-0.8/libgstossaudio.so (requires  
 libgstinterfaces-0.8.so.0)
   broken /usr/lib/libSDL_sound-1.0.so.1.0.0 (requires  libFLAC.so.7)
   broken /usr/lib/libakode_xiph_decoder.so (requires  libFLAC.so.7
 libOggFLAC.so.3)
   broken /usr/lib/gstreamer-0.8/libgstossaudio.la
 (requires /usr/lib/libgstinter
 faces-0.8.la)
   broken /usr/lib/libakode_xiph_decoder.la (requires
 /usr/lib/libOggFLAC.la) done.
   (/root/.revdep-rebuild.3_rebuild)

 Assigning files to packages...
   /usr/bin/playsound - media-libs/sdl-sound
   /usr/lib/gstreamer-0.10/libgstflac.so - media-plugins/gst-plugins-flac
   /usr/lib/gstreamer-0.8/libgstossaudio.so - media-plugins/gst-plugins-oss
   /usr/lib/libSDL_sound-1.0.so.1.0.0 - media-libs/sdl-sound
   /usr/lib/libakode_xiph_decoder.so - media-libs/akode
   /usr/lib/gstreamer-0.8/libgstossaudio.la - media-plugins/gst-plugins-oss
   /usr/lib/libakode_xiph_decoder.la - media-libs/akode
  done.
[SNIP]
 Dynamic linking on your system is consistent... All done.

What version of gentoolkit is that? Clearly revdep-rebuild is doing something 
wrong.

-- 
Bo Andresen


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


Re: [gentoo-user] Playsound . . . won't!

2007-09-17 Thread Bo Ørsted Andresen
On Monday 17 September 2007 14:41:37 Alan McKinnon wrote:
 broken /usr/lib/libakode_xiph_decoder.la (requires
   /usr/lib/libOggFLAC.la) done.
[SNIP]
 More like revdep-rebuild doesn't know how to build libOffFLAC anymore as
 the ebuild that put it there isn't in portage anymore or masked or
 keyworded or whatevered. I've seen this myself a time or three on my
 own machines.

I assume you meant libOggFLAC. It doesn't need to know how to build that. What 
it needs to know is how to rebuild /usr/lib/libakode_xiph_decoder.la (and 
clearly it does)...

-- 
Bo Andresen


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


Re: [gentoo-user] chage can't open /etc/passwd

2007-09-17 Thread Albert Hopkins
On Mon, 2007-09-17 at 13:30 -0400, Ryan Sims wrote:
 This is just triage, but what are the permissions on /etc/passwd?

$ /bin/ls
-l /etc/passwd* /etc/shadow* /etc/group* /etc/gshadow* /usr/bin/chage 
-rw-r--r-- 1 root root  1404 2007-09-08 17:39 /etc/group
-rw--- 1 root root  1389 2007-06-30 23:15 /etc/group-
-rw--- 1 root root  1203 2007-07-19 18:37 /etc/gshadow
-rw--- 1 root root  1190 2007-06-23 09:12 /etc/gshadow-
-rw-r--r-- 1 root root  3161 2007-09-12 11:51 /etc/passwd
-rw--- 1 root root  3209 2007-09-08 17:39 /etc/passwd-
-rw--- 1 root root  1233 2007-09-12 20:10 /etc/shadow
-rw--- 1 root root  1290 2007-09-08 17:39 /etc/shadow-
-rws--x--x 1 root root 36944 2007-09-12 10:56 /usr/bin/chage


Actually, /etc/gshadow wasn't root-writable for some reason.  I did a
'chmod u+w' but still get chage: can't open password file.

BTW, this happens whether I'm running as user or root.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] In-Kernel Standby [Fork of Standby]

2007-09-17 Thread Florian Philipp
Randy Barlow schrieb:
 This topic has gotten me wondering.  I used to us Suspend2-sources, but
 on my current laptop install I'm just flying with gentoo-sources using
 the built in suspend.  What are the important differences?
 

Here is a good list:
http://www.tuxonice.net/features

IMHO the most important advantages of suspend2 are lzo-compression
(providing a good speed up on virtually any machine), encryption (if
you're paranoid or concerned enough to use it) possible usage of swap
files and a higher performance after resume due to the fact that the
whole memory is saved and not only the necessary parts.

I don't know how many changes in the scripting exist, though and I've
never tried suspend1.

Regards

Florian Philipp
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] chage can't open /etc/passwd

2007-09-17 Thread Etaoin Shrdlu
On Monday 17 September 2007, Albert Hopkins wrote:
 On Mon, 2007-09-17 at 13:30 -0400, Ryan Sims wrote:
  This is just triage, but what are the permissions on /etc/passwd?

 $ /bin/ls
 -l /etc/passwd* /etc/shadow* /etc/group* /etc/gshadow* /usr/bin/chage
 -rw-r--r-- 1 root root  1404 2007-09-08 17:39 /etc/group
 -rw--- 1 root root  1389 2007-06-30 23:15 /etc/group-
 -rw--- 1 root root  1203 2007-07-19 18:37 /etc/gshadow
 -rw--- 1 root root  1190 2007-06-23 09:12 /etc/gshadow-
 -rw-r--r-- 1 root root  3161 2007-09-12 11:51 /etc/passwd
 -rw--- 1 root root  3209 2007-09-08 17:39 /etc/passwd-
 -rw--- 1 root root  1233 2007-09-12 20:10 /etc/shadow
 -rw--- 1 root root  1290 2007-09-08 17:39 /etc/shadow-
 -rws--x--x 1 root root 36944 2007-09-12 10:56 /usr/bin/chage


 Actually, /etc/gshadow wasn't root-writable for some reason.  I did a
 'chmod u+w' but still get chage: can't open password file.

 BTW, this happens whether I'm running as user or root.

What does stracing the program show?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] problems with Xorg 7.2 and i810

2007-09-17 Thread Daniel da Veiga
On 9/15/07, Pongracz Istvan [EMAIL PROTECTED] wrote:
 I reemerged mesa, it seems a little bit better:
 there are popup menus, which seems ok, but windows still do not refresh
 the contents.

 Cheers,
 István

 2007. 09. 15, szombat keltezéssel 17.04-kor Pongracz Istvan ezt írta:
  Hi,
 

  Hm, I'm not sure, what should I rebuild..
 
  Using metacity, opengl applications working well.
  Changing to compiz/beryl, everything seems fine, except, nothing
  refreshes its content.
  For example the terminal is only a black box: if I resize, I get a fresh
  snapshot of its content (for example a cursor or what I typed
  before).
 

OK, so, I was having these problems for a long time both at my  work
box and my notebookl (both with Intel Graphics). I have researched a
LOT and finally solved it. First, the 2.x release of i810 seems to
have problems both with Beryl and Compiz Fusion, so I went back to
1.7.4 (this was at my work box, where everything was fine till the
i810 update).

With my notebook, the problem was blank windows (the first terminal
window at Gnome was always blank, same problem with some windows and
firefox). The solution was here:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/82999

And it is to add Option XAANoOffscreenPixmaps to your xorg.conf
device section.

I'm pretty happy running the normal ebuilds (not ) now. Along with
stable versions of xorg-server and i810-1.7.4.

Hope that helps.
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Playsound . . . won't!

2007-09-17 Thread Paul Varner
On Mon, 2007-09-17 at 18:27 +0100, Mick wrote:
 On Monday 17 September 2007, Mike Williams wrote:
  On Monday 17 September 2007 15:33:54 Mick wrote:
   This is how I understood that is should work too.  If for what ever
   reason it doesn't rebuild the above packages itself, it should either say
   why (e.g. keyword masked, Blocked, not in portage, etc.) and, or pass it
   on to me to emerge/unmerge manually as required.  I thought that
   invariably this is how portage behave, hence this thread to resolve my
   confusion.  Are we in agreement that there is something wrong on this
   occasion - should I file a bug?  Or a 'feature request?  Or wait until it
   happens again?
 
  Reading the full output you posted, I suspect I see the problem.
  # revdep-rebuild -X -p -v
  should be
  # revdep-rebuild -X -- -p -v
 
  The revdep-rebuild help doesn't say it does anything with a -p arguement to
  itself, but it may well do. The -- is a separator between revdep-rebuild
  arguements, and arguements it passes to emerge.
 
 Hmm, I believe that I tried it without the -p -v, just with the -X and the 
 result was the same.  I think that the confusion arose from the multi-slotted 
 media-plugins/gst-plugins-oss.

Actually revdep-rebuild -X is broken in the current stable version.
Until I get gentoolkit-0.2.4 stable, your choices are to either run the
unstable version of gentoolkit (gentoolkit-0.2.4_pre7 right now) or grab
the patch from bug #169761
http://bugs.gentoo.org/attachment.cgi?id=113125 and apply it to your
version of revdep-rebuild.

Regards,
Paul
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] chage can't open /etc/passwd

2007-09-17 Thread Albert Hopkins
On Mon, 2007-09-17 at 21:48 +0200, Etaoin Shrdlu wrote:
 What does stracing the program show?

As root it does an open(/etc/passwd, O_RDONLY) twice.  Both times it
gets a file handle.

As user, same thing, but it also tries to open /etc/shadow RDONLY and,
of course, gets a Permission denied.  

There is also a

write(2, chage: PAM authentication failed..., 33chage: PAM
authentication failed) = 33

But I've never seen this on my terminal when running w/o strace.

In addition, in both cases it attempts to open a bunch
of /usr/lib/locale/ files but most of them are No such file or
directory  I'm thinking this is normal though.

It also tries to connect to /var/run/nscd/socket but fails but as I do
not use nscd I assume that's normal as well.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Playsound . . . won't!

2007-09-17 Thread Mick
On Monday 17 September 2007, Bo Ørsted Andresen wrote:
 On Monday 17 September 2007 12:29:20 Mick wrote:
  Checking dynamic linking consistency...
    broken /usr/bin/playsound (requires  libFLAC.so.7)
    broken /usr/lib/gstreamer-0.10/libgstflac.so (requires  libFLAC.so.7)
    broken /usr/lib/gstreamer-0.8/libgstossaudio.so (requires  
  libgstinterfaces-0.8.so.0)
    broken /usr/lib/libSDL_sound-1.0.so.1.0.0 (requires  libFLAC.so.7)
    broken /usr/lib/libakode_xiph_decoder.so (requires  libFLAC.so.7
  libOggFLAC.so.3)
    broken /usr/lib/gstreamer-0.8/libgstossaudio.la
  (requires /usr/lib/libgstinter
  faces-0.8.la)
    broken /usr/lib/libakode_xiph_decoder.la (requires
  /usr/lib/libOggFLAC.la) done.
    (/root/.revdep-rebuild.3_rebuild)
 
  Assigning files to packages...
    /usr/bin/playsound - media-libs/sdl-sound
    /usr/lib/gstreamer-0.10/libgstflac.so - media-plugins/gst-plugins-flac
    /usr/lib/gstreamer-0.8/libgstossaudio.so -
  media-plugins/gst-plugins-oss /usr/lib/libSDL_sound-1.0.so.1.0.0 -
  media-libs/sdl-sound
    /usr/lib/libakode_xiph_decoder.so - media-libs/akode
    /usr/lib/gstreamer-0.8/libgstossaudio.la -
  media-plugins/gst-plugins-oss /usr/lib/libakode_xiph_decoder.la -
  media-libs/akode
   done.

 [SNIP]

  Dynamic linking on your system is consistent... All done.

 What version of gentoolkit is that? Clearly revdep-rebuild is doing
 something wrong.

Fri Mar 30 18:51:11 2007  app-portage/gentoolkit-0.2.3-r1

-- 
Regards,
Mick


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


Re: [gentoo-user] xine - No sound after updates

2007-09-17 Thread Mark Knecht
On 9/17/07, Mark Knecht [EMAIL PROTECTED] wrote:
 On 9/16/07, Randy Barlow [EMAIL PROTECTED] wrote:
  Mark Knecht wrote:
   I have seen messages when starting a moving about not
   having a required AC3 codec, which I suppose is somewhere in
   win32codecs which is installed.
  
  Here are the current flag settings. I'm wondering if there was a
   flag change that I didn't catch? What are -a52 and -aac?
 
  This page is for MPlayer, but the flags should have similar meanings:
 
  http://gentoo-wiki.com/HOWTO_Emerge_MPlayer
 
  Notice that it says a52 is needed for AC3.  Hope this helps!
 
  --
  Randy Barlow

 Thanks Randy. That was it. DVDs play nicely again.

 Cheers,
 Mark


Randy,
   It seems I spoke too soon. Both machines had problems. I did the
update on my Gentoo AMD64. It worked and I responded to your email.
I've now done the flag change on the x86 but it still refuses to
provide sound for movies.

   I notice looking at the flags that the x86 is using win32codecs
while the AMD64 isn't so I rebuilt the x86 without win32codec support.
Unfortunately it didn't fix the problem on that box.

   I've copied the current flag sets below. Any other ideas are appreciated.

Thanks,
Mark

   For the AMD64:

lightning ~ # emerge -pv xine-ui xine-lib

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-video/xine-ui-0.99.5  USE=X ncurses nls
readline -aalib -curl -debug -libcaca -lirc -vdr -xinerama 0 kB
[ebuild   R   ] media-libs/xine-lib-1.1.8  USE=X a52 alsa dts dvd
flac gnome gtk ipv6 jack mad nls opengl oss real sdl truetype v4l
vorbis xv -aac -aalib (-altivec) -arts -debug -directfb -dxr3 -esd
-fbcon -imagemagick -libcaca -mmap -mng -modplug -musepack -pulseaudio
-samba -speex -theora -vcd (-vidix) -wavpack (-win32codecs) -xcb
-xinerama -xvmc 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
lightning ~ #

dragonfly ~ # emerge -pv xine-ui xine-lib

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-video/xine-ui-0.99.5  USE=X ncurses nls
readline -aalib -curl -debug -libcaca -lirc -vdr -xinerama 0 kB
[ebuild   R   ] media-libs/xine-lib-1.1.8  USE=X a52 alsa dts dvd
flac gnome gtk ipv6 jack mad nls opengl oss sdl truetype v4l vorbis
win32codecs xv -aac -aalib (-altivec) -arts -debug -directfb -dxr3
-esd -fbcon -imagemagick -libcaca -mmap -mng -modplug -musepack
-pulseaudio -real -samba -speex -theora -vcd -vidix -wavpack -xcb
-xinerama -xvmc 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
dragonfly ~ #
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] chage can't open /etc/passwd

2007-09-17 Thread Etaoin Shrdlu
On Monday 17 September 2007, Albert Hopkins wrote:
 On Mon, 2007-09-17 at 21:48 +0200, Etaoin Shrdlu wrote:
  What does stracing the program show?

 As root it does an open(/etc/passwd, O_RDONLY) twice.  Both times it
 gets a file handle.

 As user, same thing, but it also tries to open /etc/shadow RDONLY and,
 of course, gets a Permission denied.

This is different from what you said before. You said that running as 
root or as an user made no difference, and in both cases you were 
getting can't open password file. You never mentioned a permission 
denied error, which seems correct when running as a regular user.
On my box, running chage as a regular user fails with permission 
denied, but it's not related to /etc/shadow permissions. Instead 
(looking at the strace and at the sources), chage checks the real UID of 
the user and terminates if it's not 0 and the user requests to change 
the info (instead of just listing it with -l). It does not even touch 
any file.
So, if you see chage trying to open /etc/shadow when running as a regular 
user, something must be broken or wrong. What version of shadow are you 
using? Mine is shadow-4.0.18.1-r1.

 There is also a

 write(2, chage: PAM authentication failed..., 33chage: PAM
 authentication failed) = 33

 But I've never seen this on my terminal when running w/o strace.

How does your /etc/pam.d/chage look like?

Here is mine:

[Mon Sep 17 21:41:13 [EMAIL PROTECTED] ~]# cat /etc/pam.d/chage
#%PAM-1.0

auth   sufficient   pam_rootok.so
auth   required pam_permit.so

accountinclude  system-auth

password   required pam_permit.so
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] chage can't open /etc/passwd

2007-09-17 Thread Albert Hopkins
On Mon, 2007-09-17 at 21:08 +0100, Peter Ruskin wrote:
 Check your perms for gshadow:
 
 $ /bin/ls
 -l /etc/passwd* /etc/shadow* /etc/group* /etc/gshadow* /usr/bin/chage
 -rw-r--r-- 1 root root  1646 2007-04-14 00:45 /etc/group
 -rw--- 1 root root  1630 2007-04-01 11:04 /etc/group-
 -rw--- 1 root root  1561 2007-01-21 00:52 /etc/group.bak
 -rw-r--r-- 1 root root  1503 2007-04-12 01:31 /etc/gshadow
 -rw--- 1 root root  1491 2007-04-01 11:04 /etc/gshadow-
 -rw--- 1 root root  1422 2007-01-21 00:52 /etc/gshadow.bak
 -rw-r--r-- 1 root root  2290 2007-04-14 00:45 /etc/passwd
 -rw--- 1 root root  2220 2007-02-14 01:24 /etc/passwd-
 -rw--- 1 root root  2131 2006-12-12 18:40 /etc/passwd.bak
 -rw--- 1 root root  1174 2007-04-14 00:45 /etc/shadow
 -rw--- 1 root root  1143 2007-02-14 01:24 /etc/shadow-
 -rw--- 1 root root   2006-12-12 18:40 /etc/shadow.bak
 -rws--x--x 1 root root 47937 2007-07-03 00:11 /usr/bin/chage
 

I would think that gshadow, like shadow, should not be world-readable,
as it could potentially contain (group) passwords.  Nevertheless,
changing the permissions doesn't make a difference in my case.


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Playsound . . . won't!

2007-09-17 Thread Bo Ørsted Andresen
On Monday 17 September 2007 23:05:29 Mick wrote:
  What version of gentoolkit is that? Clearly revdep-rebuild is doing
  something wrong.

 Fri Mar 30 18:51:11 2007  app-portage/gentoolkit-0.2.3-r1

I'd try 0.2.4_pre7 then..

-- 
Bo Andresen


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


Re: [gentoo-user] chage can't open /etc/passwd

2007-09-17 Thread Albert Hopkins
On Mon, 2007-09-17 at 23:09 +0200, Etaoin Shrdlu wrote:
 This is different from what you said before. You said that running as 
 root or as an user made no difference, and in both cases you were 
 getting can't open password file.
  You never mentioned a permission 
 denied 

Permission denied is from the strace (the result of the open()).  I
didn't mention it before because before I didn't run strace before.

Regardless of root/non-root I get chage: can't open password file

 error, which seems correct when running as a regular user.
 On my box, running chage as a regular user fails with permission 
 denied, but it's not related to /etc/shadow permissions. Instead 
 (looking at the strace and at the sources), chage checks the real UID
 of 
 the user and terminates if it's not 0 and the user requests to change 
 the info (instead of just listing it with -l). It does not even touch 
 any file.
 So, if you see chage trying to open /etc/shadow when running as a
 regular 
 user, something must be broken or wrong. What version of shadow are
 you 
 using? Mine is shadow-4.0.18.1-r1. 

I'm running shadow-4.0.18.1-r1 with pam in set as a USE flag.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] chage can't open /etc/passwd

2007-09-17 Thread Norberto Bensa
Albert Hopkins wrote:

 Regardless of root/non-root I get chage: can't open password file

Can you cat /etc/passwd?

Can you /etc/passwd (note it's a double  ) ?

Have you ran fsck on / ?

Do you run some form of SELinux?


Regards,
Norberto




-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge --sync stopped working

2007-09-17 Thread Walter Dnes
On Mon, Sep 17, 2007 at 03:00:40PM +0200, Naga wrote
 On Monday 17 September 2007 13:32:18 Walter Dnes wrote:
  and the the same errors with other servers.  I also tried
  downgrading
  from 2.6.3-r3 to -r2 and -r1, and got the same errors.  Any ideas?


 Tried upgrading to a version in portage (2.6.9-r1 2.6.9-r2 2.6.9-r3)?
 Could be a version incompability issue.

  Sorry about that typo.  That was supposed to read 2.6.9, and I tried
-r1, -r2, and -r3.

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
Q. Mr. Ghandi, what do you think of Microsoft security?
A. I think it would be a good idea.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] xine - No sound after updates

2007-09-17 Thread Randy Barlow
Mark Knecht wrote:
 Randy,
It seems I spoke too soon. Both machines had problems. I did the
 update on my Gentoo AMD64. It worked and I responded to your email.
 I've now done the flag change on the x86 but it still refuses to
 provide sound for movies.
 
I notice looking at the flags that the x86 is using win32codecs
 while the AMD64 isn't so I rebuilt the x86 without win32codec support.
 Unfortunately it didn't fix the problem on that box.

Hey Mark!  Hmmm, one thought that comes to mind is that perhaps there
are some other important packages that depend on a52 and aac.  Did you
try to emerge --update --deep --newuse world after adding those USE
flags?  If you call xine from the console, do you see any linking errors
(indication that perhaps revdep-rebuild is in order)?  Let us know if
you've done these things and still have a problem, and we'll keep going
at it!

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Dual failures in emerge -aDNvu world

2007-09-17 Thread Kevin O'Gorman
The recent massive update was a bit of a mess, but the only lasting damage
to me is two packages that really just won't emerge.
I finally put
  =app-doc/xorg-docs-1.4-r1
  =app-emulation/bochs-2.3
in my packages.mask file

I'm not using either one right now, but I'd like to get them fixed.  The
symptions for bochs:

cd doc/docbook; make
make[1]: Entering directory `/var/tmp/portage/app-emulation/bochs-2.3
/work/bochs-2.3/doc/docbook'
mkdir -p user
/usr/bin/docbook2html -o user ./user/user.dbk
Using catalogs: /etc/sgml/sgml-docbook-4.1.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-
utils.dsl#html
Working on: /var/tmp/portage/app-emulation/bochs-2.3/work/bochs-2.3
/doc/docbook/./user/user.dbk
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:53:65:W: cannot
generate system identifier for public text ISO 8879:1986//ENTITIES Added
Math Symbols: Arrow Relations//EN
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:54:8:E: reference to
entity ISOamsa for which no system identifier could be generated
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:52:0: entity was
defined here
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:60:66:W: cannot
generate system identifier for public text ISO 8879:1986//ENTITIES Added
Math Symbols: Binary Operators//EN
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:61:8:E: reference to
entity ISOamsb for which no system identifier could be generated
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:59:0: entity was
defined here
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:67:60:W: cannot
generate system identifier for public text ISO 8879:1986//ENTITIES Added
Math Symbols: Delimiters//EN
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:68:8:E: reference to
entity ISOamsc for which no system identifier could be generated
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:66:0: entity was
defined here
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:74:67:W: cannot
generate system identifier for public text ISO 8879:1986//ENTITIES Added
Math Symbols: Negated Relations//EN
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:75:8:E: reference to
entity ISOamsn for which no system identifier could be generated
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:73:0: entity was
defined here
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:81:58:W: cannot
generate system identifier for public text ISO 8879:1986//ENTITIES Added
Math Symbols: Ordinary//EN
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:82:8:E: reference to
entity ISOamso for which no system identifier could be generated
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:80:0: entity was
defined here
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:88:59:W: cannot
generate system identifier for public text ISO 8879:1986//ENTITIES Added
Math Symbols: Relations//EN
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:89:8:E: reference to
entity ISOamsr for which no system identifier could be generated
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:87:0: entity was
defined here
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:95:50:W: cannot
generate system identifier for public text ISO 8879:1986//ENTITIES Box and
Line Drawing//EN
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:96:7:E: reference to
entity ISObox for which no system identifier could be generated
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:94:0: entity was
defined here
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:102:46:W: cannot
generate system identifier for public text ISO 8879:1986//ENTITIES Russian
Cyrillic//EN
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:103:8:E: reference to
entity ISOcyr1 for which no system identifier could be generated
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:101:0: entity was
defined here
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:109:50:W: cannot
generate system identifier for public text ISO 8879:1986//ENTITIES
Non-Russian Cyrillic//EN
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:110:8:E: reference to
entity ISOcyr2 for which no system identifier could be generated
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:108:0: entity was
defined here
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:116:47:W: cannot
generate system identifier for public text ISO 8879:1986//ENTITIES
Diacritical Marks//EN
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:117:7:E: reference to
entity ISOdia for which no system identifier could be generated
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:115:0: entity was
defined here
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:123:43:W: cannot
generate system identifier for public text ISO 8879:1986//ENTITIES Greek
Letters//EN
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:124:8:E: reference to
entity ISOgrk1 for which no system identifier could be generated
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/dbcent.mod:122:0: entity was

Re: [gentoo-user] Dual failures in emerge -aDNvu world

2007-09-17 Thread Bo Ørsted Andresen
Maybe attaching the snippet of the bochs log as a file would have been better. 
At least the wrapping of it is rather annoying...

On Tuesday 18 September 2007 03:16:33 Kevin O'Gorman wrote:
 jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../commo
n/dbl1sr.dsl:3:5:E: reference to entity lat2 for which no system
 identifier could be generated
 jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../commo
n/dbl1sr.dsl:2:0: entity was defined here
 make[1]: *** [user/index.html] Error 8
 make[1]: Leaving directory `/var/tmp/portage/app-emulation/bochs-2.3
 /work/bochs-2.3/doc/docbook'

# emerge -1 sgml-common

https://bugs.gentoo.org/show_bug.cgi?id=192231

[SNIP]
 exceed LITLEN (240) /usr/share/sgml/docbook/utils-0.6.14/backends/pdf: line
 15: pdfjadetex: command not found
 make[2]: *** [Xserver-spec.pdf] Error 9
 make[2]: Leaving directory `/var/tmp/portage/app-doc/xorg-docs-1.4-r1

# emerge -1 jadetex

https://bugs.gentoo.org/show_bug.cgi?id=191661

More docbooks/sgml rebuilds might be required.. :p

-- 
Bo Andresen


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


Re: [gentoo-user] Apache 2.2: missing KEEPENV (with solution)

2007-09-17 Thread Bo Ørsted Andresen
On Sunday 16 September 2007 15:51:28 Michael Mauch wrote:
 the recent Apache 2.2.6 ebuild brought an /etc/init.d/apache2 that
 doesn't honour the KEEPENV variable anymore.

 Formerly one could preserve some of the environment variables (while all
 others would be unset to keep Apache's environment tidy).

 To resurrect that KEEPENV variable, I put in /etc/conf.d/apache2:

Maybe you should post this at bugs.gentoo.org ?

-- 
Bo Andresen


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


Re: [gentoo-user] xine - No sound after updates

2007-09-17 Thread Mark Knecht
On 9/17/07, Randy Barlow [EMAIL PROTECTED] wrote:
 Mark Knecht wrote:
  Randy,
 It seems I spoke too soon. Both machines had problems. I did the
  update on my Gentoo AMD64. It worked and I responded to your email.
  I've now done the flag change on the x86 but it still refuses to
  provide sound for movies.
 
 I notice looking at the flags that the x86 is using win32codecs
  while the AMD64 isn't so I rebuilt the x86 without win32codec support.
  Unfortunately it didn't fix the problem on that box.

 Hey Mark!  Hmmm, one thought that comes to mind is that perhaps there
 are some other important packages that depend on a52 and aac.  Did you
 try to emerge --update --deep --newuse world after adding those USE
 flags?  If you call xine from the console, do you see any linking errors
 (indication that perhaps revdep-rebuild is in order)?  Let us know if
 you've done these things and still have a problem, and we'll keep going
 at it!


Hi Randy,
   Yes, I think I've done all the stuff one would typically try before
writing to the list. Doesn't mean I didn't make a mistake though.
Shown below is the terminal info as well as emerge -DuN with and
without --with-bdeps, and revdep-rebuild results. I have multiple
times tried erasing the .xine directory and coming at it like a new
user, trying different options inside of xine but so far no luck.

   Googling around a bit I found a few threads talking about no sound
when they have the No accelerated IMDCT transform found message at
the end of the terminal. For instance this one which hasn't led
anywhere yet:

http://trac.cod3r.com/a52codec/ticket/9

   Lots of info posted below.

Thanks much,
Mark

[EMAIL PROTECTED] ~ $ xine
This is xine (X11 gui) - a free video player v0.99.5.
(c) 2000-2007 The xine Team.
AFD changed from -2 to -1
libdvdread: Using libdvdcss version 1.2.9 for DVD access

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0001ffcc
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00020145
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00020225
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0002023b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x000202ab
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0002ddc7
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0002de37
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x000483b2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0004a364
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x00095956
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x0037eb64
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x0037ebd4
libdvdread: Elapsed time 0
libdvdread: Found 6 VTS's
libdvdread: Elapsed time 0
AFD changed from -2 to -1
No accelerated IMDCT transform found
[EMAIL PROTECTED] ~ $




dragonfly ~ # emerge -pvDuN world

These are the packages that would be merged, in order:

Calculating world dependencies... done!

Total: 0 packages, Size of downloads: 0 kB
dragonfly ~ # emerge -pvDuN --with-bdeps y world

These are the packages that would be merged, in order:

Calculating world dependencies... done!

Total: 0 packages, Size of downloads: 0 kB
dragonfly ~ #

dragonfly ~ # revdep-rebuild -p
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... Nothing to rebuild

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

Dynamic linking on your system is consistent... All done.
dragonfly ~ #


dragonfly ~ # emerge --info
Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2,
glibc-2.5-r4, 2.6.20-gentoo-r1 i686)
=
System uname: 2.6.20-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Sun, 16 Sep 2007 21:00:09 +
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS=x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 

Re: [gentoo-user] emerge --sync stopped working

2007-09-17 Thread Walter Dnes
On Mon, Sep 17, 2007 at 01:35:24PM +0100, Neil Bothwick wrote

 Did you change ISPs when moving? Does your new ISP block rsync traffic?

  Bingo.  Same ISP.  Things worked OK after the move for about a month
after the move.  Since about Sept 8th, however, I haven't been able to
send out email via my broadband ISP.  I've had to fall back to my dialup
ISP, which I deliberately use a different provider for.  Their name, and
website, is 295.ca so guess how much they charge per month.

  Anyhow, I just ran a successful emerge --sync via dialup.  I have some
complaining to do.

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
Q. Mr. Ghandi, what do you think of Microsoft security?
A. I think it would be a good idea.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] chage can't open /etc/passwd

2007-09-17 Thread Albert Hopkins
On Mon, 2007-09-17 at 23:15 -0300, Norberto Bensa wrote:
 Can you post sudo strace -eopen chage -l marduk ?

$ whoami
marduk


$ chage -l marduk
chage: can't open password file


$ strace -eopen chage -l marduk
open(/etc/ld.so.cache, O_RDONLY)  = 3
open(/lib/libcrypt.so.1, O_RDONLY)= 3
open(/lib/libpam_misc.so.0, O_RDONLY) = 3
open(/lib/libpam.so.0, O_RDONLY)  = 3
open(/lib/libdl.so.2, O_RDONLY)   = 3
open(/lib/libc.so.6, O_RDONLY)= 3
open(/usr/lib/locale/locale-archive, O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open(/usr/share/locale/locale.alias, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_IDENTIFICATION, O_RDONLY) = -1
ENOENT (No such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_IDENTIFICATION, O_RDONLY) = 3
open(/usr/lib/gconv/gconv-modules.cache, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_MEASUREMENT, O_RDONLY) = -1 ENOENT
(No such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_MEASUREMENT, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_TELEPHONE, O_RDONLY) = -1 ENOENT
(No such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_TELEPHONE, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_ADDRESS, O_RDONLY) = -1 ENOENT (No
such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_ADDRESS, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_NAME, O_RDONLY) = -1 ENOENT (No
such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_NAME, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_PAPER, O_RDONLY) = -1 ENOENT (No
such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_PAPER, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_MESSAGES, O_RDONLY) = -1 ENOENT
(No such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_MESSAGES, O_RDONLY) = 3
open(/usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES, O_RDONLY)
= 3
open(/usr/lib/locale/en_US.UTF-8/LC_MONETARY, O_RDONLY) = -1 ENOENT
(No such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_MONETARY, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_COLLATE, O_RDONLY) = -1 ENOENT (No
such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_COLLATE, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_TIME, O_RDONLY) = -1 ENOENT (No
such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_TIME, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_NUMERIC, O_RDONLY) = -1 ENOENT (No
such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_NUMERIC, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_CTYPE, O_RDONLY) = -1 ENOENT (No
such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_CTYPE, O_RDONLY) = 3
open(/etc/nsswitch.conf, O_RDONLY)= 3
open(/etc/ld.so.cache, O_RDONLY)  = 3
open(/lib/libnss_compat.so.2, O_RDONLY) = 3
open(/lib/libnsl.so.1, O_RDONLY)  = 3
open(/etc/ld.so.cache, O_RDONLY)  = 3
open(/lib/libnss_nis.so.2, O_RDONLY)  = 3
open(/lib/libnss_files.so.2, O_RDONLY) = 3
open(/etc/passwd, O_RDONLY)   = 3
open(/etc/pam.d/chage, O_RDONLY|O_LARGEFILE) = 3
open(/lib/security/pam_rootok.so, O_RDONLY) = 4
open(/lib/security/pam_permit.so, O_RDONLY) = 4
open(/etc/pam.d/system-auth, O_RDONLY|O_LARGEFILE) = 4
open(/lib/security/pam_unix.so, O_RDONLY) = 5
open(/etc/pam.d/other, O_RDONLY|O_LARGEFILE) = 3
open(/lib/security/pam_deny.so, O_RDONLY) = 4
open(/etc/passwd, O_RDONLY)   = 3
open(/etc/shadow, O_RDONLY)   = -1 EACCES (Permission denied)
chage: PAM authentication failed


$ sudo strace -eopen chage -l marduk
open(/etc/ld.so.cache, O_RDONLY)  = 3
open(/lib/libcrypt.so.1, O_RDONLY)= 3
open(/lib/libpam_misc.so.0, O_RDONLY) = 3
open(/lib/libpam.so.0, O_RDONLY)  = 3
open(/lib/libdl.so.2, O_RDONLY)   = 3
open(/lib/libc.so.6, O_RDONLY)= 3
open(/usr/lib/locale/locale-archive, O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open(/usr/share/locale/locale.alias, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_IDENTIFICATION, O_RDONLY) = -1
ENOENT (No such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_IDENTIFICATION, O_RDONLY) = 3
open(/usr/lib/gconv/gconv-modules.cache, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_MEASUREMENT, O_RDONLY) = -1 ENOENT
(No such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_MEASUREMENT, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_TELEPHONE, O_RDONLY) = -1 ENOENT
(No such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_TELEPHONE, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_ADDRESS, O_RDONLY) = -1 ENOENT (No
such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_ADDRESS, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_NAME, O_RDONLY) = -1 ENOENT (No
such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_NAME, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_PAPER, O_RDONLY) = -1 ENOENT (No
such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_PAPER, O_RDONLY) = 3
open(/usr/lib/locale/en_US.UTF-8/LC_MESSAGES, O_RDONLY) = -1 ENOENT
(No such file or directory)
open(/usr/lib/locale/en_US.utf8/LC_MESSAGES, O_RDONLY) = 3

Re: [gentoo-user] chage can't open /etc/passwd

2007-09-17 Thread Norberto Bensa

Quoting Albert Hopkins [EMAIL PROTECTED]:


open(/lib/security/pam_deny.so, O_RDONLY) = 4
open(/etc/passwd, O_RDONLY)   = 3
open(/etc/shadow, O_RDONLY)   = -1 EACCES (Permission denied)
chage: PAM authentication failed


That's normal. You're running chage from strace ;)



open(/etc/passwd, O_RDONLY)   = 3
open(/etc/shadow, O_RDONLY)   = 3
chage: can't open password file
open(/etc/localtime, O_RDONLY)= 3



Hm...  Can you run strace without -eopen?


Regards,
Norberto


This message was sent using IMP, the Internet Messaging Program.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] xine - No sound after updates

2007-09-17 Thread Randy Barlow
Mark Knecht wrote:
Yes, I think I've done all the stuff one would typically try before
 writing to the list. Doesn't mean I didn't make a mistake though.
 Shown below is the terminal info as well as emerge -DuN with and
 without --with-bdeps, and revdep-rebuild results. I have multiple
 times tried erasing the .xine directory and coming at it like a new
 user, trying different options inside of xine but so far no luck.
 
Googling around a bit I found a few threads talking about no sound
 when they have the No accelerated IMDCT transform found message at
 the end of the terminal. For instance this one which hasn't led
 anywhere yet:

Hmm, Does it show any error messages when you try to play a media file?
 Does it happen with all kinds of media (mp3's, DVD's, flash) or just
with certain types?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] xine - No sound after updates

2007-09-17 Thread Mark Knecht
On 9/17/07, Randy Barlow [EMAIL PROTECTED] wrote:
 Mark Knecht wrote:
 Yes, I think I've done all the stuff one would typically try before
  writing to the list. Doesn't mean I didn't make a mistake though.
  Shown below is the terminal info as well as emerge -DuN with and
  without --with-bdeps, and revdep-rebuild results. I have multiple
  times tried erasing the .xine directory and coming at it like a new
  user, trying different options inside of xine but so far no luck.
 
 Googling around a bit I found a few threads talking about no sound
  when they have the No accelerated IMDCT transform found message at
  the end of the terminal. For instance this one which hasn't led
  anywhere yet:

 Hmm, Does it show any error messages when you try to play a media file?
  Does it happen with all kinds of media (mp3's, DVD's, flash) or just
 with certain types?


So far I have no other errors. Aqualung plays audio files. MythTV
works fine. mplayer seems to work, at least for audio files. xine is
the only DVD application we use so it's special in that sense. I could
try something else, I suppose. Not anxious to do that though.

So far it seems like a xine problem. I'll look into dropping back a
rev tomorrow if you or someone else doesn't have an idea which way I
should go.

Thanks,
Mark
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] xine - No sound after updates

2007-09-17 Thread Randy Barlow
Mark Knecht wrote:
 So far I have no other errors. Aqualung plays audio files. MythTV
 works fine. mplayer seems to work, at least for audio files. xine is
 the only DVD application we use so it's special in that sense. I could
 try something else, I suppose. Not anxious to do that though.
 
 So far it seems like a xine problem. I'll look into dropping back a
 rev tomorrow if you or someone else doesn't have an idea which way I
 should go.

It is starting to sound like an xine specific problem, and I'm honestly
not too familiar with xine.  I use mplayer for everything pretty much,
but also I don't usually use the computer to play DVDs.  Can anybody
else help?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] qmailadmin invalid login

2007-09-17 Thread Suranga Kasturiarachchi
Hi all,

i'm using qmail with vpopmail on gentoo. i installed the qmailadmin. but i'm
getting error when the try to login using postmaster account, it says
invalid login. the apache log error report giving like bellow.

[Tue Sep 18 09:06:57 2007] [error] [client 192.168.1.10] vmysql: can't read
settings from /var/vpopmail/etc/vpopmail.mysql, re
ferer: http://w3.capitallanka.com/cgi-bin/qmailadmin
[Tue Sep 18 09:07:04 2007] [error] [client 192.168.1.10] vmysql: can't read
settings from /var/vpopmail/etc/vpopmail.mysql, re
ferer: http://w3.capitallanka.com/cgi-bin/qmailadmin;

my sql also running perfect


suranga

-- 
Buddhas way is the path to freedom..!!