Re: [gentoo-user] I've hosed portage

2008-03-17 Thread Strong Cypher
for better perf i use ext2 with some tweak
mkfs.ext2 -I2048 -m0 /dev/myPartition
I use sqlite in backend and eix for searching update
the speed is now really excellent
every thing could be found on wiki
good luck

On 3/17/08, Chris Brennan [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 *if* you move /usr/portage to something like reisterfs, you will get
 better performacem even on slower machines. my PIII/800 can update the
 cache in ~ 3 minutes now  ext3 just doesn't cut it in a busy tree
 like portage ... the filesystem just isn't quick enough  there are
 some other things you can do like using xfs/jfs for
 /usr/portage/distfiles and what not, but that' just a start. First thing
 is first, fix portage, then if you like, contact me off list and I can
 help you tweak emerge so it runs a little quicker and still be safe :D

 John J. Foster wrote:
 | I unmasked portage-2.2_pre4 to see if it would help with the extreme
 | slowness of portage updating of its cache during a sync. I had also
 | previously emerged cdb to try to help with that also. Anyway, I'm not
 | really sure what state my portage is in right now, except that now every
 | emerge command returns
 |
 | [EMAIL PROTECTED] ~ $ emerge --info
 | Traceback (most recent call last):
 |   File /usr/bin/emerge, line 31, in ?
 | import emergehelp, xpak, commands, errno, re, socket, string,
 time, types
 |   File /usr/lib/portage/pym/emergehelp.py, line 7, in ?
 | from portage_const import
 PRIVATE_PATH,PRELINK_BINARY,HASHING_BLOCKSIZE
 |   File /usr/lib/portage/pym/portage_const.py, line 7, in ?
 | from portage_const import
 PRIVATE_PATH,PRELINK_BINARY,HASHING_BLOCKSIZE
 | ImportError: cannot import name PRIVATE_PATH
 |
 | I already tried
 | http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml
 | but it didn't help. Me thinks I should have done a quickpkg!
 |
 | Any help greatly appreciated.
 |
 | Thanks,
 | festus
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.7 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFH3dGY8hUIAnGfls4RApvUAJ9pK3wWqS5LpwvRtCOfzrItpxxtDgCgjdJm
 mgZu5SRDPda51qAuZtX58RE=
 =8DRz
 -END PGP SIGNATURE-
 --
 gentoo-user@lists.gentoo.org mailing list


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



[gentoo-user] sudo displays last login time

2008-03-17 Thread Michael Schmarck
Hello.

Since recently (I think since 2nd half of last week), when I use
sudo on my ~x86, I get the last login time displayed:

$ LC_ALL=C sudo ls -1
Last login: Mon Mar 17 07:12:40 CET 2008 from winnb000488 on pts/6
10001~
[...]

Would anyone have an idea, about why that's happening?

Thanks a lot,

Michael

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



Re: [gentoo-user] Received: from unknown

2008-03-17 Thread Strong Cypher
try to push your external ip adress in your hosts file for your domain

On 3/17/08, Jason Carson [EMAIL PROTECTED] wrote:
 Greetings,

 When I send an email to myself, in the header information it says the
 following...


 Return-Path: [EMAIL PROTECTED]
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 5901 invoked from network); 16 Mar 2008 23:57:45 -

 Received: from unknown (HELO jasoncarson.ca) (127.0.0.1)
  by penguin.jasoncarson.ca with SMTP; 16 Mar 2008 23:57:45 -

 Received: from 192.168.0.75
  (SquirrelMail authenticated user jason)
  by jasoncarson.ca with HTTP;
  Sun, 16 Mar 2008 19:57:45 -0400 (EDT)
 Message-ID: [EMAIL PROTECTED]
 Date: Sun, 16 Mar 2008 19:57:45 -0400 (EDT)
 Subject: Test
 From: Jason Carson [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 User-Agent: SquirrelMail/1.4.10a
 MIME-Version: 1.0
 Content-Type: text/plain;charset=iso-8859-1
 Content-Transfer-Encoding: 8bit
 X-Priority: 3 (Normal)
 Importance: Normal


 Where it says Received: from unknown (HELO jasoncarson.ca) (127.0.0.1)
 What do I have to do so it doesn't say Received: from unknown but
 instead displays the correct information and IP address instead of
 127.0.0.1?

 I am running qmail 1.03.

 Thanks

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


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



Re: [gentoo-user] I've hosed portage

2008-03-17 Thread Dale

Chris Brennan wrote:

SNIP   First thing
is first, fix portage, then if you like, contact me off list and I can
help you tweak emerge so it runs a little quicker and still be safe :D



No .  Please share with us all how to make it faster.  Is it 
classified top secret or something?   ;-)


Dale

:-)  :-) 


 read a little humor in that by the way 
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] kdm 4 won t start kde

2008-03-17 Thread Dale

Strong Cypher wrote:

hi, i have install kde 3 and 4. when i set kdm 4 to be defaut xdm to
launch,  they won t start nor kde 3 and 4 sessions. any idea where can
i find the log that describe the error? the xsession-error doesn t
show anything
thanks
  


I would look in /var/log/kdm.log.  See if anything nasty is in there.

Dale

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



Re: [gentoo-user] kdm 4 won t start kde

2008-03-17 Thread Volker Armin Hemmann
On Sonntag, 16. März 2008, Strong Cypher wrote:
 hi, i have install kde 3 and 4. when i set kdm 4 to be defaut xdm to
 launch,  they won t start nor kde 3 and 4 sessions. any idea where can
 i find the log that describe the error? the xsession-error doesn t
 show anything
 thanks

make sure that you have these files in /usr/share/xsessions:

-rw-r--r-- 1 root root 3,9K 10. Mär 19:27 kde-3.5.desktop
-rw-r--r-- 1 root root 3,9K 11. Mär 04:55 kde-4.desktop
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: jffs2 on gentoo

2008-03-17 Thread Jan Seeger
On Sun, 16. Mar, W.Kenworthy spammed my inbox with 
 I believe that writing a file to a single location is not the way to do
 this: you need to write a byte to the usb key in the same location, but
 need to ensure it continually changes: perhaps rotating 1's/0's.
 Alternatively, the concern is that the FAT/inode table or the like is
 where the most wear will occur - perhaps concentrate there?

Yeah, if I have the stick mounted sync and always copy and delete a file, some
bytes should get flipped around regularly. *If* there is no internal wear
leveling, that is. On USB sticks with internal wear leveling, you will, from a
size of about 1 GB upwards, never (Well, perhaps after 10 years...)  see a
failure due to media wear.

For the record: My USB stick has now gone through 78560 read/write cycles and is
still happily copying.

Regards,
Jan

-- 
thenybble.de/blog/ -- four bits at a time


pgpbj4J4iDUdr.pgp
Description: PGP signature


Re: [gentoo-user] kdm 4 won t start kde

2008-03-17 Thread cypherstrong
I have it

ok I will look in kdm.log

Volker Armin Hemmann a écrit :
 On Sonntag, 16. März 2008, Strong Cypher wrote:
   
 hi, i have install kde 3 and 4. when i set kdm 4 to be defaut xdm to
 launch,  they won t start nor kde 3 and 4 sessions. any idea where can
 i find the log that describe the error? the xsession-error doesn t
 show anything
 thanks
 

 make sure that you have these files in /usr/share/xsessions:

 -rw-r--r-- 1 root root 3,9K 10. Mär 19:27 kde-3.5.desktop
 -rw-r--r-- 1 root root 3,9K 11. Mär 04:55 kde-4.desktop
   




signature.asc
Description: OpenPGP digital signature


[gentoo-user] expat upgrade, kdelibs: circular problem?

2008-03-17 Thread brullo nulla
Hi folks,

I am finally getting through the expat update. I am currently stuck at
kdelibs for what looks like a circular problem (or a linking problem).
Forums and google tell me of problems with kdelibs and expat upgrade,
but mostly qt3 related -this seems not to be the case. The ebuild
stops with:

../dcop/dcopidl/dcopidl ./ksycoca.h  ksycoca.kidl || ( rm -f
ksycoca.kidl ; false )
../dcop/dcopidl/dcopidl: error while loading shared libraries:
libexpat.so.0: cannot open shared object file: No such file or
directory

So I equeried dcopidl, and dcopidl belongs to kdelibs itself!

What does it mean? kdelibs needs a working kdelibs itself to be built
(very strange)? Or when it compiles dcopidl, fails to link it against
the new expat? Or I failed at finding the dcopidl ebuild?

Thanks for your help,
M.
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: sudo displays last login time

2008-03-17 Thread Michael Schmarck
Alan McKinnon [EMAIL PROTECTED] wrote:

 On Monday 17 March 2008, Michael Schmarck wrote:
 Hello.

 Since recently (I think since 2nd half of last week), when I use
 sudo on my ~x86, I get the last login time displayed:

 $ LC_ALL=C sudo ls -1
 Last login: Mon Mar 17 07:12:40 CET 2008 from winnb000488 on pts/6
 10001~
 [...]

 Would anyone have an idea, about why that's happening?
 
 It's a recent pam update. I updated mine on 11 March, and it's these
 lines from files in /etc/pam.d/:
 
 nazgul pam.d # grep pam_lastlog *
 login:sessionoptional   pam_lastlog.so
 system-login:sessionoptionalpam_lastlog.so

That's it.

Thanks a lot!

Michael

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



Re: [gentoo-user] I've hosed portage

2008-03-17 Thread Emil Beinroth
Hi,

another thing that might help is not generating the cache at all. It
appears that we can get away with what is in /usr/portage/metadata/cache.

I've put -metadata-transfer into FEATURES to tell portage to skip the
Generating cache stuff, and added the following to my
/etc/portage/modules:

portdbapi.auxdbmodule = cache.metadata_overlay.database

I don't guarantee anything, but I've been using this approach for a
while (a year or so) and never had any problems.

I also am using squashfs+aufs for my portage tree, which - apart from
speeding things up here - has the nice little effect that /usr/portage
now only takes up about 50MB in a .sqfs image.
You will need to get aufs from the sunrise overlay, but if you are not
comfortable doing so you can use squashfs+unionfs as explained in this
gentoo-wiki article [1]

If you intend to use aufs, Martin Väth (who is also the current
maintainer of eix) has written a nifty little init-script for handling
those images (see initscripts.tar.gz on [2]).

HTH, Emil

[1] 
http://gentoo-wiki.com/HOWTO_VERY_small_Portage_Tree_with_SquashFS_and_UnionFS
[2] http://www.mathematik.uni-wuerzburg.de/~vaeth/gentoo/index.html

-- 
Emil Beinroth
83059 Kolbermoor | Germany
 
Rich bachelors should be heavily taxed. It is not fair that some men should be
happier than others. -- Oscar Wilde


pgpIefaoI76sB.pgp
Description: PGP signature


Re: [gentoo-user] kdm 4 won t start kde

2008-03-17 Thread cypherstrong
Thanks ! I don't know why I haven't found this file before ...

Dale a écrit :
 Strong Cypher wrote:
 hi, i have install kde 3 and 4. when i set kdm 4 to be defaut xdm to
 launch,  they won t start nor kde 3 and 4 sessions. any idea where can
 i find the log that describe the error? the xsession-error doesn t
 show anything
 thanks
   

 I would look in /var/log/kdm.log.  See if anything nasty is in there.

 Dale

 :-)  :-)




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] sudo displays last login time

2008-03-17 Thread Alan McKinnon
On Monday 17 March 2008, Michael Schmarck wrote:
 Hello.

 Since recently (I think since 2nd half of last week), when I use
 sudo on my ~x86, I get the last login time displayed:

 $ LC_ALL=C sudo ls -1
 Last login: Mon Mar 17 07:12:40 CET 2008 from winnb000488 on pts/6
 10001~
 [...]

 Would anyone have an idea, about why that's happening?

It's a recent pam update. I updated mine on 11 March, and it's these 
lines from files in /etc/pam.d/:

nazgul pam.d # grep pam_lastlog *
login:sessionoptional   pam_lastlog.so
system-login:sessionoptionalpam_lastlog.so


If you want to get rid of the last login notice, just comment out those 
two lines



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] kdm 4 won t start kde

2008-03-17 Thread Dale

cypherstrong wrote:

Thanks ! I don't know why I haven't found this file before ...

Dale a écrit :
  

Strong Cypher wrote:


hi, i have install kde 3 and 4. when i set kdm 4 to be defaut xdm to
launch,  they won t start nor kde 3 and 4 sessions. any idea where can
i find the log that describe the error? the xsession-error doesn t
show anything
thanks
  
  

I would look in /var/log/kdm.log.  See if anything nasty is in there.

Dale

:-)  :-)




  



Your welcome.  Most logs are in there.  Names depend on what logger you 
use but they are there.  Sometimes they help, sometimes they confuse you 
more.  Sounds like the man pages don't it?


Dale

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



Re: [gentoo-user] expat upgrade, kdelibs: circular problem?

2008-03-17 Thread Alan McKinnon
On Monday 17 March 2008, brullo nulla wrote:
 Hi folks,

 I am finally getting through the expat update. I am currently stuck
 at kdelibs for what looks like a circular problem (or a linking
 problem). Forums and google tell me of problems with kdelibs and
 expat upgrade, but mostly qt3 related -this seems not to be the case.
 The ebuild stops with:

 ../dcop/dcopidl/dcopidl ./ksycoca.h  ksycoca.kidl || ( rm -f
 ksycoca.kidl ; false )
 ../dcop/dcopidl/dcopidl: error while loading shared libraries:
 libexpat.so.0: cannot open shared object file: No such file or
 directory

 So I equeried dcopidl, and dcopidl belongs to kdelibs itself!

What output do you get from 'revdep-rebuild -p -i' ?



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] kdm 4 won t start kde, AGP seems to be off on kdm-4.0 only

2008-03-17 Thread cypherstrong
Ok I have found why kdm-4.0 don't work

They doesn't support seamless login over pam even with nullpassword and
nopassword activated !!!
I use pamusb with a key, and login won't done without password sets ...
I will ask to kde team why ...

I have look in kdm.log and I have found another problem

(II) Module already built-in
(II) Module already built-in
(II) Module already built-in
(EE) VIA(0): [drm] drmAgpAcquire failed 19
expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightnessDown: line 71 of pc
expected keysym, got XF86KbdBrightnessUp: line 72 of pc
The XKEYBOARD keymap compiler (xkbcomp) reports:
 Warning:  Type ONE_LEVEL has 1 levels, but RALT has 2 symbols
   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server

VIA(0) drmAgepAcquire failed

The result is the same between kdm-3.5 and kdm-4.0 except on display speed

If I use kdm-4.0, the screen display is really slow, I really think agp
is totally disabled, and everything take long time to be show even if I
use kde-4.0 or kde-3.5 session

Now I have try the same on kdm-3.5, speed is good on kde-4.0 or kde-3.5,
I think agp is good on it

I have look in Xorg.0.log, dri and agp are well activated

What happen ? Did I miss a use option ?

opengl and dri are totally activated on my use,

perhaps I have to try another drivers for via unichrome ?

In kernel, I have disabled AGP for VIA (because i think it's not a via
unichrome drivers), and activate DRI for VIA (it's a via unichrome dri
drivers)

with or without AGP for VIA in kernel, I have the same message on all
log, so ...

Did you have an idea ?

Dale a écrit :
 cypherstrong wrote:
 Thanks ! I don't know why I haven't found this file before ...

 Dale a écrit :
  
 Strong Cypher wrote:

 hi, i have install kde 3 and 4. when i set kdm 4 to be defaut xdm to
 launch,  they won t start nor kde 3 and 4 sessions. any idea where can
 i find the log that describe the error? the xsession-error doesn t
 show anything
 thanks
 
 I would look in /var/log/kdm.log.  See if anything nasty is in there.

 Dale

 :-)  :-)
 


   


 Your welcome.  Most logs are in there.  Names depend on what logger
 you use but they are there.  Sometimes they help, sometimes they
 confuse you more.  Sounds like the man pages don't it?

 Dale

 :-)  :-)




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] I've hosed portage

2008-03-17 Thread John J. Foster
Chris, Strong and Emil - most excellent suggestions, and I'd love to try
them out as soon as someone helps me get portage working again!

Thanks,
festus



pgpAMIgASTf6H.pgp
Description: PGP signature


[gentoo-user] graphic card driver status

2008-03-17 Thread Florian Philipp
Hi list!

I'm thinking about upgrading my parent's PC's graphic card because I
have driver issues with their old Nvidia GF-2 MX which prevent me of
using the closed source driver.

Now I want to ask: What's the status of the ATI drivers? Does the free
driver support 3D-acceleration on newer cards? Is the closed source
driver still such a pain to setup? How about VIA or Matrox?

I'd buy an Intel but I don't think they produce AGP- or PCI-cards, do
they?

Thanks in advance!

Florian Philipp


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


[gentoo-user] Kopete 3.5 and 4.0 can't be install at the same time

2008-03-17 Thread cypherstrong
I have found a problem in slot of kde 3.5 and 4.0

kopete 3.5 depends on app-crypt/qca:0
kopete 4.0 depends on app-crypt/qca:2

qca:0 block qca:2 so if I wan't kopete on kde 3.5 and 4.0 they is a problem

How can I solve it ?

qca:0 and qca:2 are really blocking each other ? can't we really remove
blocking state between us ?




signature.asc
Description: OpenPGP digital signature


[gentoo-user] mount -t cifs doesn't accept //hostname/share?

2008-03-17 Thread Grant Edwards
According to the docs at http://gentoo-wiki.com/HOWTO_Setup_Samba#Using_CIFS,
the following command should work:

 mount -t cifs //windows machine name/shared folder /mountpoint \
   -o username=user,uid=uid,iocharset=cp850,dir_mode=0770,file_mode=660

That doesn't work for me.  I get this error:

mount -t cifs //sidewinder/temp_xfer /mnt/tmp -o [...]
mount error: improperly formatted UNC name. /sidewinder/temp_xfer does not 
begin with \\ or //
mount error 22 = Invalid argument

mount.cifs works fine.  The only way I can get mount to work is
to use backslashes for the UNC path.  When support for
forward-slahses in UNC paths get broken?

-- 
Grant


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



Re: [gentoo-user] Kopete 3.5 and 4.0 can't be install at the same time

2008-03-17 Thread Matthias Guede
They don't realy blocking each other:

From qca-2.0.0-r2.ebuild:

DEPEND=
!app-crypt/qca-1.0-r3

So you can have both,  qca-1.0-r3 and qca-2.0.0-r2 on your system (but
not qca-1.0-r2 and qca-2.0.0-r2).

But you have to unmask qca-1.0-r3 first:
echo =qapp-crypt/ca-1.0-r3  /etc/portage/package.unmask



2008/3/17, cypherstrong [EMAIL PROTECTED]:
 I have found a problem in slot of kde 3.5 and 4.0

  kopete 3.5 depends on app-crypt/qca:0
  kopete 4.0 depends on app-crypt/qca:2

  qca:0 block qca:2 so if I wan't kopete on kde 3.5 and 4.0 they is a problem

  How can I solve it ?

  qca:0 and qca:2 are really blocking each other ? can't we really remove
  blocking state between us ?




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



Re: [gentoo-user] Received: from unknown

2008-03-17 Thread Jason Carson
 try to push your external ip adress in your hosts file for your domain

My static IP is 66.11.182.5 and my computer is called
penguin.jasoncarson.ca so what exactly would I put in /etc/hosts?


 On 3/17/08, Jason Carson [EMAIL PROTECTED] wrote:
 Greetings,

 When I send an email to myself, in the header information it says the
 following...


 Return-Path: [EMAIL PROTECTED]
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 5901 invoked from network); 16 Mar 2008 23:57:45 -

 Received: from unknown (HELO jasoncarson.ca) (127.0.0.1)
  by penguin.jasoncarson.ca with SMTP; 16 Mar 2008 23:57:45 -

 Received: from 192.168.0.75
  (SquirrelMail authenticated user jason)
  by jasoncarson.ca with HTTP;
  Sun, 16 Mar 2008 19:57:45 -0400 (EDT)
 Message-ID: [EMAIL PROTECTED]
 Date: Sun, 16 Mar 2008 19:57:45 -0400 (EDT)
 Subject: Test
 From: Jason Carson [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 User-Agent: SquirrelMail/1.4.10a
 MIME-Version: 1.0
 Content-Type: text/plain;charset=iso-8859-1
 Content-Transfer-Encoding: 8bit
 X-Priority: 3 (Normal)
 Importance: Normal


 Where it says Received: from unknown (HELO jasoncarson.ca) (127.0.0.1)
 What do I have to do so it doesn't say Received: from unknown but
 instead displays the correct information and IP address instead of
 127.0.0.1?

 I am running qmail 1.03.

 Thanks

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


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




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



Re: [gentoo-user] Kopete 3.5 and 4.0 can't be install at the same time

2008-03-17 Thread Volker Armin Hemmann
On Montag, 17. März 2008, cypherstrong wrote:

ls -lh /var/db/pkg/app-crypt

drwxr-xr-x 2 root root 27 18. Jan 21:50 qca-1.0-r3
drwxr-xr-x 2 root root 29 10. Feb 19:09 qca-2.0.0-r2
drwxr-xr-x 2 root root 28 10. Feb 19:10 qca-ossl-2.0.0_beta3
drwxr-xr-x 2 root root 27 10. Feb 19:02 qca-tls-1.0-r4

blocks? there are blocks?

ah yes, there is a block in the qca-2.0.0-r2 ebuild, but not for qca-1.0-r3 
and later. So install 1.0-rc3.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Received: from unknown

2008-03-17 Thread cypherstrong
Push this:

66.11.182.5 jasoncarson.ca penguin.jasoncarson.ca

in your host file
remove reference to jasoncarson.ca in the 127.0.0.1 lines



Jason Carson a écrit :
 try to push your external ip adress in your hosts file for your domain
 

 My static IP is 66.11.182.5 and my computer is called
 penguin.jasoncarson.ca so what exactly would I put in /etc/hosts?

   
 On 3/17/08, Jason Carson [EMAIL PROTECTED] wrote:
 
 Greetings,

 When I send an email to myself, in the header information it says the
 following...


 Return-Path: [EMAIL PROTECTED]
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 5901 invoked from network); 16 Mar 2008 23:57:45 -

 Received: from unknown (HELO jasoncarson.ca) (127.0.0.1)
  by penguin.jasoncarson.ca with SMTP; 16 Mar 2008 23:57:45 -

 Received: from 192.168.0.75
  (SquirrelMail authenticated user jason)
  by jasoncarson.ca with HTTP;
  Sun, 16 Mar 2008 19:57:45 -0400 (EDT)
 Message-ID: [EMAIL PROTECTED]
 Date: Sun, 16 Mar 2008 19:57:45 -0400 (EDT)
 Subject: Test
 From: Jason Carson [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 User-Agent: SquirrelMail/1.4.10a
 MIME-Version: 1.0
 Content-Type: text/plain;charset=iso-8859-1
 Content-Transfer-Encoding: 8bit
 X-Priority: 3 (Normal)
 Importance: Normal


 Where it says Received: from unknown (HELO jasoncarson.ca) (127.0.0.1)
 What do I have to do so it doesn't say Received: from unknown but
 instead displays the correct information and IP address instead of
 127.0.0.1?

 I am running qmail 1.03.

 Thanks

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


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


 


   




signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: jffs2 on gentoo

2008-03-17 Thread James
dexters84 dexters84 at gmail.com writes:


  I believe the size of the writes can be relevant as well.

  Stroller.

 That was exactly my point. Systems based on cf card as hard drive are 
 usually small - one function focused devices, hence there is no need for 
 swap partition. To extend lifetime of cf card you have to minimize all 
 possible read/writes to card.


OK,


I agree.
minimize the size of the system and 
minimize writes to extend the
life of the CF.

Wear leveling is *probably* built into the IDE to CF converter
carrier board?

So no need to work about which File System to use or tuning the
file system (EXT2).

Is that it?


James



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



Re: [gentoo-user] Received: from unknown

2008-03-17 Thread Jason Carson
 Push this:

 66.11.182.5 jasoncarson.ca penguin.jasoncarson.ca

 in your host file
 remove reference to jasoncarson.ca in the 127.0.0.1 lines

ok, I tried that and it didn't work. I came across this...

qmail never uses /etc/hosts to determine the IP address associated with a
host name.

...Which was in the Life with Qmail documentation
( http://www.lifewithqmail.org/lwq.html )



 Jason Carson a écrit :
 try to push your external ip adress in your hosts file for your domain


 My static IP is 66.11.182.5 and my computer is called
 penguin.jasoncarson.ca so what exactly would I put in /etc/hosts?


 On 3/17/08, Jason Carson [EMAIL PROTECTED] wrote:

 Greetings,

 When I send an email to myself, in the header information it says the
 following...


 Return-Path: [EMAIL PROTECTED]
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 5901 invoked from network); 16 Mar 2008 23:57:45
 -

 Received: from unknown (HELO jasoncarson.ca) (127.0.0.1)
  by penguin.jasoncarson.ca with SMTP; 16 Mar 2008 23:57:45 -

 Received: from 192.168.0.75
  (SquirrelMail authenticated user jason)
  by jasoncarson.ca with HTTP;
  Sun, 16 Mar 2008 19:57:45 -0400 (EDT)
 Message-ID: [EMAIL PROTECTED]
 Date: Sun, 16 Mar 2008 19:57:45 -0400 (EDT)
 Subject: Test
 From: Jason Carson [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 User-Agent: SquirrelMail/1.4.10a
 MIME-Version: 1.0
 Content-Type: text/plain;charset=iso-8859-1
 Content-Transfer-Encoding: 8bit
 X-Priority: 3 (Normal)
 Importance: Normal


 Where it says Received: from unknown (HELO jasoncarson.ca)
 (127.0.0.1)
 What do I have to do so it doesn't say Received: from unknown but
 instead displays the correct information and IP address instead of
 127.0.0.1?

 I am running qmail 1.03.

 Thanks

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



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











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



[gentoo-user] sandbox problems

2008-03-17 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am trying to udate kde-meta (actually, I think it never completely
installed, but I'm doing an update now) and it won't get past the very
first part, that of kde-base/libkpimidentities-3.5.8, because it gets this
error:

libsandbox:  Can't resolve getcwd: (null)

Actually, mmods of that basic line, including the word libsandbox, can't
resolv show up aboout a dozen times, then finally:

make  all-recursive
make[1]: Entering directory
`/var/tmp/portage/kde-base/libkpimidentities-3.5.8/work/libkpimidentities-3.5.8'
Making all in doc
make[2]: Entering directory
`/var/tmp/portage/kde-base/libkpimidentities-3.5.8/work/libkpimidentities-3.5.8/doc'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory
`/var/tmp/portage/kde-base/libkpimidentities-3.5.8/work/libkpimidentities-3.5.8/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kde-base/libkpimidentities-3.5.8/work/libkpimidentities-3.5.8'
make: *** [all] Error 2
 *
 * ERROR: kde-base/libkpimidentities-3.5.8 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 4367:  Called kde-meta_src_compile
 * environment, line 2916:  Called kde_src_compile
 * environment, line 3081:  Called kde_src_compile 'src_compile'
 * environment, line 3202:  Called kde_src_compile
'src_compile' 'all' 'myconf'
 * environment, line 3198:  Called die
 * The specific snippet of code:
 *   emake || die died running emake, $FUNCNAME:make
 *  The die message:
 *   died running emake, kde_src_compile:make

OK, that's all of it, but I *think* it's all revolving around that
libsandbox thing.  There's no man page on it, nothing in the emerge or
portage man pages on sandbox, but therer are some things I saw on Google
saying this might be some enw error (but I saw no workaround)  I did see
some places in the man page for make.conf, but they didn't tell me enouhg
to let me modify it, but DID tell me that I shouldn't touch it.  My portage
is now broken because if it, at least, that's what it seems like.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH3sdMz62J6PPcoOkRAuxZAJ93mfsOCfQlvaU2HRBLeH0gGNbu9ACghYQt
38i76lMDA7RBs9+k0yFqkmM=
=kz9E
-END PGP SIGNATURE-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] mount -t cifs doesn't accept //hostname/share?

2008-03-17 Thread Rik Koenig
On Mon, Mar 17, 2008 at 11:44 AM, Grant Edwards [EMAIL PROTECTED] wrote:

 According to the docs at
 http://gentoo-wiki.com/HOWTO_Setup_Samba#Using_CIFS,
 the following command should work:

  mount -t cifs //windows machine name/shared folder /mountpoint \
   -o
 username=user,uid=uid,iocharset=cp850,dir_mode=0770,file_mode=660

 That doesn't work for me.  I get this error:

 mount -t cifs //sidewinder/temp_xfer /mnt/tmp -o [...]
 mount error: improperly formatted UNC name. /sidewinder/temp_xfer does not
 begin with \\ or //
 mount error 22 = Invalid argument

 mount.cifs works fine.  The only way I can get mount to work is
 to use backslashes for the UNC path.  When support for
 forward-slahses in UNC paths get broken?

 --
 Grant


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


This error is actually described in the gentoo-wiki page just under that
command example: '*Warning:* Recent versions of mount don't support
forward slashes in UNC path names as shown above -- you must use
backslashes.'

However, forward slashes are working for me with samba 3.0.28 and util-linux
2.13-r2.

~RK


[gentoo-user] format for eix-sync

2008-03-17 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I was reading in the eix man page about eix-sync, and it gave about a
million options, but nowhere did I see if give a useable format for the
options,  I wanted to have a option line setting
 but I couldn't tell if it was like

PRINT_SLOTS=yes or
PRINT_SLOTS yes or
PRINT_SLOTS=yes   or
PRINT_SLOTS yes

There are other permutations.  Howcome the man page doesn't give something
as obvious as that?  Darn huge man page, after I initially found the
PRINT_SLOTS defintion, it took me 10 more minutes to find out that it was
supposed to go into /etc/eix-sync.  It gives a great amoount of info, but
maybe it could stand some better organization, to let things get found.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH3tUPz62J6PPcoOkRAj1iAJ9Zwy9zRqLVcCyKUCXXPxHneCVMmgCeLTUV
NiWCVFryrq6RyQ7AoadRkCg=
=YKdh
-END PGP SIGNATURE-
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Kopete 3.5 and 4.0 can't be install at the same time

2008-03-17 Thread Strong Cypher
yes r3 works fine
thanks

On 3/17/08, Volker Armin Hemmann [EMAIL PROTECTED] wrote:
 On Montag, 17. März 2008, cypherstrong wrote:

 ls -lh /var/db/pkg/app-crypt

 drwxr-xr-x 2 root root 27 18. Jan 21:50 qca-1.0-r3
 drwxr-xr-x 2 root root 29 10. Feb 19:09 qca-2.0.0-r2
 drwxr-xr-x 2 root root 28 10. Feb 19:10 qca-ossl-2.0.0_beta3
 drwxr-xr-x 2 root root 27 10. Feb 19:02 qca-tls-1.0-r4

 blocks? there are blocks?

 ah yes, there is a block in the qca-2.0.0-r2 ebuild, but not for qca-1.0-r3
 and later. So install 1.0-rc3.
 --
 gentoo-user@lists.gentoo.org mailing list


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



Re: [gentoo-user] format for eix-sync

2008-03-17 Thread Alan McKinnon
On Monday 17 March 2008, Chuck Robey wrote:
 I was reading in the eix man page about eix-sync, and it gave about a
 million options, but nowhere did I see if give a useable format for
 the options,  I wanted to have a option line setting
  but I couldn't tell if it was like

 PRINT_SLOTS=yes   or
 PRINT_SLOTS   yes or
 PRINT_SLOTS=yes or
 PRINT_SLOTS   yes

 There are other permutations.  Howcome the man page doesn't give
 something as obvious as that?  Darn huge man page, after I initially
 found the PRINT_SLOTS defintion, it took me 10 more minutes to find
 out that it was supposed to go into /etc/eix-sync.  It gives a great
 amoount of info, but maybe it could stand some better organization,
 to let things get found.

The format is none of those :-) It actually looks like this:

[EMAIL PROTECTED] ~/movies $ sudo eix --dump | grep SLOT
DIFF_NO_SLOTS='false'
FORMAT_BEFORE_SLOT_IUSE='\n\t\{(blue)'
FORMAT_AFTER_SLOT_IUSE='()\}'
COLOR_SLOTS='red,1'
COLORED_SLOTS='true'
COLON_SLOTS='false'
UPGRADE_TO_HIGHEST_SLOT='true'
PRINT_SLOTS='true'


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] kdm 4 won t start kde, AGP seems to be off on kdm-4.0 only

2008-03-17 Thread Dale

cypherstrong wrote:

Ok I have found why kdm-4.0 don't work

They doesn't support seamless login over pam even with nullpassword and
nopassword activated !!!
I use pamusb with a key, and login won't done without password sets ...
I will ask to kde team why ...

I have look in kdm.log and I have found another problem

(II) Module already built-in
(II) Module already built-in
(II) Module already built-in
(EE) VIA(0): [drm] drmAgpAcquire failed 19
expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightnessDown: line 71 of pc
expected keysym, got XF86KbdBrightnessUp: line 72 of pc
The XKEYBOARD keymap compiler (xkbcomp) reports:
  

Warning:  Type ONE_LEVEL has 1 levels, but RALT has 2 symbols
  Ignoring extra symbols


Errors from xkbcomp are not fatal to the X server

VIA(0) drmAgepAcquire failed

The result is the same between kdm-3.5 and kdm-4.0 except on display speed

If I use kdm-4.0, the screen display is really slow, I really think agp
is totally disabled, and everything take long time to be show even if I
use kde-4.0 or kde-3.5 session

Now I have try the same on kdm-3.5, speed is good on kde-4.0 or kde-3.5,
I think agp is good on it

I have look in Xorg.0.log, dri and agp are well activated

What happen ? Did I miss a use option ?

opengl and dri are totally activated on my use,

perhaps I have to try another drivers for via unichrome ?

In kernel, I have disabled AGP for VIA (because i think it's not a via
unichrome drivers), and activate DRI for VIA (it's a via unichrome dri
drivers)

with or without AGP for VIA in kernel, I have the same message on all
log, so ...

Did you have an idea ?


  


I'm not real sure but I do have the USE flag dri in my make.conf.  
xorg-server is the package that shows it uses it but there may be other 
packages.


To find out if you have a flag enabled or not, you can do a emerge -pv 
package-name and then look in the list to see if it is enabled or 
not.  Something like this:


[EMAIL PROTECTED] / # emerge -pv xorg-server

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

Calculating dependencies... done!
[ebuild   R   ] x11-base/xorg-server-1.3.0.0-r5  USE=dri ipv6 nptl sdl 
xorg xprint -3dfx -debug -dmx -kdrive -minimal INPUT_DEVICES=keyboard 
mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro 
-elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystick 
-magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa 
-synaptics -tek4957 -ur98 -vmmouse -void -wacom VIDEO_CARDS=nvidia 
-apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev -fglrx -glint -i128 
-i740 -i810 (-impact) -imstt -mach64 -mga -neomagic (-newport) -nsc -nv 
-r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis 
-sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) 
(-suntcx) -tdfx -tga -trident -tseng -v4l -vesa -vga -via -vmware 
-voodoo 0 kB


Total: 1 package (1 reinstall), Size of downloads: 0 kB
[EMAIL PROTECTED] /

If you have color on yours, red is enabled and blue is disabled.  If not 
color, the flags with the minus sign is front are disabled.  You can do 
a euse -i flag name to see a short, very short, description of what 
the flag does or it's use.


If you change make.conf, you can do a emerge -avN world to make sure all 
the needed packages are recompiled with the changes.


I have never seen that error before.  Not real sure what to think about 
it.  Anybody else here have a clue??


Dale

:-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] expat upgrade, kdelibs: circular problem?

2008-03-17 Thread Alan McKinnon
On Monday 17 March 2008, brullo nulla wrote:
   What output do you get from 'revdep-rebuild -p -i' ?

 Here it is:

 Evaluating package order...
 Warning: Failed to resolve package order.
 Will merge in random order!
 Possible reasons:
 - An ebuild is no longer in the portage tree.
 - An ebuild is masked, use /etc/portage/packages.keyword
   and/or /etc/portage/package.unmask to unmask it
 . done.
   (/root/.revdep-rebuild.5_order)

snip HUGE package list...

Hmmm. I seem to recall the expat upgrade being similar for me too. 
Unless you receive good advice to the contrary, you could try doing 
what I eventually did:

emerge -avuND world
then 
emerge --skipfirst --resume
as many times as needed to get to the end. Mask and unmask stuff 
manually as required. Eventually it all ends :-) and you are left with 
a consistent system. The final test is to run:

emerge -avuND world
emerge -av --depclean
revdep-rebuild -p -i

and all three should result in nothing to do.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



[gentoo-user] Sharing a printer to XP: Samba vs IPP

2008-03-17 Thread David Blamire-Brown
Hi,
This is a question about a small home network set-up for printing. I can't tell 
if this is OT for this list, but that doesn't seem to be a firm restriction in 
this part of the world in any case!

I have a locally attached printer on a Gentoo machine. I have a Windows XP 
laptop. I would like to print from my XP laptop over the network to the printer.
I have followed the guide on gentoo.org. I've sort of got printing working via 
Samba, but haven't been able to configure it for XP users to print without 
having to login to Samba. So I'm looking back at using IPP on the XP laptop.

Anyway, the main question is, is Samba a preferred option, or is it just more 
complicated than using IPP? There are a couple of brief lines about printing 
via IPP in the Gentoo Printing Guide, but a whole separate guide on using 
Samba. I can't find any information on use of IPP vs Samba via a brief Google, 
but maybe I'm just not searching very well.

Regards,
David
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] format for eix-sync

2008-03-17 Thread Emil Beinroth
On Mon, Mar 17, 2008 at 04:31:11PM -0400, Chuck Robey wrote:
 I was reading in the eix man page about eix-sync, and it gave about a
 million options, but nowhere did I see if give a useable format for the
 options,

Quoting from the manpage ..

  /etc/eixrc
  Global configuration file. The variables in ~/.eixrc or from the
  environment can override the variables set in this file.
  See ~/.eixrc.
  
  [snip]
  
  ~/.eixrc
  Per-user configuration file. The variables in this file can be
  overridden by environment variables. You can use a shell-like
  syntax to set the following variables. ^^
  ^^ 

  I wanted to have a option line setting but I couldn't tell if it was
  like
 
 PRINT_SLOTS=yes   or
 PRINT_SLOTS   yes or
 PRINT_SLOTS=yes or
 PRINT_SLOTS   yes

As said above, eix uses shell-style configuration files so #1 and #3
should be fine.

 There are other permutations.  Howcome the man page doesn't give something
 as obvious as that?  Darn huge man page, after I initially found the
 PRINT_SLOTS defintion, it took me 10 more minutes to find out that it was
 supposed to go into /etc/eix-sync.

Are you sure? Normally that stuff goes into /etc/eixrc or ~/.eixrc.

 It gives a great amoount of info, but maybe it could stand some better
 organization, to let things get found.

Martin actually acknowledges this problem in the BUGS section: There
are too many features: The documentation and configuration has become
too complicated. So it definitely could.

The *huge* list of variables could be split up into sections, for
example all the MATCH_* stuff could go into a section called Changing
default match-fields. 
But this approach is probably be better suited for formats that support
links, so we can have a nice table of contents. info-pages spring to
mind, but I hear many people don't like those.

Another way to reduce the size and complexity could be to split the
whole thing into multiple documents, one for each tool (eix, update-eix,
eix-diff and so on..).

Any thoughts or suggestions on this topic would be greatly appreciated.

Cheers, Emil

-- 
Emil Beinroth
83059 Kolbermoor | Germany


pgpoLNzrlk0d3.pgp
Description: PGP signature


[gentoo-user] Non-portage nVidia driver install.

2008-03-17 Thread darren kirby
Hi all,

I just built myself a brand new AMD64 system with an EVGA Geforce 9600GT. This 
vid card requires a newer version of nvidia drivers (171.06) than is 
available from portage, so I will have to install it manually.

I am wondering if there are any gotchas I should keep in mind before 
installing it, as in, do I need to unmerge the current unsupported drivers? 
Should I use package provided? Will 'eselect opengl set nvidia' still work?

Shall I just shut up and install it ;)

Thanks for replies,
-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Non-portage nVidia driver install.

2008-03-17 Thread Neil Bothwick
On Mon, 17 Mar 2008 16:40:11 -0600, darren kirby wrote:

 I just built myself a brand new AMD64 system with an EVGA Geforce
 9600GT. This vid card requires a newer version of nvidia drivers
 (171.06) than is available from portage, so I will have to install it
 manually.

According to http://bugs.gentoo.org/show_bug.cgi?id=213116 you can copy
nvidia-drivers-169.12.ebuild to nvidia-drivers-171.06.ebuild in your
overlay and it will install the new drivers.


-- 
Neil Bothwick

Bother, said Pooh, as he fell off the bridge with his stick.


signature.asc
Description: PGP signature


Re: [gentoo-user] format for eix-sync

2008-03-17 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alan McKinnon wrote:
 On Monday 17 March 2008, Chuck Robey wrote:
 I was reading in the eix man page about eix-sync, and it gave about a
 million options, but nowhere did I see if give a useable format for
 the options,  I wanted to have a option line setting
  but I couldn't tell if it was like

 PRINT_SLOTS=yes  or
 PRINT_SLOTS  yes or
 PRINT_SLOTS=yesor
 PRINT_SLOTS  yes

 There are other permutations.  Howcome the man page doesn't give
 something as obvious as that?  Darn huge man page, after I initially
 found the PRINT_SLOTS defintion, it took me 10 more minutes to find
 out that it was supposed to go into /etc/eix-sync.  It gives a great
 amoount of info, but maybe it could stand some better organization,
 to let things get found.
 
 The format is none of those :-) It actually looks like this:
 
 [EMAIL PROTECTED] ~/movies $ sudo eix --dump | grep SLOT
 DIFF_NO_SLOTS='false'
 FORMAT_BEFORE_SLOT_IUSE='\n\t\{(blue)'
 FORMAT_AFTER_SLOT_IUSE='()\}'
 COLOR_SLOTS='red,1'
 COLORED_SLOTS='true'
 COLON_SLOTS='false'
 UPGRADE_TO_HIGHEST_SLOT='true'
 PRINT_SLOTS='true'
 
 

Wow, GREAT.  Slots are such a great idea, thjey need more publicity.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH3vOQz62J6PPcoOkRAmFfAJ44dw6OQXMnINLI/okqEzetYbXYWwCfQcCs
NeYcYF4zQeME+gvgfQ7McNY=
=vDLJ
-END PGP SIGNATURE-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Non-portage nVidia driver install.

2008-03-17 Thread darren kirby
quoth the Neil Bothwick:
 On Mon, 17 Mar 2008 16:40:11 -0600, darren kirby wrote:
  I just built myself a brand new AMD64 system with an EVGA Geforce
  9600GT. This vid card requires a newer version of nvidia drivers
  (171.06) than is available from portage, so I will have to install it
  manually.

 According to http://bugs.gentoo.org/show_bug.cgi?id=213116 you can copy
 nvidia-drivers-169.12.ebuild to nvidia-drivers-171.06.ebuild in your
 overlay and it will install the new drivers.

Thanks Neil.

That's my bad, I didn't even think to search bugzilla for an updated ebuild, 
or use an overlay. Urrr..

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] sudo displays last login time

2008-03-17 Thread Iain Buchanan

On Mon, 2008-03-17 at 10:49 +0200, Alan McKinnon wrote:
 On Monday 17 March 2008, Michael Schmarck wrote:
  Hello.
 
  Since recently (I think since 2nd half of last week), when I use
  sudo on my ~x86, I get the last login time displayed:

[snip]

 It's a recent pam update. I updated mine on 11 March, and it's these 
 lines from files in /etc/pam.d/:
 
 nazgul pam.d # grep pam_lastlog *
 login:sessionoptional   pam_lastlog.so
 system-login:sessionoptionalpam_lastlog.so

 If you want to get rid of the last login notice, just comment out those 
 two lines

however, if you comment them out then you also don't get the lastlog
message when you ssh or console log in.  How do you get the old
behaviour where sudo doesn't show your last login, but other login's do?

thanks,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Waiter: Tea or coffee, gentlemen?
1st customer: I'll have tea.
2nd customer: Me, too -- and be sure the glass is clean!
(Waiter exits, returns)
Waiter: Two teas.  Which one asked for the clean glass?

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



Re: [gentoo-user] format for eix-sync

2008-03-17 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Emil Beinroth wrote:
 On Mon, Mar 17, 2008 at 04:31:11PM -0400, Chuck Robey wrote:
 I was reading in the eix man page about eix-sync, and it gave about a
 million options, but nowhere did I see if give a useable format for the
 options,
 
 Quoting from the manpage ..
 
   /etc/eixrc
   Global configuration file. The variables in ~/.eixrc or from the
   environment can override the variables set in this file.
   See ~/.eixrc.
   
   [snip]
   
   ~/.eixrc
   Per-user configuration file. The variables in this file can be
   overridden by environment variables. You can use a shell-like
   syntax to set the following variables. ^^
   ^^ 
 

Oh, I see.  The system which I ssh'ed to, where _I DID_ check /etc/eixrc
and foound it empty had no package for eix installed, and I didn't know
then it was an added package.  I didn't miss that, but, as I have said
before (enough to where I know I'm getting to be boring) that examples,
eithout having the syntax explained (and the man page doesn't) is a very
bad habit of Unix, because it seems that every programmer assumes you're
only going to be using their own task when they give you an example, so
when you don't do exactly what tey say, you're just SOL.  God, I have had
enough of that (sorry, as you probably can tell my now, that's a real hot
button of mine by now).

  I wanted to have a option line setting but I couldn't tell if it was
  like

 PRINT_SLOTS=yes  or
 PRINT_SLOTS  yes or
 PRINT_SLOTS=yesor
 PRINT_SLOTS  yes
 
 As said above, eix uses shell-style configuration files so #1 and #3
 should be fine.
 
 There are other permutations.  Howcome the man page doesn't give something
 as obvious as that?  Darn huge man page, after I initially found the
 PRINT_SLOTS defintion, it took me 10 more minutes to find out that it was
 supposed to go into /etc/eix-sync.
 
 Are you sure? Normally that stuff goes into /etc/eixrc or ~/.eixrc.

Well, I had no ~/.eixrc.

 
 It gives a great amoount of info, but maybe it could stand some better
 organization, to let things get found.
 
 Martin actually acknowledges this problem in the BUGS section: There
 are too many features: The documentation and configuration has become
 too complicated. So it definitely could.

Well, that's not really an insurmountable problem.  It makes writing the
man page hard, but if it's well written, it can still be read.  Look at the
grep man page.  L:ong time back (LONG time, I mean V.7 days), at first
there was only a grep writeup, not a man page.  It gave two very well
detailed examples, but realizing how grep was set up, the writeup was the
next thing to useless, and I couldn't make any use of it until I finally
located a man page for it that gave all the options.  You need to give at
least a bare summary of what each and every flag does, THEN an example can
be a really useful thing, but alone it sucks..  It's a real problem that it
seems to be the current way for programmers to get out of having to really
document things.

Hey, I'm not perfect, I don't like writing docs either.  The only
typesetter I do well with is troff, and when things changed to xml, I can't
write things up anymore.  I can do some nice things with troff (even write
macros) but that doesn't get me too far ennymore.

 
 The *huge* list of variables could be split up into sections, for
 example all the MATCH_* stuff could go into a section called Changing
 default match-fields. 
 But this approach is probably be better suited for formats that support
 links, so we can have a nice table of contents. info-pages spring to
 mind, but I hear many people don't like those.
 
 Another way to reduce the size and complexity could be to split the
 whole thing into multiple documents, one for each tool (eix, update-eix,
 eix-diff and so on..).
 
 Any thoughts or suggestions on this topic would be greatly appreciated.
 
 Cheers, Emil
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH3w6hz62J6PPcoOkRAhZiAJ9mZnYntMaF5ZQseim1hPDErpHLqwCgi3tO
VXvFW4Rcr2rHVj8+pr+E4AY=
=krWt
-END PGP SIGNATURE-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Sharing a printer to XP: Samba vs IPP

2008-03-17 Thread Mark Shields
On Mon, Mar 17, 2008 at 5:42 PM, David Blamire-Brown 
[EMAIL PROTECTED] wrote:

 Hi,
 This is a question about a small home network set-up for printing. I can't
 tell if this is OT for this list, but that doesn't seem to be a firm
 restriction in this part of the world in any case!

 I have a locally attached printer on a Gentoo machine. I have a Windows XP
 laptop. I would like to print from my XP laptop over the network to the
 printer.
 I have followed the guide on gentoo.org. I've sort of got printing working
 via Samba, but haven't been able to configure it for XP users to print
 without having to login to Samba. So I'm looking back at using IPP on the XP
 laptop.

 Anyway, the main question is, is Samba a preferred option, or is it just
 more complicated than using IPP? There are a couple of brief lines about
 printing via IPP in the Gentoo Printing Guide, but a whole separate guide on
 using Samba. I can't find any information on use of IPP vs Samba via a brief
 Google, but maybe I'm just not searching very well.

 Regards,
 David
 --
 gentoo-user@lists.gentoo.org mailing list


It sounds like you need to enable guest and public access to the printer.
Here is an older guide, but it seems to have the relevant stuff you need:
http://forums.gentoo.org/viewtopic.php?t=110931

These lines:

public = yes
guest ok = yes

Check out the guide for the appropriate places to put them.

-- 
- Mark Shields


[gentoo-user] apcupsd

2008-03-17 Thread Michael George
Today I upgraded apcupsd from 3.10.18-r1 to 3.12.4.  The ebuild installs
the files differently than it did and webapp-config is used for the
install.

When the emerge is complete, the cgi files are installed into
/var/www/localhost/cgi-bin and are owned by root.  There is also a
directory /var/www/localhost/htdocs/apcupsd/, but only the webapp-config
files are in there.

When I try to access upsstats.cgi with the same path I used to use, I
get URL not found.  The HOWTO discusses the configuration as was done
in 3.10, not with webapp-config.

Where should I go for more reading to learn how to configure my apache
configs so that I can access those pages again?

Thanks!
-- 
-Michael

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



Re: [gentoo-user] Re: jffs2 on gentoo

2008-03-17 Thread Stroller


On 17 Mar 2008, at 18:10, James wrote:

...
Wear leveling is *probably* built into the IDE to CF converter
carrier board?


Almost certainly not, I'd have thought. Aren't those boards just dumb  
pin-convertors? CF cards talk IDE.


Stroller.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] apcupsd

2008-03-17 Thread Michael George
Sorry, sorry...

I just needed to point my browser to cgi-bin/multimin.cgi rather than
apcupsd/multimon.cgi...

On Mon, Mar 17, 2008 at 09:32:43PM -0400, Michael George wrote:
 Today I upgraded apcupsd from 3.10.18-r1 to 3.12.4.  The ebuild installs
 the files differently than it did and webapp-config is used for the
 install.
 
 When the emerge is complete, the cgi files are installed into
 /var/www/localhost/cgi-bin and are owned by root.  There is also a
 directory /var/www/localhost/htdocs/apcupsd/, but only the webapp-config
 files are in there.
 
 When I try to access upsstats.cgi with the same path I used to use, I
 get URL not found.  The HOWTO discusses the configuration as was done
 in 3.10, not with webapp-config.
 
 Where should I go for more reading to learn how to configure my apache
 configs so that I can access those pages again?
 
 Thanks!
 -- 
 -Michael
 
 -- 
 gentoo-user@lists.gentoo.org mailing list
 

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

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



Re: [gentoo-user] I've hosed portage

2008-03-17 Thread John J. Foster
Please !!!

This was installed in an empty VM and it would be real slow to recompile
all of Gentoo. There has to be a way to fix it.

Pointers and links greatly appreciated.

TIA,
festus

On Sun, Mar 16, 2008 at 07:22:41PM -0600, John J. Foster wrote:
 I unmasked portage-2.2_pre4 to see if it would help with the extreme
 slowness of portage updating of its cache during a sync. I had also
 previously emerged cdb to try to help with that also. Anyway, I'm not
 really sure what state my portage is in right now, except that now every
 emerge command returns
 
 [EMAIL PROTECTED] ~ $ emerge --info
 Traceback (most recent call last):
   File /usr/bin/emerge, line 31, in ?
 import emergehelp, xpak, commands, errno, re, socket, string, time, types
   File /usr/lib/portage/pym/emergehelp.py, line 7, in ?
 from portage_const import PRIVATE_PATH,PRELINK_BINARY,HASHING_BLOCKSIZE
   File /usr/lib/portage/pym/portage_const.py, line 7, in ?
 from portage_const import PRIVATE_PATH,PRELINK_BINARY,HASHING_BLOCKSIZE
 ImportError: cannot import name PRIVATE_PATH
 
 I already tried
 http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml
 but it didn't help. Me thinks I should have done a quickpkg!
 
 Any help greatly appreciated.
 
 Thanks,
 festus




pgpZZ8JiUAAAG.pgp
Description: PGP signature