Re: [gentoo-user] autossh

2009-09-09 Thread Kaushal Shriyan
On Wed, Sep 9, 2009 at 1:09 AM, Joshua Murphypoiso...@gmail.com wrote:
 On Tue, Sep 8, 2009 at 7:12 AM, Kaushal Shriyankaushalshri...@gmail.com 
 wrote:
 Hi

 I am having issue with autossh host, I get

 autossh[13221]: checking for grace period, tries = 0
 autossh[13221]: starting ssh (count 1)
 autossh[13221]: ssh child pid is 13224
 autossh[13221]: check on child 13224
 autossh[13221]: set alarm for 600 secs
 autossh[13224]: execing /usr/bin/ssh

 My Autossh setting in my .bashrc are as  below

 export AUTOSSH_GATETIME=0
 export AUTOSSH_POLL=100
 export AUTOSSH_PORT=20020
 export AUTOSSH_DEBUG=1

 When i test by disconnecting and reconnecting the internet, It takes
 10mins to prompt for a password. Can this time interval be reduced ?

 Thanks and Regards,

 Kaushal

 Where are you starting autossh from? The AUTOSSH_POLL variable in your
 .bashrc is, it would appear, being disregarded in whatever context
 autossh is starting in, otherwise you'd be seeing an up to 1 minute,
 40 second delay on reconnecting, not 10 minutes.

 --
 Poison [BLX]
 Joshua M. Murphy



Hi Joshua

I am starting autossh somehost from the same gnome-terminal tab
session where my .bashrc is located

Any further clue ?

Thanks and Regards,

Kaushal



Re: [gentoo-user] running e2fsck pre-mount

2009-09-09 Thread Alan McKinnon
On Wednesday 09 September 2009 04:37:49 Maxim Wexler wrote:
 Hi group,
 
 On an Asus netbook during boot after the line
 
 *checking all filesystems
 
 there'll be a message something like 'filesystem mounted 36 times
 without being checked. Check forced' then something like '17.1%
 non-contiguous' then a long delay. Then one of two things, either a
 message saying 'errors fixed' or a forced reboot.
 
 What does it mean 'without being checked' Does the boot process expect
 a filesystem check, in this case e2fsck? Why should their be errors. I
 shut the machine like this '#shutdown -h(or -r) now' Everything is
 unmounted and the machine turns off without a glitch that I''m aware
 of.
 
 How can I run e2fsck on the drives *before* they are mounted, if that
 is what is required here?

It's a feature of ext2. It doesn't have much in the way of internal checks 
when being used to make sure that it's structure is consistent, so the default 
setting is to force a full fsck after every X mounts or after every Y days, 
which ever comes first.

You do not want to disable it. It is your safety net and the expected 
behaviour. It is working correctly as the fs is being checked before it is 
mounted.

Read the various man pages related to ext2 for more info.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] mplayer and sound in firefox during playback

2009-09-09 Thread Alan McKinnon
On Wednesday 09 September 2009 01:49:15 Harry Putnam wrote:
 I've installed mplayer and am able to play back online vidoes like
 quicktime.   However, I get no sound.
 
 Playing the same file retrieved from browser cache, directly with
 mplayer, works with sound.
 
 What do I need to do with firefox to get the sound of videos?

wild shot in the dark here

Was firefox built with USE=alsa?

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: mplayer and sound in firefox during playback

2009-09-09 Thread Nikos Chantziaras

On 09/09/2009 10:05 AM, Alan McKinnon wrote:

On Wednesday 09 September 2009 01:49:15 Harry Putnam wrote:

I've installed mplayer and am able to play back online vidoes like
quicktime.   However, I get no sound.

Playing the same file retrieved from browser cache, directly with
mplayer, works with sound.

What do I need to do with firefox to get the sound of videos?


wild shot in the dark here

Was firefox built with USE=alsa?


Doesn't matter.  It's the plugin that plays the sound, not Firefox (I 
know because I have Firefox without the alsa USE flag and it works OK.)





Re: [gentoo-user] running e2fsck pre-mount

2009-09-09 Thread Willie Wong
On Tue, Sep 08, 2009 at 08:37:49PM -0600, Penguin Lover Maxim Wexler squawked:
 On an Asus netbook during boot after the line
 
 *checking all filesystems
 
 there'll be a message something like 'filesystem mounted 36 times
 without being checked. Check forced' then something like '17.1%
 non-contiguous' then a long delay. Then one of two things, either a
 message saying 'errors fixed' or a forced reboot.

A feature of mount and a feature of e2fs. First, from man 5 fstab

The  sixth field, (fs_passno), is used by the fsck(8) program to deter-
mine the order in which filesystem checks are done at reboot time.  The
root  filesystem  should  be specified with a fs_passno of 1, and other
filesystems should have a fs_passno of 2.  Filesystems within  a  drive
will  be checked sequentially, but filesystems on different drives will
be checked at the same time to utilize  parallelism  available  in  the
hardware.   If  the sixth field is not present or zero, a value of zero
is returned and fsck will assume that the filesystem does not  need  to
be checked.

Now you know what the last dangling number in /etc/fstab is for! For
most of my partitions, except the root one, I set it to 0. Mostly
because that my partitions are in ReiserFS. 

However, it is probably set to 0 in your case, otherwise the message
you saw wouldn't have happened. 

Next, if you look at man tune2fs, you'd see the option '-c', which
(just quoting the relevant parts)

Adjust the number of mounts after which the filesystem will be checked
by e2fsck. If [the number] is 0 or -1, the number of times the
filesystem is mounted will be disregarded by e2fsck. 

 
 What does it mean 'without being checked' Does the boot process expect
 a filesystem check, in this case e2fsck? Why should their be errors. I
 shut the machine like this '#shutdown -h(or -r) now' Everything is
 unmounted and the machine turns off without a glitch that I''m aware
 of.

More from the manpage for tune2fs:

You should strongly consider the consequences of disabling
mount-count-dependent checking entirely. Bad disk drives, cables,
memory, and kernel bugs could all corrupt a filesystem without
makrking the filesystem dirty or in error. If you are using journaling
on your filesystem, your filesystem will never be marked dirty, so it
will not normally be checked. A filesystem error detected by the
kernel will still force an fsck on the next reboot, but it may already
be too late to prevent data loss at that point. 

Basically, since you don't ask the filesystems to be checked on every
boot, to make sure your fs's are sane, ext2/3 will ask the filesystems
to be checked every X mounts (also every T period of time, see the -i
option in tune2fs for details). Like the manpage said, sh*t happens,
and it is better that you check once in a while. 

However, if every single time when the fsck is run you either reboot
or there is an error... there maybe something wrong with your
hardware. If you don't have smartd installed, you should consider it,
your data on the harddrive should be worth your time. 


W
-- 
There was a man in a nuthouse who constantly scared off all the newcomers with 
a menacing smile and the dreadful-sounding phrase, I differentiate you! I 
differentiate you!--invariably the newcomer would cower in the corner and stay
far away from the man. However, one day another man came in and confronted the 
first man. Of course, the first began yelling at the newcomer, I differentiate
you! I differentiate you! But it had no effect on the newcomer. The man yelled
I differentiate you! several times to no avail. Finally, he broke down in 
tears. Why, why?!? he asked.

The second man stated simply, I'm e^x.
Sortir en Pantoufles: up 1006 days,  7:02



Re: [gentoo-user] mp3splt-gtk, hearts and hwinfo fails to emerge

2009-09-09 Thread Dale
Arttu V. wrote:
 On 9/8/09, Paul Hartman paul.hartman+gen...@gmail.com wrote:
   
 I'm using without problems: media-sound/mp3splt-gtk-0.5.6 with
 USE=nls -audacious -gstreamer
 

 Yes, it would seem that the 0.5.6 version compiles, while 0.5.4
 (stable on amd64 and x86) won't on x86. And then there is already
 0.5.7a out since months ago:

 http://sourceforge.net/projects/mp3splt/files/

 Who likes to interact with b.g.o? =)

   

I unmasked 0.5.6 and it installed just fine.  I would assume that
version is to fix 0.5.4 since it doesn't work.  I'm not sure if doing a
bug would matter since the fix is already in the pipe.  It just may need
to be speed up a little. 

Now I am only left with hearts not working I guess.  I also notice that
KDE 4.3.1 is out and that KDE 3.5 is headed out the door.  --depclean
wanted to remove KDE 3.  :-(  A -n fixed it but my time with the old
faithful KDE 3 appears to be limited. 

Thanks much for the help.

Dale

:-)  :-)



Re: [gentoo-user] autossh

2009-09-09 Thread Willie Wong
On Wed, Sep 09, 2009 at 11:34:31AM +0530, Penguin Lover Kaushal Shriyan 
squawked:
 On Wed, Sep 9, 2009 at 1:09 AM, Joshua Murphypoiso...@gmail.com wrote:
  On Tue, Sep 8, 2009 at 7:12 AM, Kaushal Shriyankaushalshri...@gmail.com 
  wrote:
  export AUTOSSH_GATETIME=0
  export AUTOSSH_POLL=100
  export AUTOSSH_PORT=20020
  export AUTOSSH_DEBUG=1
 
  Where are you starting autossh from? The AUTOSSH_POLL variable in your
  .bashrc is, it would appear, being disregarded in whatever context
  autossh is starting in, otherwise you'd be seeing an up to 1 minute,
  40 second delay on reconnecting, not 10 minutes.
 I am starting autossh somehost from the same gnome-terminal tab
 session where my .bashrc is located
 
 Any further clue ?
 

Did you open a new gnome-terminal after editing .bashrc?

In the same terminal, what is the output when you type

env | grep AUTOSSH

?

W
-- 
Fahnestock's Rule for failure:
  If at first you don't succeed, destroy all evidence that you tried.
Sortir en Pantoufles: up 1006 days,  7:37



Re: [gentoo-user] autossh

2009-09-09 Thread Kaushal Shriyan
On Wed, Sep 9, 2009 at 2:16 PM, Willie Wongww...@math.princeton.edu wrote:
 On Wed, Sep 09, 2009 at 11:34:31AM +0530, Penguin Lover Kaushal Shriyan 
 squawked:
 On Wed, Sep 9, 2009 at 1:09 AM, Joshua Murphypoiso...@gmail.com wrote:
  On Tue, Sep 8, 2009 at 7:12 AM, Kaushal Shriyankaushalshri...@gmail.com 
  wrote:
  export AUTOSSH_GATETIME=0
  export AUTOSSH_POLL=100
  export AUTOSSH_PORT=20020
  export AUTOSSH_DEBUG=1
 
  Where are you starting autossh from? The AUTOSSH_POLL variable in your
  .bashrc is, it would appear, being disregarded in whatever context
  autossh is starting in, otherwise you'd be seeing an up to 1 minute,
  40 second delay on reconnecting, not 10 minutes.
 I am starting autossh somehost from the same gnome-terminal tab
 session where my .bashrc is located

 Any further clue ?


 Did you open a new gnome-terminal after editing .bashrc?

 In the same terminal, what is the output when you type

 env | grep AUTOSSH

 ?

 W
 --
 Fahnestock's Rule for failure:
  If at first you don't succeed, destroy all evidence that you tried.
 Sortir en Pantoufles: up 1006 days,  7:37



Hi Willie Wong

$env | grep AUTOSSH
AUTOSSH_GATETIME=0
AUTOSSH_POLL=10

I opened a new gnome-terminal

Any further clue ?

Thanks and Regards

Kaushal



[gentoo-user] Problem with emerge -uD world

2009-09-09 Thread Massimiliano Ziccardi
Hi all (sorry to bother you again!!)

I'm still in the middle of the process of updating to KDE4

Now the update blocks with and svn error:

 *  The die message:
 *   subversion: can't fetch to
/usr/portage/distfiles/svn-src/eselect-python/trunk from
https://overlays.gentoo.org/svn/proj/python/projects/eselect-python/trunk.

I've configured the proxy setting both http_proxy and https_proxy.

Do I have to configure something else?

Usually emerge has always worked, so I thing it's an SVN problem,
however, through the browser, I successfully connect to the site...


Any idea?

Thanks a lot,
Massimiliano



Re: [gentoo-user] Problem with emerge -uD world

2009-09-09 Thread Alan McKinnon
On Wednesday 09 September 2009 11:22:31 Massimiliano Ziccardi wrote:
 Hi all (sorry to bother you again!!)
 
 I'm still in the middle of the process of updating to KDE4
 
 Now the update blocks with and svn error:
 
  *  The die message:
  *   subversion: can't fetch to
 /usr/portage/distfiles/svn-src/eselect-python/trunk from
 https://overlays.gentoo.org/svn/proj/python/projects/eselect-python/trunk.
 
 I've configured the proxy setting both http_proxy and https_proxy.
 
 Do I have to configure something else?
 
 Usually emerge has always worked, so I thing it's an SVN problem,
 however, through the browser, I successfully connect to the site...

From your log of yesterday:


[nomerge  ] kde-base/plasma-workspace-4.3.1  USE=handbook python (-aqua) 
-debug -google-gadgets (-kdeprefix) -rss -xinerama 
[ebuild  N]  dev-python/sip-4.8.2  USE=-debug -doc 601 kB
[ebuild U ]   app-admin/eselect-python- [20090606] 0 kB


Do you really really want the latest bleeding edge eselect-python from svn?

You will have an entry in package.keywords or maybe package.unmask causing 
this. Remove those entries.

Even better, put -python in USE and enable it only for those packages where 
you know you want it. Python-based plugins in KDE cause no end of build issues 
and are seldom needed.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Problem with emerge -uD world

2009-09-09 Thread Massimiliano Ziccardi
Thanks!

I removed it and now it works... however, I think autounmask added it (I
never did : I swear! :-) )

I thought however that 999 was a strange version number :-)
Thanks,
Massimiliano


On Wed, Sep 9, 2009 at 11:56 AM, Alan McKinnon alan.mckin...@gmail.comwrote:

 On Wednesday 09 September 2009 11:22:31 Massimiliano Ziccardi wrote:
  Hi all (sorry to bother you again!!)
 
  I'm still in the middle of the process of updating to KDE4
 
  Now the update blocks with and svn error:
 
   *  The die message:
   *   subversion: can't fetch to
  /usr/portage/distfiles/svn-src/eselect-python/trunk from
 
 https://overlays.gentoo.org/svn/proj/python/projects/eselect-python/trunk.
 
  I've configured the proxy setting both http_proxy and https_proxy.
 
  Do I have to configure something else?
 
  Usually emerge has always worked, so I thing it's an SVN problem,
  however, through the browser, I successfully connect to the site...

 From your log of yesterday:


 [nomerge  ] kde-base/plasma-workspace-4.3.1  USE=handbook python
 (-aqua)
 -debug -google-gadgets (-kdeprefix) -rss -xinerama
 [ebuild  N]  dev-python/sip-4.8.2  USE=-debug -doc 601 kB
 [ebuild U ]   app-admin/eselect-python- [20090606] 0 kB


 Do you really really want the latest bleeding edge eselect-python from svn?

 You will have an entry in package.keywords or maybe package.unmask causing
 this. Remove those entries.

 Even better, put -python in USE and enable it only for those packages where
 you know you want it. Python-based plugins in KDE cause no end of build
 issues
 and are seldom needed.

 --
 alan dot mckinnon at gmail dot com



Re: [gentoo-user] Luks: Which cipher to use

2009-09-09 Thread Mike Kazantsev
On Tue, 8 Sep 2009 11:21:12 +0200
Marco listwo...@gmail.com wrote:

 I am about to encrypt my external hard drive. I found the howtos
 http://de.gentoo-wiki.com/wiki/DM-Crypt and
 http://de.gentoo-wiki.com/wiki/DM-Crypt/Daten-Partition_verschl%C3%BCsseln
 (sorry, German...). They give a good understanding of how to do the
 stuff, but I am unsure about which cipher to use. LRW is considered
 insecure in some cases so thus it should be replaced by XTS which is
 experimental though... Furthermore, if using XTS is used, there is
 different options like xts-plain, xts-benbi, xts-essiv:sha256. Which
 option is preferable? What about the key size? Is there any relation
 between key size and block size of the file system in terms of data
 security?


I might be wrong here, since I'm not a crypto expert, so feel free to
correct, but here's how I see it...


From dm-crypt.c:

  Different IV generation algorithms:
  
  plain: the initial vector is the 32-bit little-endian version of the sector
 number, padded with zeros if neccessary.
  
  essiv: encrypted sector|salt initial vector, the sector number is
 encrypted with the bulk cipher using a salt as key. The salt
 should be derived from the bulk cipher's key via hashing.
  
  benbi: the 64-bit big-endian 'narrow block'-count, starting at 1
 (needed for LRW-32-AES and possible other narrow block modes)
  
  null: the initial vector is always zero.  Provides compatibility with
obsolete loop_fish2 devices.  Do not use for new devices.

IV (Initialization Vector) is just a piece of random data to mix with
stuff-to-encrypt for a disk block, so two blocks, encrypted by the same
key won't look the same. Obviously, you need to know it to get the data
back.
Some sort of salt for a stream ciphers, but it doesn't get recorded
anywhere, being calculated on-the-fly by one of the above methods.

Note that 'always zero' approach would produce unsalted data, so not
only the blocks can be identified, but also swapped - root-owned data
can be pushed into some /tmp file (say, at night), which will be
accessible by some malicious code after you'll enter the key.

Plain and benbi seem to be simple counters, second one is probably just
a multiple of the first, counting cipher blocks instead of disk blocks.
These rule out the former case, but allow to write similar blocks of
data, which can later be easily found on disk, especially if the length
of data between them is known, since IV is absolutely predictable.

ESSIV, on the other hand, uses the hash of these counters with the key
itself to salt IV, so it seem to rule out all the aforementioned
vulnerabilities. Hash strength here ensures that it can't be turned
into former 'plain counters' case due to hash collision.


XTS/LRW/CBC/... are methods to encrypt the single data block to a disk
block. Since data is read in blocks, block also seem to be the atomic
unit of data encryption - everything is en-/decrypted in whole blocks
when read/written from/to disk.

These methods further divide the disk block into a smaller units to
ensure that there won't be a (similar to the above) case when two
similar, say, 16-byte pieces in a single 512k disk block would look
identical, otherwise some data with such watermarks can be generated
and proven to be on this disk - whole blocks can be marked with them,
so they can later be found, along with any known data between them.

They also mix the key with some generated salt for these units.
CBC relies on plain data, so it can be broken by crafted data. LRW also
seem to suffer from some known vulnerabilities, so XTS seem to be the
best and recommended one.


And the first part of some definition like serpent-lrw-benbi is a
cipher itself - the method of mixing the key with data, so they can't
be easily separated.
There are plenty of cipher benchmarks out there (openssl has one
built-in) and the vulnerabilities are quite known.

Rijndael, known as AES, being the standard, is very fast, but is a
subject to all sort of scrutiny.
Last thing I heard is that AES-256 is actually easier to break (although
it hasn't gone that far) than AES-128, but that stuff can be easily
found on a regular newsfeeds.


-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT] Off site storage solution

2009-09-09 Thread Mike Kazantsev
On Tue, 8 Sep 2009 14:17:51 +0200
Momesso Andrea momesso.and...@gmail.com wrote:

 If I set up a script to keep in sync my local storage and the amazon
 one, the user will be able to reduce the costs (only download from
 amazon when really needed), and will not have to bother learning a new
 interface.

Note that there are several backup utils that support S3 storage
specifically, take a look at that:

  grep '^app-backup.*:s3' /usr/portage/profiles/use.local.desc

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT] Off site storage solution

2009-09-09 Thread Mike Kazantsev
On Tue, 8 Sep 2009 11:12:27 +0200
Momesso Andrea momesso.and...@gmail.com wrote:

 Is anyone aware of a off site storage solution that could satisfay my
 needs?

Aside from S3, there's also ADrive (adrive.com), which allows access
via ftp and webdav and (unlike S3) doesn't charge for bandwidth.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


[gentoo-user] Re: Where are the following LVS kernel modules

2009-09-09 Thread walt

On 09/08/2009 08:14 PM, Nick Khamis wrote:

I have included in my kenrel configuration the following:
M IP virtual server support
 - [*] TCP load balancing
 - [*] UDP load balancing


I have added to /etc/modules.autoload.d/kernel-2.6 the follwing

#lvs
ip_vs
ip_vs_rr
ip_vs_wrr
ip_vs_lc
ip_vs_wlc
ip_vs_lblc
ip_vs_lblcr
ip_vs_dh
ip_vs_sh
ip_vs_sed
ip_vs_nq
ip_vs_ftp

When I modprobe any of them I recieve module not found.


Normally the 'make install modules_install' step runs depmod automatically,
but if you install your kernel some other way maybe depmod is omitted.

Anyway, try running depmod from a command prompt and see what happens.




[gentoo-user] --depclean and python needed by scribus.

2009-09-09 Thread Dale
Hi folks,

Can someone tell me what this means? 

r...@smoker / # emerge -p --depclean

 * Always study the list of packages to be cleaned for any obvious
 * mistakes. Packages that are part of the world set will always
 * be kept.  They can be manually added to this set with
 * `emerge --noreplace atom`.  Packages that are listed in
 * package.provided (see portage(5)) will be removed by
 * depclean, even if they are part of the world set.
 *
 * As a safety measure, depclean will not remove any packages
 * unless *all* required dependencies have been resolved.  As a
 * consequence, it is often necessary to run `emerge --update
 * --newuse --deep @system @world` prior to depclean.

Calculating dependencies... done!
 Checking for lib consumers...
 Assigning files to packages...
 * In order to avoid breakage of link level dependencies, one or more
 * packages will not be removed. This can be solved by rebuilding the
 * packages that pulled them in.
 *
 *   dev-lang/python-2.5.4-r3 pulled in by:
 * app-office/scribus-1.3.3.11
 *
 Adding lib providers to graph...
 \
Calculating dependencies... done!


I have re-compiled scribus about three times now.  I have also ran
python-updater a few times and it just keeps rebuilding scribus and
boost in a endless loop.  What am I missing here?

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] autossh

2009-09-09 Thread Willie Wong
On Wed, Sep 09, 2009 at 02:38:21PM +0530, Penguin Lover Kaushal Shriyan 
squawked:
 $env | grep AUTOSSH
 AUTOSSH_GATETIME=0
 AUTOSSH_POLL=10
 
 I opened a new gnome-terminal
 
 Any further clue ?

Okay, try running autossh with the environment variable specified on
the commandline, aka

AUTOSSH_POLL=100 autossh

and check the logs to see whether it reacted to that request. If not,
run

which autossh

and 

file `which autossh`

and post the output. 

W
-- 
Have you heard about Ron Howard's new movie? The travel
documentary about northern Europe?  It's called Mr. Opie's Holland.
Sortir en Pantoufles: up 1006 days, 10:39



[gentoo-user] Catch all mailbox

2009-09-09 Thread J. Roeleveld
Hi All,

I know this is probably off-topic, but I'm hopefull someone on this list knows 
how to do this.

My current situation:
Postfix gets an email delivered for user X
Postfix passes this to cyrus (lmtp-transport)
if user X does not exist within cyrus, the email gets bounced.

I would like this bounced email to be delivered to a seperate cyrus email 
folder.

I tried to find the answer on google, but all the solutions I found either only 
work with the postfix local delivery agent (eg. not compatible with cyrus) or 
requires a list to be maintained using all the known email-boxes.

I prefer a fall-back solution where an email directed at a user not listed in 
either the alias table (stored in ldap) or not known to cyrus is redirected to 
a specific cyrus mailbox.

Many thanks,

Joost Roeleveld



Re: [gentoo-user] [OT] Off site storage solution

2009-09-09 Thread TopperH


Quoting Mike Kazantsev mk.frag...@gmail.com:


On Tue, 8 Sep 2009 11:12:27 +0200
Momesso Andrea momesso.and...@gmail.com wrote:


Is anyone aware of a off site storage solution that could satisfay my
needs?


Aside from S3, there's also ADrive (adrive.com), which allows access
via ftp and webdav and (unlike S3) doesn't charge for bandwidth.



Thank you very much... This service also allows me to try it for free before
and write a review for the user.


--
TopperH
BLOG: [http://topperh.blogspot.com]
TWITTER: [http://twitter.com/TopperH]
JABBER: [topper_har...@jabber.org]
IRC: [TopperH on freenode and oftc]
LAST.FM: [http://www.last.fm/user/topper_harley]


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





Re: [gentoo-user] Re: Where are the following LVS kernel modules

2009-09-09 Thread Nick Khamis
How I recompile the kernel is select the module that I need

M IP virtual server support
 - [*] TCP load balancing
 - [*] UDP load balancing

 then do a make followed by a make modules_install.

ip_vs is in my list of modules (the only ip_vs*) and does not return an
error when I modprobe it but these are not there:

#lvs
ip_vs
ip_vs_rr
ip_vs_wrr
ip_vs_lc
ip_vs_wlc
ip_vs_lblc
ip_vs_lblcr
ip_vs_dh
ip_vs_sh
ip_vs_sed
ip_vs_nq
ip_vs_ftp


I am using kernel 2.6.30r5

Thanks for you Help,
Ninus.


Re: [gentoo-user] Catch all mailbox

2009-09-09 Thread Xavier Parizet
J. Roeleveld a écrit :
 Hi All,
 
 I know this is probably off-topic, but I'm hopefull someone on this list 
 knows 
 how to do this.
 
 My current situation:
 Postfix gets an email delivered for user X
 Postfix passes this to cyrus (lmtp-transport)
 if user X does not exist within cyrus, the email gets bounced.
 
 I would like this bounced email to be delivered to a seperate cyrus email 
 folder.
 
 I tried to find the answer on google, but all the solutions I found either 
 only 
 work with the postfix local delivery agent (eg. not compatible with cyrus) or 
 requires a list to be maintained using all the known email-boxes.
 
 I prefer a fall-back solution where an email directed at a user not listed in 
 either the alias table (stored in ldap) or not known to cyrus is redirected 
 to 
 a specific cyrus mailbox.

A solution could be doing a catch-all alias (see [1]) :
if your domain is example.com, then add an alias mapping @example.com to
oneaddr...@example.com either using virtual alias or /etc/postfix/aliases .

HTH.

[1] http://www.postfix.org/VIRTUAL_README.html

 Many thanks,
 
 Joost Roeleveld

-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Catch all mailbox

2009-09-09 Thread Neil Bothwick
On Wed, 9 Sep 2009 13:54:33 +0200, J. Roeleveld wrote:

 if user X does not exist within cyrus, the email gets bounced.
 
 I would like this bounced email to be delivered to a seperate cyrus
 email folder.

Set luser_relay in /etc/postfix/main.cf. You need to create a valid user
for it to point to, then all mail for non-existent users will go to that
mailbox.


-- 
Neil Bothwick

Physics is like sex: sure, it may give some practical results, but
  that's not why we do it.Richard Feynman


signature.asc
Description: PGP signature


Re: [gentoo-user] --depclean and python needed by scribus.

2009-09-09 Thread Alan McKinnon
On Wednesday 09 September 2009 13:43:13 Dale wrote:
 Hi folks,
 
 Can someone tell me what this means?
 
 r...@smoker / # emerge -p --depclean
 
  * Always study the list of packages to be cleaned for any obvious
  * mistakes. Packages that are part of the world set will always
  * be kept.  They can be manually added to this set with
  * `emerge --noreplace atom`.  Packages that are listed in
  * package.provided (see portage(5)) will be removed by
  * depclean, even if they are part of the world set.
  *
  * As a safety measure, depclean will not remove any packages
  * unless *all* required dependencies have been resolved.  As a
  * consequence, it is often necessary to run `emerge --update
  * --newuse --deep @system @world` prior to depclean.
 
 Calculating dependencies... done!
 
  Checking for lib consumers...
  Assigning files to packages...
 
  * In order to avoid breakage of link level dependencies, one or more
  * packages will not be removed. This can be solved by rebuilding the
  * packages that pulled them in.
  *
  *   dev-lang/python-2.5.4-r3 pulled in by:
  * app-office/scribus-1.3.3.11
  *
 
  Adding lib providers to graph...
 
  \
 Calculating dependencies... done!
 
 
 I have re-compiled scribus about three times now.  I have also ran
 python-updater a few times and it just keeps rebuilding scribus and
 boost in a endless loop.  What am I missing here?

This is horrible to solve. I'll tell you what I've discovered when it happens 
to me. But first, the error message is generic and a best guess - rebuilding 
the packages that pulled them in might work, but also might not.

The superficial problem is broken ebuilds caused by the real problem - broken 
build scripts that configure themselves in funky ways at build time. Real 
example, I have this on my machine:

*   dev-db/edb- pulled in by:
* media-libs/imlib2_loaders-

and

nazgul mysql # eix imlib2_loaders
[I] media-libs/imlib2_loaders [1]
 Installed versions:  (18:33:40 09/06/09)(-doc -edb -nls)

and 

# ldd /usr/lib64/imlib2/loaders/*.so | grep edb
libedb.so.1 = /usr/lib/libedb.so.1 (0x7f33bf139000)

So, edb is nowhere in the dependency graph for imlib2_loaders (USE=-edb). 
Portage *knows* it should not depend on edb at all.

But, when imlib2_loaders builds, ./configure finds edb on the system (I have 
it, I just don't want support for it in imlib2_loaders). The ./configure is 
broken - there is no --enable edb in it.

Now this always just happened to work just fine for all of us. Recent portage 
know records link level deps when it builds stuff (see ldd above) so now 
concludes (correctly) that imlib2_loaders does not depend on edb per portage, 
but does per the actual system.

It is now clear that I now have two and only two options:

- Unmerge edb. This might not be desirable and I should not be forced to do 
this.
- Build imlib2_loaders with edb support. This also might not be desirable.

Actually there's a third option: fix the e17 team's broken build scripts.

In your case, I think you need to rebuild scribus with USE=python

Note that portage can't really help you diagnose these issues, it can only 
point them out. It has no idea that the inconsistency is due to that USE flag 
(it can't read human-speak).

You also can't DEPEND on scribus[python] as

1. The dep is the wrong way round
2. It's actually force USE=python for scribus if, and only if, python is 
actually already present on the system. This is also the wrong way round and 
portage should not be expected to implement funky run-time detection 
workarounds for broken ./configure scripts.

I did tell you at the beginning that it was complex, right?


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] --depclean and python needed by scribus.

2009-09-09 Thread Mark Knecht
On Wed, Sep 9, 2009 at 4:43 AM, Dale rdalek1...@gmail.com wrote:
 Hi folks,

 Can someone tell me what this means?

 r...@smoker / # emerge -p --depclean

  * Always study the list of packages to be cleaned for any obvious
  * mistakes. Packages that are part of the world set will always
  * be kept.  They can be manually added to this set with
  * `emerge --noreplace atom`.  Packages that are listed in
  * package.provided (see portage(5)) will be removed by
  * depclean, even if they are part of the world set.
  *
  * As a safety measure, depclean will not remove any packages
  * unless *all* required dependencies have been resolved.  As a
  * consequence, it is often necessary to run `emerge --update
  * --newuse --deep @system @world` prior to depclean.

 Calculating dependencies... done!
 Checking for lib consumers...
 Assigning files to packages...
  * In order to avoid breakage of link level dependencies, one or more
  * packages will not be removed. This can be solved by rebuilding the
  * packages that pulled them in.
  *
  *   dev-lang/python-2.5.4-r3 pulled in by:
  *     app-office/scribus-1.3.3.11
  *
 Adding lib providers to graph...
  \
 Calculating dependencies... done!


 I have re-compiled scribus about three times now.  I have also ran
 python-updater a few times and it just keeps rebuilding scribus and
 boost in a endless loop.  What am I missing here?

 Thanks.

 Dale

 :-)  :-)



Possibly scribus isn't compatible with python-2.6? The few times I've
run into this with depclean I've removed the app (scribus in this
case) cleaned up the machine with depclean and revdep-rebuild, and
then reinstalled the app from scratch. If it tries to pull in
phython-2.5 then you just have to make a choice whether you want it or
not. (Or look for a mased ebuild, etc.

- Mark



Re: [gentoo-user] Catch all mailbox

2009-09-09 Thread J. Roeleveld
On Wednesday 09 September 2009 14:26:50 Neil Bothwick wrote:
 On Wed, 9 Sep 2009 13:54:33 +0200, J. Roeleveld wrote:
  if user X does not exist within cyrus, the email gets bounced.
 
  I would like this bounced email to be delivered to a seperate cyrus
  email folder.

 Set luser_relay in /etc/postfix/main.cf. You need to create a valid user
 for it to point to, then all mail for non-existent users will go to that
 mailbox.

This does not work, luser_relay only works with the local delivery agent.
When using Cyrus, this has been changed to the cyrus lmtp delivery agent.

--
Joost



Re: [gentoo-user] Problem with emerge -uD world

2009-09-09 Thread Alan McKinnon
On Wednesday 09 September 2009 12:02:39 Massimiliano Ziccardi wrote:
 Thanks!
 
 I removed it and now it works... however, I think autounmask added it (I
^^

I do not, have never, and likely will never, trust this beast.

vi + eyeballs is my preferred tool :-)

 never did : I swear! :-) )
 
 I thought however that 999 was a strange version number :-)
 Thanks,
 Massimiliano

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Catch all mailbox

2009-09-09 Thread J. Roeleveld
On Wednesday 09 September 2009 14:19:45 Xavier Parizet wrote:
 J. Roeleveld a écrit :
  Hi All,
 
  I know this is probably off-topic, but I'm hopefull someone on this list
  knows how to do this.
 
  My current situation:
  Postfix gets an email delivered for user X
  Postfix passes this to cyrus (lmtp-transport)
  if user X does not exist within cyrus, the email gets bounced.
 
  I would like this bounced email to be delivered to a seperate cyrus email
  folder.
 
  I tried to find the answer on google, but all the solutions I found
  either only work with the postfix local delivery agent (eg. not
  compatible with cyrus) or requires a list to be maintained using all the
  known email-boxes.
 
  I prefer a fall-back solution where an email directed at a user not
  listed in either the alias table (stored in ldap) or not known to cyrus
  is redirected to a specific cyrus mailbox.

 A solution could be doing a catch-all alias (see [1]) :
 if your domain is example.com, then add an alias mapping @example.com to
 oneaddr...@example.com either using virtual alias or /etc/postfix/aliases .

 HTH.

 [1] http://www.postfix.org/VIRTUAL_README.html

I did notice this option, but it would require me to duplicate the alias table 
into a alias file. I tried setting a @domain entry in my ldap-tree, but 
this did not work.

Thanks,

Joost



Re: [gentoo-user] autossh

2009-09-09 Thread Kaushal Shriyan
On Wed, Sep 9, 2009 at 5:21 PM, Willie Wongww...@math.princeton.edu wrote:
 On Wed, Sep 09, 2009 at 02:38:21PM +0530, Penguin Lover Kaushal Shriyan 
 squawked:
 $env | grep AUTOSSH
 AUTOSSH_GATETIME=0
 AUTOSSH_POLL=10

 I opened a new gnome-terminal

 Any further clue ?

 Okay, try running autossh with the environment variable specified on
 the commandline, aka

 AUTOSSH_POLL=100 autossh

 and check the logs to see whether it reacted to that request. If not,
 run

 which autossh

 and

 file `which autossh`

 and post the output.

 W
 --
 Have you heard about Ron Howard's new movie? The travel
 documentary about northern Europe?      It's called Mr. Opie's Holland.
 Sortir en Pantoufles: up 1006 days, 10:39


Hi

$ AUTOSSH_POLL=100 autossh hostxxx
autossh[16050]: checking for grace period, tries = 0
autossh[16050]: starting ssh (count 1)
autossh[16053]: execing /usr/bin/ssh
autossh[16050]: ssh child pid is 16053
autossh[16050]: check on child 16053
autossh[16050]: set alarm for 600 secs
^Cautossh[16050]: received signal to exit (2)
$ which autossh
/usr/bin/autossh
$

Thanks and Regards

Kaushal



Re: [gentoo-user] --depclean and python needed by scribus.

2009-09-09 Thread Dale
Mark Knecht wrote:
 On Wed, Sep 9, 2009 at 4:43 AM, Dale rdalek1...@gmail.com wrote:
   
 Hi folks,

 Can someone tell me what this means?

 r...@smoker / # emerge -p --depclean

  * Always study the list of packages to be cleaned for any obvious
  * mistakes. Packages that are part of the world set will always
  * be kept.  They can be manually added to this set with
  * `emerge --noreplace atom`.  Packages that are listed in
  * package.provided (see portage(5)) will be removed by
  * depclean, even if they are part of the world set.
  *
  * As a safety measure, depclean will not remove any packages
  * unless *all* required dependencies have been resolved.  As a
  * consequence, it is often necessary to run `emerge --update
  * --newuse --deep @system @world` prior to depclean.

 Calculating dependencies... done!
 
 Checking for lib consumers...
 Assigning files to packages...
   
  * In order to avoid breakage of link level dependencies, one or more
  * packages will not be removed. This can be solved by rebuilding the
  * packages that pulled them in.
  *
  *   dev-lang/python-2.5.4-r3 pulled in by:
  * app-office/scribus-1.3.3.11
  *
 
 Adding lib providers to graph...
   
  \
 Calculating dependencies... done!


 I have re-compiled scribus about three times now.  I have also ran
 python-updater a few times and it just keeps rebuilding scribus and
 boost in a endless loop.  What am I missing here?

 Thanks.

 Dale

 :-)  :-)


 

 Possibly scribus isn't compatible with python-2.6? The few times I've
 run into this with depclean I've removed the app (scribus in this
 case) cleaned up the machine with depclean and revdep-rebuild, and
 then reinstalled the app from scratch. If it tries to pull in
 phython-2.5 then you just have to make a choice whether you want it or
 not. (Or look for a mased ebuild, etc.

 - Mark


   

LOL  Since I would rather try to remove Scribus than python, I'll remove
Scribus, do some cleaning, then reinstall and see what happens.  We all
know what could happen if I remove python that portage is using.  o_O

I'll report back if it continues after all this.  Thanks to both Alan
and Mark on this one.  I was getting drunk going around in circles with
this. 

Dale

:-)  :-) 



Re: [gentoo-user] Catch all mailbox

2009-09-09 Thread Xavier Parizet
J. Roeleveld a écrit :
 On Wednesday 09 September 2009 14:19:45 Xavier Parizet wrote:
 J. Roeleveld a écrit :
 Hi All,

 I know this is probably off-topic, but I'm hopefull someone on this list
 knows how to do this.

 My current situation:
 Postfix gets an email delivered for user X
 Postfix passes this to cyrus (lmtp-transport)
 if user X does not exist within cyrus, the email gets bounced.

 I would like this bounced email to be delivered to a seperate cyrus email
 folder.

 I tried to find the answer on google, but all the solutions I found
 either only work with the postfix local delivery agent (eg. not
 compatible with cyrus) or requires a list to be maintained using all the
 known email-boxes.

 I prefer a fall-back solution where an email directed at a user not
 listed in either the alias table (stored in ldap) or not known to cyrus
 is redirected to a specific cyrus mailbox.
 A solution could be doing a catch-all alias (see [1]) :
 if your domain is example.com, then add an alias mapping @example.com to
 oneaddr...@example.com either using virtual alias or /etc/postfix/aliases .

 HTH.

 [1] http://www.postfix.org/VIRTUAL_README.html
 
 I did notice this option, but it would require me to duplicate the alias 
 table 
 into a alias file. I tried setting a @domain entry in my ldap-tree, but 
 this did not work.

If you use LDAP as a virtual backend, then [1] will then be a better place to
look. Setting mailacceptinggeneralid ldap attribute to @domain seems to be the
solution (if you use standard LDAP scheme).

HTH.

[1] http://www.postfix.org/LDAP_README.html#example_virtual

 Thanks,
 
 Joost

-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] --depclean and python needed by scribus.

2009-09-09 Thread Alan McKinnon
On Wednesday 09 September 2009 14:45:36 Dale wrote:
 I'll report back if it continues after all this.  Thanks to both Alan
 and Mark on this one.  I was getting drunk going around in circles with
 this. 
 

Let us know if USE=python really is the solution. I've been meaning to write 
this up at b.g.o. for a while now

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] --depclean and python needed by scribus.

2009-09-09 Thread Mark Knecht
On Wed, Sep 9, 2009 at 5:45 AM, Dale rdalek1...@gmail.com wrote:
 Mark Knecht wrote:
 On Wed, Sep 9, 2009 at 4:43 AM, Dale rdalek1...@gmail.com wrote:

 Hi folks,

 Can someone tell me what this means?

 r...@smoker / # emerge -p --depclean

  * Always study the list of packages to be cleaned for any obvious
  * mistakes. Packages that are part of the world set will always
  * be kept.  They can be manually added to this set with
  * `emerge --noreplace atom`.  Packages that are listed in
  * package.provided (see portage(5)) will be removed by
  * depclean, even if they are part of the world set.
  *
  * As a safety measure, depclean will not remove any packages
  * unless *all* required dependencies have been resolved.  As a
  * consequence, it is often necessary to run `emerge --update
  * --newuse --deep @system @world` prior to depclean.

 Calculating dependencies... done!

 Checking for lib consumers...
 Assigning files to packages...

  * In order to avoid breakage of link level dependencies, one or more
  * packages will not be removed. This can be solved by rebuilding the
  * packages that pulled them in.
  *
  *   dev-lang/python-2.5.4-r3 pulled in by:
  *     app-office/scribus-1.3.3.11
  *

 Adding lib providers to graph...

  \
 Calculating dependencies... done!


 I have re-compiled scribus about three times now.  I have also ran
 python-updater a few times and it just keeps rebuilding scribus and
 boost in a endless loop.  What am I missing here?

 Thanks.

 Dale

 :-)  :-)




 Possibly scribus isn't compatible with python-2.6? The few times I've
 run into this with depclean I've removed the app (scribus in this
 case) cleaned up the machine with depclean and revdep-rebuild, and
 then reinstalled the app from scratch. If it tries to pull in
 phython-2.5 then you just have to make a choice whether you want it or
 not. (Or look for a mased ebuild, etc.

 - Mark




 LOL  Since I would rather try to remove Scribus than python, I'll remove
 Scribus, do some cleaning, then reinstall and see what happens.  We all
 know what could happen if I remove python that portage is using.  o_O

 I'll report back if it continues after all this.  Thanks to both Alan
 and Mark on this one.  I was getting drunk going around in circles with
 this.

 Dale

 :-)  :-)



I assume you've installed python-2.6 as part of emerge @system or
@world and then run python-updater? That process has worked on my
machines but I don't use too many office apps.

Good luck!

Cheers,
Mark



Re: [gentoo-user] Luks: Which cipher to use

2009-09-09 Thread Marco
Hi Mike,

Thanks for your very detailed description and explanation!

On Wed, Sep 9, 2009 at 12:30 PM, Mike Kazantsevmk.frag...@gmail.com wrote:
 On Tue, 8 Sep 2009 11:21:12 +0200
 Marco listwo...@gmail.com wrote:

[...]

 ESSIV, on the other hand, uses the hash of these counters with the key
 itself to salt IV, so it seem to rule out all the aforementioned
 vulnerabilities. Hash strength here ensures that it can't be turned
 into former 'plain counters' case due to hash collision.


 XTS/LRW/CBC/... are methods to encrypt the single data block to a disk
 block. Since data is read in blocks, block also seem to be the atomic
 unit of data encryption - everything is en-/decrypted in whole blocks
 when read/written from/to disk.

 These methods further divide the disk block into a smaller units to
 ensure that there won't be a (similar to the above) case when two
 similar, say, 16-byte pieces in a single 512k disk block would look
 identical, otherwise some data with such watermarks can be generated
 and proven to be on this disk - whole blocks can be marked with them,
 so they can later be found, along with any known data between them.

 They also mix the key with some generated salt for these units.
 CBC relies on plain data, so it can be broken by crafted data. LRW also
 seem to suffer from some known vulnerabilities, so XTS seem to be the
 best and recommended one.

So I think I'll go with xts-essiv:sha256. In terms of performance, a
keylength of 256 might not be ideal. But since this external drive is
mainly thought as a backup device,this is not too much of a drawback.

--
Best regards,
 Marco



Re: [gentoo-user] Problem with emerge -uD world

2009-09-09 Thread Dale
Alan McKinnon wrote:
 On Wednesday 09 September 2009 12:02:39 Massimiliano Ziccardi wrote:
   
 Thanks!

 I removed it and now it works... however, I think autounmask added it (I
 
 ^^

 I do not, have never, and likely will never, trust this beast.

 vi + eyeballs is my preferred tool :-)

   
 never did : I swear! :-) )

 I thought however that 999 was a strange version number :-)
 Thanks,
 Massimiliano
 

   

vi ?  LOL  I have used autounmask and so far it has not broke anything. 
I also like the way it separates what it adds from what was already
there.  It puts little separators in there so you can easily remove the
lines it added.  I use Kwrite to edit files, nano if I am between a rock
and a hard place. 

Each his own tho.  :-D

Dale

:-)  :-) 



[gentoo-user] Portage doesn't notice all networkmanager dependencies for rebuild

2009-09-09 Thread daid kahl
Hello,

I was upgrading (or downgrading technically) from ~x86 to x86.  So I
didn't update or sync for about 6 months, and then with a few exceptions for
~x86 in /etc/portage/package.keywords I was able to get to stable after
emerging ~384 packages.  This is not a highly recommended process, but it's
one of two ways to get from unstable back to stable, and generally speaking
things went just fine.

However, networkmanager was never rebuilt by portage, and I found it was not
working quite right after the updates.  The nm-applet (and other wireless
probes) could see networks, locate access points, and request WEP  WPA keys
and so on, but an IP address was never issued, and it just keeps asking for
the password.  I tried some hacks and fixes, but I can confirm all I needed
to do was rebuild networkmanager.

Given that I updated so many packages, it's very difficult for me to file a
useful bug report on it.  I do have a backup of the entire system prior to
the update, but it's honestly not worth it to me to keep switching between
backup and building packages trying to see which build networkmanager
depends on that doesn't catch the necessity to rebuild networkmanager
(especially since my system was running unstable code from 6 months ago, and
the culprit package may already be fixed).

So, I just wanted to toss this observation somewhere.  If you use
networkmanager and have wireless problems after an update, try rebuilding as
a first solution!

If anyone is just dying to know what package upgrade(s) breaks
networkmanager, I can consider spending some time on the issue with my
backups, but it seems like a very small point for so much effort.

Regards,
daid


Re: [gentoo-user] Problem with emerge -uD world

2009-09-09 Thread Neil Bothwick
On Wed, 09 Sep 2009 08:04:27 -0500, Dale wrote:

  I do not, have never, and likely will never, trust this beast.
 
  vi + eyeballs is my preferred tool :-)

You're not supposed to trust it. It gives a starting point for ${EDITOR}
and eyeballs.

 vi ?  LOL  I have used autounmask and so far it has not broke anything. 
 I also like the way it separates what it adds from what was already
 there.  It puts little separators in there so you can easily remove the
 lines it added.

If /etc/portage/packages.{unmask,keywords} are directories, it puts its
entries in a separate file, which is even easier to work with.


-- 
Neil Bothwick

A friend in need may turn out to be a nuisance.


signature.asc
Description: PGP signature


Re: [gentoo-user] --depclean and python needed by scribus.

2009-09-09 Thread Dale
Mark Knecht wrote:
 On Wed, Sep 9, 2009 at 5:45 AM, Dale rdalek1...@gmail.com wrote:
   
 Mark Knecht wrote:
 

 Possibly scribus isn't compatible with python-2.6? The few times I've
 run into this with depclean I've removed the app (scribus in this
 case) cleaned up the machine with depclean and revdep-rebuild, and
 then reinstalled the app from scratch. If it tries to pull in
 phython-2.5 then you just have to make a choice whether you want it or
 not. (Or look for a mased ebuild, etc.

 - Mark



   
 LOL  Since I would rather try to remove Scribus than python, I'll remove
 Scribus, do some cleaning, then reinstall and see what happens.  We all
 know what could happen if I remove python that portage is using.  o_O

 I'll report back if it continues after all this.  Thanks to both Alan
 and Mark on this one.  I was getting drunk going around in circles with
 this.

 Dale

 :-)  :-)


 

 I assume you've installed python-2.6 as part of emerge @system or
 @world and then run python-updater? That process has worked on my
 machines but I don't use too many office apps.

 Good luck!

 Cheers,
 Mark


   

Yes, I ran python-updater after the last python upgrade which was a week
or so ago.  I just hadn't ran --depclean yet.  Needless to say, OOo just
had to be recompiled too.  It always does.  Usually, about a week later,
they have a upgrade for OOo which means I get to warm up my CPU again. 
Never fails.  :/

So far, I have unmerged scribus, ran revdep-rebuild which didn't
complain about anything this time and I am currently reinstalling
scribus.  No errors so far.

I didn't get to test the python USE flag tho.  According to emerge -pv
scribus, it doesn't have that flag. 

Dale

:-)  :-) 



Re: [gentoo-user] Problem with emerge -uD world

2009-09-09 Thread Massimiliano Ziccardi
Well..
as a gentoo newbie, I can say autounmask made my life much easier.

Of course the error has been mine: I should have used the 'pretend' switch
and look closer to the list...

However, I don't think I would have noticed much: don't blame me, but many
emerge aspects are still alien beasts to me :-)


Re: [gentoo-user] Problem with emerge -uD world

2009-09-09 Thread Dale
Neil Bothwick wrote:
 On Wed, 09 Sep 2009 08:04:27 -0500, Dale wrote:

   
 I do not, have never, and likely will never, trust this beast.

 vi + eyeballs is my preferred tool :-)
   

 You're not supposed to trust it. It gives a starting point for ${EDITOR}
 and eyeballs.

   
 vi ?  LOL  I have used autounmask and so far it has not broke anything. 
 I also like the way it separates what it adds from what was already
 there.  It puts little separators in there so you can easily remove the
 lines it added.
 

 If /etc/portage/packages.{unmask,keywords} are directories, it puts its
 entries in a separate file, which is even easier to work with.


   

I really need to change over to the directory method.  That just sounds
s cool.  Autounmask creating a new file makes it even better.

Thanks for that tip.

Dale

:-)  :-) 



Re: [gentoo-user] --depclean and python needed by scribus.

2009-09-09 Thread Dale
Dale wrote:
   
   

 Yes, I ran python-updater after the last python upgrade which was a week
 or so ago.  I just hadn't ran --depclean yet.  Needless to say, OOo just
 had to be recompiled too.  It always does.  Usually, about a week later,
 they have a upgrade for OOo which means I get to warm up my CPU again. 
 Never fails.  :/

 So far, I have unmerged scribus, ran revdep-rebuild which didn't
 complain about anything this time and I am currently reinstalling
 scribus.  No errors so far.

 I didn't get to test the python USE flag tho.  According to emerge -pv
 scribus, it doesn't have that flag. 

 Dale

 :-)  :-) 

   

Scribus installed with no error and portage is happy all the way around. 

Thanks guys,

Dale

:-)  :-)



Re: [gentoo-user] mp3splt-gtk, hearts and hwinfo fails to emerge

2009-09-09 Thread Paul Hartman
On Wed, Sep 9, 2009 at 3:41 AM, Dale rdalek1...@gmail.com wrote:
  --depclean wanted to remove KDE 3.  :-(

You don't have it in world?



Re: [gentoo-user] Problem with emerge -uD world

2009-09-09 Thread Paul Hartman
On Wed, Sep 9, 2009 at 8:28 AM, Dale rdalek1...@gmail.com wrote:
 Neil Bothwick wrote:
 On Wed, 09 Sep 2009 08:04:27 -0500, Dale wrote:


 I do not, have never, and likely will never, trust this beast.

 vi + eyeballs is my preferred tool :-)


 You're not supposed to trust it. It gives a starting point for ${EDITOR}
 and eyeballs.


 vi ?  LOL  I have used autounmask and so far it has not broke anything.
 I also like the way it separates what it adds from what was already
 there.  It puts little separators in there so you can easily remove the
 lines it added.


 If /etc/portage/packages.{unmask,keywords} are directories, it puts its
 entries in a separate file, which is even easier to work with.




 I really need to change over to the directory method.  That just sounds
 s cool.  Autounmask creating a new file makes it even better.

 Thanks for that tip.

For things like the KDE overlay it's almost required to do it that way
if you want to keep your sanity. You can just make a symlink to the
unmask and keywords files in the overlay so it automagically is
updated when you re-sync it :)



Re: [gentoo-user] Catch all mailbox

2009-09-09 Thread J. Roeleveld
On Wednesday 09 September 2009 14:49:37 Xavier Parizet wrote:
 J. Roeleveld a écrit :
  On Wednesday 09 September 2009 14:19:45 Xavier Parizet wrote:
  J. Roeleveld a écrit :
  Hi All,
 
  I know this is probably off-topic, but I'm hopefull someone on this
  list knows how to do this.
 
  My current situation:
  Postfix gets an email delivered for user X
  Postfix passes this to cyrus (lmtp-transport)
  if user X does not exist within cyrus, the email gets bounced.
 
  I would like this bounced email to be delivered to a seperate cyrus
  email folder.
 
  I tried to find the answer on google, but all the solutions I found
  either only work with the postfix local delivery agent (eg. not
  compatible with cyrus) or requires a list to be maintained using all
  the known email-boxes.
 
  I prefer a fall-back solution where an email directed at a user not
  listed in either the alias table (stored in ldap) or not known to cyrus
  is redirected to a specific cyrus mailbox.
 
  A solution could be doing a catch-all alias (see [1]) :
  if your domain is example.com, then add an alias mapping @example.com to
  oneaddr...@example.com either using virtual alias or
  /etc/postfix/aliases .
 
  HTH.
 
  [1] http://www.postfix.org/VIRTUAL_README.html
 
  I did notice this option, but it would require me to duplicate the alias
  table into a alias file. I tried setting a @domain entry in my
  ldap-tree, but this did not work.

 If you use LDAP as a virtual backend, then [1] will then be a better place
 to look. Setting mailacceptinggeneralid ldap attribute to @domain seems
 to be the solution (if you use standard LDAP scheme).

 HTH.

 [1] http://www.postfix.org/LDAP_README.html#example_virtual

I tried this, but when looking at the ldap logs, I notice that the 'domain' 
part does not exist in the search string.
Eg. '%s' only shows the user, '%d' is empty, eg. query is ignored

Does anyone know how I can force postfix to add the domain to the search query?

Thanks,

Joost



Re: [gentoo-user] Catch all mailbox

2009-09-09 Thread Xavier Parizet
J. Roeleveld a écrit :
 On Wednesday 09 September 2009 14:49:37 Xavier Parizet wrote:
 J. Roeleveld a écrit :
 On Wednesday 09 September 2009 14:19:45 Xavier Parizet wrote:
 J. Roeleveld a écrit :
 Hi All,

 I know this is probably off-topic, but I'm hopefull someone on this
 list knows how to do this.

 My current situation:
 Postfix gets an email delivered for user X
 Postfix passes this to cyrus (lmtp-transport)
 if user X does not exist within cyrus, the email gets bounced.

 I would like this bounced email to be delivered to a seperate cyrus
 email folder.

 I tried to find the answer on google, but all the solutions I found
 either only work with the postfix local delivery agent (eg. not
 compatible with cyrus) or requires a list to be maintained using all
 the known email-boxes.

 I prefer a fall-back solution where an email directed at a user not
 listed in either the alias table (stored in ldap) or not known to cyrus
 is redirected to a specific cyrus mailbox.
 A solution could be doing a catch-all alias (see [1]) :
 if your domain is example.com, then add an alias mapping @example.com to
 oneaddr...@example.com either using virtual alias or
 /etc/postfix/aliases .

 HTH.

 [1] http://www.postfix.org/VIRTUAL_README.html
 I did notice this option, but it would require me to duplicate the alias
 table into a alias file. I tried setting a @domain entry in my
 ldap-tree, but this did not work.
 If you use LDAP as a virtual backend, then [1] will then be a better place
 to look. Setting mailacceptinggeneralid ldap attribute to @domain seems
 to be the solution (if you use standard LDAP scheme).

 HTH.

 [1] http://www.postfix.org/LDAP_README.html#example_virtual
 
 I tried this, but when looking at the ldap logs, I notice that the 'domain' 
 part does not exist in the search string.
 Eg. '%s' only shows the user, '%d' is empty, eg. query is ignored
 
 Does anyone know how I can force postfix to add the domain to the search 
 query?

Is mydomain parameter set in /etc/postfix/main.cf ?

 Thanks,
 
 Joost
 

-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Catch all mailbox

2009-09-09 Thread J. Roeleveld
On Wednesday 09 September 2009 16:56:28 Xavier Parizet wrote:
 J. Roeleveld a écrit :
  On Wednesday 09 September 2009 14:49:37 Xavier Parizet wrote:
  J. Roeleveld a écrit :
  On Wednesday 09 September 2009 14:19:45 Xavier Parizet wrote:
  J. Roeleveld a écrit :
  Hi All,
 
  I know this is probably off-topic, but I'm hopefull someone on this
  list knows how to do this.
 
  My current situation:
  Postfix gets an email delivered for user X
  Postfix passes this to cyrus (lmtp-transport)
  if user X does not exist within cyrus, the email gets bounced.
 
  I would like this bounced email to be delivered to a seperate cyrus
  email folder.
 
  I tried to find the answer on google, but all the solutions I found
  either only work with the postfix local delivery agent (eg. not
  compatible with cyrus) or requires a list to be maintained using all
  the known email-boxes.
 
  I prefer a fall-back solution where an email directed at a user not
  listed in either the alias table (stored in ldap) or not known to
  cyrus is redirected to a specific cyrus mailbox.
 
  A solution could be doing a catch-all alias (see [1]) :
  if your domain is example.com, then add an alias mapping @example.com
  to oneaddr...@example.com either using virtual alias or
  /etc/postfix/aliases .
 
  HTH.
 
  [1] http://www.postfix.org/VIRTUAL_README.html
 
  I did notice this option, but it would require me to duplicate the
  alias table into a alias file. I tried setting a @domain entry in
  my ldap-tree, but this did not work.
 
  If you use LDAP as a virtual backend, then [1] will then be a better
  place to look. Setting mailacceptinggeneralid ldap attribute to
  @domain seems to be the solution (if you use standard LDAP scheme).
 
  HTH.
 
  [1] http://www.postfix.org/LDAP_README.html#example_virtual
 
  I tried this, but when looking at the ldap logs, I notice that the
  'domain' part does not exist in the search string.
  Eg. '%s' only shows the user, '%d' is empty, eg. query is ignored
 
  Does anyone know how I can force postfix to add the domain to the search
  query?

 Is mydomain parameter set in /etc/postfix/main.cf ?

Yes, I believe this is necessary for postfix to actually accept emails?

Or how else do I get this configured?

Thanks,

Joost



Re: [gentoo-user] --depclean and python needed by scribus.

2009-09-09 Thread Mark Knecht
On Wed, Sep 9, 2009 at 6:25 AM, Dale rdalek1...@gmail.com wrote:
 Mark Knecht wrote:
 On Wed, Sep 9, 2009 at 5:45 AM, Dale rdalek1...@gmail.com wrote:

 Mark Knecht wrote:


 Possibly scribus isn't compatible with python-2.6? The few times I've
 run into this with depclean I've removed the app (scribus in this
 case) cleaned up the machine with depclean and revdep-rebuild, and
 then reinstalled the app from scratch. If it tries to pull in
 phython-2.5 then you just have to make a choice whether you want it or
 not. (Or look for a mased ebuild, etc.

 - Mark




 LOL  Since I would rather try to remove Scribus than python, I'll remove
 Scribus, do some cleaning, then reinstall and see what happens.  We all
 know what could happen if I remove python that portage is using.  o_O

 I'll report back if it continues after all this.  Thanks to both Alan
 and Mark on this one.  I was getting drunk going around in circles with
 this.

 Dale

 :-)  :-)




 I assume you've installed python-2.6 as part of emerge @system or
 @world and then run python-updater? That process has worked on my
 machines but I don't use too many office apps.

 Good luck!

 Cheers,
 Mark




 Yes, I ran python-updater after the last python upgrade which was a week
 or so ago.  I just hadn't ran --depclean yet.  Needless to say, OOo just
 had to be recompiled too.  It always does.  Usually, about a week later,
 they have a upgrade for OOo which means I get to warm up my CPU again.
 Never fails.  :/

 So far, I have unmerged scribus, ran revdep-rebuild which didn't
 complain about anything this time and I am currently reinstalling
 scribus.  No errors so far.

 I didn't get to test the python USE flag tho.  According to emerge -pv
 scribus, it doesn't have that flag.

 Dale

 :-)  :-)

You actually compile OO? Wow! OO-bin for me. Couple of minutes and
it's installed.

Glad you got the problem fixed.

Cheers,
Mark



Re: [gentoo-user] --depclean and python needed by scribus.

2009-09-09 Thread Paul Hartman
On Wed, Sep 9, 2009 at 10:35 AM, Mark Knecht markkne...@gmail.com wrote:
 You actually compile OO? Wow! OO-bin for me. Couple of minutes and
 it's installed.

Same here. I compiled it for a long time (double meaning!), but when I
realized the amount of time spent compiling it was greater than the
amount of time spent using it... I decided to go oo-bin as well.



Re: [gentoo-user] --depclean and python needed by scribus.

2009-09-09 Thread Mark Knecht
On Wed, Sep 9, 2009 at 8:40 AM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Wed, Sep 9, 2009 at 10:35 AM, Mark Knecht markkne...@gmail.com wrote:
 You actually compile OO? Wow! OO-bin for me. Couple of minutes and
 it's installed.

 Same here. I compiled it for a long time (double meaning!), but when I
 realized the amount of time spent compiling it was greater than the
 amount of time spent using it... I decided to go oo-bin as well.



I haven't even tried KDE on Gentoo due to compile times, but less OO.
No patience for that stuff.

I'm just about ready to build my first new desktop PC in 4 years and
will have to decide on the very highest AMD Phenom II X4 965 @ 3.4Ghz
vs one of the new Intel i5 or i7's. No matter what I choose I might
finally be able to build KDE in maybe a few hours.

- Mark



Re: [gentoo-user] --depclean and python needed by scribus.

2009-09-09 Thread Paul Hartman
On Wed, Sep 9, 2009 at 10:48 AM, Mark Knecht markkne...@gmail.com wrote:
 On Wed, Sep 9, 2009 at 8:40 AM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 On Wed, Sep 9, 2009 at 10:35 AM, Mark Knecht markkne...@gmail.com wrote:
 You actually compile OO? Wow! OO-bin for me. Couple of minutes and
 it's installed.

 Same here. I compiled it for a long time (double meaning!), but when I
 realized the amount of time spent compiling it was greater than the
 amount of time spent using it... I decided to go oo-bin as well.



 I haven't even tried KDE on Gentoo due to compile times, but less OO.
 No patience for that stuff.

 I'm just about ready to build my first new desktop PC in 4 years and
 will have to decide on the very highest AMD Phenom II X4 965 @ 3.4Ghz
 vs one of the new Intel i5 or i7's. No matter what I choose I might
 finally be able to build KDE in maybe a few hours.

I have Core 2 E6600 overclocked 25%, using /dev/shm for portage tmpdir
and kdelibs4 compiles in about 20 minutes, give or take a couple
minutes depending on system load.

My last openoffice emerge was 1 hour 34 minutes. My last
openoffice-bin emerge was 29 seconds. :)



Re: [gentoo-user] Re: Gentoo Virtualization

2009-09-09 Thread Peter Humphrey
On Tuesday 08 September 2009 18:56:50 walt wrote:

 Are you seeing something very different at your end?

Yes. I've created just one VM (this is on my KDE-4 test system). On the 
Details tab I get a list of configuration variables with their values. 
Under CD/DVD ROM I have Mount CD/DVD drive selected, and the Host CD/DVD 
drive drop-down box contains just the one entry: /dev/fd0.

That's why I said I can't install a guest OS - the VM can't read the 
installation CD. Have I to make an ISO from the CD and mount that? Seems 
like a bit of a roundabout route if so.

-- 
Rgds
Peter



Re: [gentoo-user] Re: Making sure I am a good netizen and secure.

2009-09-09 Thread Peter Humphrey
On Tuesday 08 September 2009 16:42:42 Alan McKinnon wrote:

 Apparently, you have two gentoo installs on the same machine:

 a regular one with / on /dev/md0
 a test system with / on /dev/sdc3

 I presume you have KDE-3 on one and KDE-4 on the other.

Yes. As far as I'm concerned KDE-4 is still in testing. No amount of 
protestation of its readiness for the real world will persuade me to adopt 
it wholeheartedly until I'm happy with it. So far, I'm not, and I don't 
want to pollute my working KDE-3 system with loads of stuff I'll have 
difficulty removing.

 This is purely and only a happy circumstance

It's nothing of the sort. It's a conscious, deliberate decision.

 The entry you select at boot-time runs whatever system you 
 configured, which in turn runs whatever it has on it. You could remove
 KDE-3 and install OpenBox instead, you are still not selecting OpenBox
 from the grub screen.

This is just pointless semantics. I select the OS I want to run at grub 
time, the same as anyone else. Nothing I've said in this thread is 
inconsistent with what you're saying, so let's just leave it at that, shall 
we?

-- 
Rgds
Peter



Re: [gentoo-user] --depclean and python needed by scribus.

2009-09-09 Thread Neil Bothwick
On Wed, 9 Sep 2009 10:40:05 -0500, Paul Hartman wrote:

 Same here. I compiled it for a long time (double meaning!), but when I
 realized the amount of time spent compiling it was greater than the
 amount of time spent using it... I decided to go oo-bin as well.

You spend time compiling OOo? I just let the computer get on with it in
the background :-O


-- 
Neil Bothwick

It's 21st Century. Where are all the flying cars? I was
promised flying cars!


signature.asc
Description: PGP signature


Re: [gentoo-user] --depclean and python needed by scribus.

2009-09-09 Thread Paul Hartman
On Wed, Sep 9, 2009 at 11:04 AM, Neil Bothwick n...@digimed.co.uk wrote:
 On Wed, 9 Sep 2009 10:40:05 -0500, Paul Hartman wrote:

 Same here. I compiled it for a long time (double meaning!), but when I
 realized the amount of time spent compiling it was greater than the
 amount of time spent using it... I decided to go oo-bin as well.

 You spend time compiling OOo? I just let the computer get on with it in
 the background :-O

Sure, of course I'm not staring at the gcc lines scrolling by, but it
gets in the way of compiling other things and causes unnecessary (in
my case) CPU and power load for a program I use only rarely.
Especially on slower machines, like my laptop which takes something
like 4 hours to compile openoffice. In that case I think gentoo in
general may not be the right choice (since, again, I spend more time
emerging than I do actually using the laptop), but I don't like any
other distro so whatever. :)

Google Docs has replaced most of what little I ever use OOo for
(opening random office files people send me), so the -bin package
may be dismissed from my machines in the near future too. ;)



Re: [gentoo-user] autossh

2009-09-09 Thread Willie Wong
On Wed, Sep 09, 2009 at 06:11:20PM +0530, Penguin Lover Kaushal Shriyan 
squawked:
  file `which autossh`

What about this command? I want to see if autossh is a wrapper script
so that it has its own environment. 

 $ AUTOSSH_POLL=100 autossh hostxxx
 autossh[16050]: checking for grace period, tries = 0
 autossh[16050]: starting ssh (count 1)
 autossh[16053]: execing /usr/bin/ssh
 autossh[16050]: ssh child pid is 16053
 autossh[16050]: check on child 16053
 autossh[16050]: set alarm for 600 secs
 ^Cautossh[16050]: received signal to exit (2)

Regardless, you should file a bug. The way it is ignoring the
environmental variable is definitely different from what the man page
says it should do. 

The only things I can think of that gives it such behaviour is either

(i) The software itself is broken and doesn't respect the variable.
(ii) /usr/bin/autossh is actually a wrapper script so you need to set
the variables in there, instead of in your .bashrc. 

For either case, the behaviour is not consistent with the man page. 

W
-- 
M: Hey, do that again! Make the computer beep...
W: As you wish!
M: ah~~ ah~~... hum, that beep was a G.
W: how can you tell? 
(turn around)
oh... no fair... a tuner
Sortir en Pantoufles: up 1006 days, 16:16



Re: [gentoo-user] --depclean and python needed by scribus.

2009-09-09 Thread Mark Knecht
On Wed, Sep 9, 2009 at 8:56 AM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Wed, Sep 9, 2009 at 10:48 AM, Mark Knecht markkne...@gmail.com wrote:
 On Wed, Sep 9, 2009 at 8:40 AM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 On Wed, Sep 9, 2009 at 10:35 AM, Mark Knecht markkne...@gmail.com wrote:
 You actually compile OO? Wow! OO-bin for me. Couple of minutes and
 it's installed.

 Same here. I compiled it for a long time (double meaning!), but when I
 realized the amount of time spent compiling it was greater than the
 amount of time spent using it... I decided to go oo-bin as well.



 I haven't even tried KDE on Gentoo due to compile times, but less OO.
 No patience for that stuff.

 I'm just about ready to build my first new desktop PC in 4 years and
 will have to decide on the very highest AMD Phenom II X4 965 @ 3.4Ghz
 vs one of the new Intel i5 or i7's. No matter what I choose I might
 finally be able to build KDE in maybe a few hours.

 I have Core 2 E6600 overclocked 25%, using /dev/shm for portage tmpdir
 and kdelibs4 compiles in about 20 minutes, give or take a couple
 minutes depending on system load.

 My last openoffice emerge was 1 hour 34 minutes. My last
 openoffice-bin emerge was 29 seconds. :)



kdelibs on any of my machines is at least an hour - probably 2. I'm
running things like a 4 year old 3Ghz single core Athlon 64-bit. I
suspect that the newer processors would change that significantly. ;-)

- Mark



[gentoo-user] Re: mplayer and sound in firefox during playback

2009-09-09 Thread Harry Putnam
Nikos Chantziaras rea...@arcor.de writes:

 On 09/09/2009 10:05 AM, Alan McKinnon wrote:
 On Wednesday 09 September 2009 01:49:15 Harry Putnam wrote:
 I've installed mplayer and am able to play back online vidoes like
 quicktime.   However, I get no sound.

 Playing the same file retrieved from browser cache, directly with
 mplayer, works with sound.

 What do I need to do with firefox to get the sound of videos?

 wild shot in the dark here

 Was firefox built with USE=alsa?

 Doesn't matter.  It's the plugin that plays the sound, not Firefox (I
 know because I have Firefox without the alsa USE flag and it works
 OK.)

I did Nikos suggestion but also discovered I hadn't relogged in the
user after adding user to audio group.  Once I did both it worked but
not sure if both were needed.  The user in audio part is a necessity
for sure... but not sure the changes on right click in a running
firefox playback is.

What I mean is, I'm not sure if it was already right.

The right click context menu preferences/play appears to be the only
setting that would really matter.
[audio output][drop dn  menu]

The drop down offers a number of choices, alsa being one of them.  I
think it was blank when I first looked.

It seems to work with either being blank or `alsa' inserted. 




Re: [gentoo-user] autossh

2009-09-09 Thread Kaushal Shriyan
On Wed, Sep 9, 2009 at 10:58 PM, Willie Wongww...@math.princeton.edu wrote:
 On Wed, Sep 09, 2009 at 06:11:20PM +0530, Penguin Lover Kaushal Shriyan 
 squawked:
  file `which autossh`

 What about this command? I want to see if autossh is a wrapper script
 so that it has its own environment.

 $ AUTOSSH_POLL=100 autossh hostxxx
 autossh[16050]: checking for grace period, tries = 0
 autossh[16050]: starting ssh (count 1)
 autossh[16053]: execing /usr/bin/ssh
 autossh[16050]: ssh child pid is 16053
 autossh[16050]: check on child 16053
 autossh[16050]: set alarm for 600 secs
 ^Cautossh[16050]: received signal to exit (2)

 Regardless, you should file a bug. The way it is ignoring the
 environmental variable is definitely different from what the man page
 says it should do.

 The only things I can think of that gives it such behaviour is either

 (i) The software itself is broken and doesn't respect the variable.
 (ii) /usr/bin/autossh is actually a wrapper script so you need to set
 the variables in there, instead of in your .bashrc.

 For either case, the behaviour is not consistent with the man page.

 W
 --
 M: Hey, do that again! Make the computer beep...
 W: As you wish!
 M: ah~~ ah~~... hum, that beep was a G.
 W: how can you tell?
 (turn around)
 oh... no fair... a tuner
 Sortir en Pantoufles: up 1006 days, 16:16



Hi Willie Wong

file `which autossh`
/usr/bin/autossh: POSIX shell script text executable

http://paste.ubuntu.com/268077/

I dont see any of my env variables being called in that bash shell script.

Please suggest and guide

Thanks for the explanation.

Thanks and Regards,

Kaushal



Re: [gentoo-user] Catch all mailbox

2009-09-09 Thread Xavier Parizet
J. Roeleveld a écrit :
 On Wednesday 09 September 2009 16:56:28 Xavier Parizet wrote:
 J. Roeleveld a écrit :
 On Wednesday 09 September 2009 14:49:37 Xavier Parizet wrote:
 J. Roeleveld a écrit :
 On Wednesday 09 September 2009 14:19:45 Xavier Parizet wrote:
 J. Roeleveld a écrit :
 Hi All,

 I know this is probably off-topic, but I'm hopefull someone on this
 list knows how to do this.

 My current situation:
 Postfix gets an email delivered for user X
 Postfix passes this to cyrus (lmtp-transport)
 if user X does not exist within cyrus, the email gets bounced.

 I would like this bounced email to be delivered to a seperate cyrus
 email folder.

 I tried to find the answer on google, but all the solutions I found
 either only work with the postfix local delivery agent (eg. not
 compatible with cyrus) or requires a list to be maintained using all
 the known email-boxes.

 I prefer a fall-back solution where an email directed at a user not
 listed in either the alias table (stored in ldap) or not known to
 cyrus is redirected to a specific cyrus mailbox.
 A solution could be doing a catch-all alias (see [1]) :
 if your domain is example.com, then add an alias mapping @example.com
 to oneaddr...@example.com either using virtual alias or
 /etc/postfix/aliases .

 HTH.

 [1] http://www.postfix.org/VIRTUAL_README.html
 I did notice this option, but it would require me to duplicate the
 alias table into a alias file. I tried setting a @domain entry in
 my ldap-tree, but this did not work.
 If you use LDAP as a virtual backend, then [1] will then be a better
 place to look. Setting mailacceptinggeneralid ldap attribute to
 @domain seems to be the solution (if you use standard LDAP scheme).

 HTH.

 [1] http://www.postfix.org/LDAP_README.html#example_virtual
 I tried this, but when looking at the ldap logs, I notice that the
 'domain' part does not exist in the search string.
 Eg. '%s' only shows the user, '%d' is empty, eg. query is ignored

 Does anyone know how I can force postfix to add the domain to the search
 query?
 Is mydomain parameter set in /etc/postfix/main.cf ?
 
 Yes, I believe this is necessary for postfix to actually accept emails?

I don't think so.

 Or how else do I get this configured?

You can see if it is configured by doing a postconf -n . If it's not, then issue
a postconf -e mydomain=your dns domain name. For more information, man 
postconf.

Posting your postconf -n output and your ldap.cf file can also help.

HTH.

 
 Thanks,
 
 Joost 

-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] --depclean and python needed by scribus.

2009-09-09 Thread Dale
Mark Knecht wrote:
 On Wed, Sep 9, 2009 at 8:40 AM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
   
 On Wed, Sep 9, 2009 at 10:35 AM, Mark Knecht markkne...@gmail.com wrote:
 
 You actually compile OO? Wow! OO-bin for me. Couple of minutes and
 it's installed.
   
 Same here. I compiled it for a long time (double meaning!), but when I
 realized the amount of time spent compiling it was greater than the
 amount of time spent using it... I decided to go oo-bin as well.


 

 I haven't even tried KDE on Gentoo due to compile times, but less OO.
 No patience for that stuff.

 I'm just about ready to build my first new desktop PC in 4 years and
 will have to decide on the very highest AMD Phenom II X4 965 @ 3.4Ghz
 vs one of the new Intel i5 or i7's. No matter what I choose I might
 finally be able to build KDE in maybe a few hours.

 - Mark


   

I'm going for the AMD myself.  It's just in the planning but no money
saved up yet.  Currently I have a AMD 2500+ with 2Gb of ram. 

Dale

:-)  :-)



Re: [gentoo-user] mp3splt-gtk, hearts and hwinfo fails to emerge

2009-09-09 Thread Dale
Paul Hartman wrote:
 On Wed, Sep 9, 2009 at 3:41 AM, Dale rdalek1...@gmail.com wrote:
   
  --depclean wanted to remove KDE 3.  :-(
 

 You don't have it in world?


   

I had kde-meta in there but not the specific version.  I now have it in
the world file this way:

r...@smoker / # cat /var/lib/portage/world | grep kde-meta
kde-base/kde-meta
kde-base/kde-meta:3.5
r...@smoker / # 

That should last a little while longer. 

Dale

:-)  :-) 



Re: [gentoo-user] --depclean and python needed by scribus.

2009-09-09 Thread Neil Bothwick
On Wed, 9 Sep 2009 11:29:10 -0500, Paul Hartman wrote:

 Sure, of course I'm not staring at the gcc lines scrolling by, but it
 gets in the way of compiling other things and causes unnecessary (in
 my case) CPU and power load for a program I use only rarely.
 Especially on slower machines, like my laptop which takes something
 like 4 hours to compile openoffice. In that case I think gentoo in
 general may not be the right choice (since, again, I spend more time
 emerging than I do actually using the laptop), but I don't like any
 other distro so whatever. :)

With my 900MHz Eee, I've copied its filesystems to a directory on
my desktop that I use as a chroot, with FEATURES=buildpkg, then use
emerge -k on the Eee (both have the same PKGDIR over NFS). So it still
takes 90 mins to install openoffice,and the startup speed advantage of
the source package is particularly useful on a slow box.


-- 
Neil Bothwick

Criminal Lawyer is a redundancy.


signature.asc
Description: PGP signature


[gentoo-user] flags on a minimalist server

2009-09-09 Thread James
Hello,


I'm building a firewall on an old p3. It has Compact
flash to ide, limited to 4 Gb so size is paramount.

It's mostly ready. However upon a routine update, I get this
error:

 Multiple package instances within a single package slot have been pulled
 into the dependency graph, resulting in a slot conflict:

dev-lang/python:2.6

  ('ebuild', '/', 'dev-lang/python-2.6.2-r1', 'merge') pulled in 
by=dev-lang/python-2.5 required by ('installed', '/',
'sys-apps/portage-2.1.6.13', 'nomerge')
dev-lang/python required by ('installed', '/', 'sys-apps/file-4.23', 
'nomerge')
dev-lang/python-3.0 required by ('installed', '/',
'sys-apps/portage-2.1.6.13', 'nomerge')
(and 1 more)

  ('installed', '/', 'dev-lang/python-2.6.2-r1', 'nomerge') pulled in by
dev-lang/python[xml] required by ('installed', '/',
'app-portage/gentoolkit-0.2.4.5', 'nomerge')
(and 4 more)

  Explanation:

New USE for 'dev-lang/python:2.6' are incorrectly set. In order to
solve this, adjust USE to satisfy 'dev-lang/python[xml]'.



OK fair enough, let's check python[xml] and see what's up...

 dev-lang/python-2.6.2-r1  USE=berkdb ncurses readline ssl
-build -doc -examples -gdbm* -ipv6* -sqlite -threads* -tk -ucs2 -wininst -xml*
10,907 kB



I'm ok rebuilding python with no xml support (???) but, I wonder 
about the -threads flag. Is this wise?

also:
CHOST=i486-pc-linux-gnu
CFLAGS=-Os -march=i586 -pipe -fomit-frame-pointer
CXXFLAGS=${CFLAGS}

USE=-* -nls mmx hardened  ncurses ssl crypt berkdb tcpd pam perl pcre \
python readline zlib bzip2 nptl nptlonly syslog


Suggestions on rebuilding python without xml or threads flags are most welcome.


James






[gentoo-user] Re: Making sure I am a good netizen and secure.

2009-09-09 Thread James
Willie Wong wwong at math.princeton.edu writes:




 I built my tables using the commandline. A good quick intro guide is
 at http://www.gentoo.org/doc/en/home-router-howto.xml , section 5. 

Nice ref.


 My philosophy is common sense. I white list those ips that I want to
 be able to access the services. I black list those I don't. For
 services like ssh, I pray that my efforts are secure enough. 

I'm re-visiting much of  what I do with IP tables and using a whitelist  seems
like a very keen idea, particularly on firewalls with limited resources compared
to the  network bandwidth they are attached to.


thanks for sharing your approach,


James





[gentoo-user] kate 4.3.1 won't compile

2009-09-09 Thread Tami King
Hello,

I have a machine where I can't get kate to compile.  Errors from the build:

/var/tmp/portage/kde-
base/kate-4.3.1/work/kate-4.3.1/kate/plugins/externaltools/kateexternaltools.cpp:
 
In member function 'bool KateExternalTool::checkExec()':
/var/tmp/portage/kde-
base/kate-4.3.1/work/kate-4.3.1/kate/plugins/externaltools/kateexternaltools.cpp:97:
 
error: 'KDE' has not been declared
/var/tmp/portage/kde-
base/kate-4.3.1/work/kate-4.3.1/kate/plugins/externaltools/kateexternaltools.cpp:114:
 
error: 'KDE' has not been declared

Kate builds fine on other machines so I am sure that it is just something 
messed up on this particular machine.  Has anyone see this before?  I am 
using gcc 4.4.1.

-- 
Tami King
http://grahamand.us



Re: [gentoo-user] flags on a minimalist server

2009-09-09 Thread Crístian Viana
hi James,

you have gentoolkit-0.2.4.5 and it needs python compiled with the xml USE
flag. it has to be that way, according to the ebuild. you can add xml do
the USE line on /etc/make.conf (if you want XML support to all ebuilds
that need it) or add a specific line on /etc/portage/packages.use (if you
want XML support only to python).

the syntax python[xml] means the ebuild python with the xml USE flag
active.

On Wed, Sep 9, 2009 at 3:56 PM, James wirel...@tampabay.rr.com wrote:

 Hello,


 I'm building a firewall on an old p3. It has Compact
 flash to ide, limited to 4 Gb so size is paramount.

 It's mostly ready. However upon a routine update, I get this
 error:

  Multiple package instances within a single package slot have been pulled
  into the dependency graph, resulting in a slot conflict:

 dev-lang/python:2.6

  ('ebuild', '/', 'dev-lang/python-2.6.2-r1', 'merge') pulled in
 by=dev-lang/python-2.5 required by ('installed', '/',
 'sys-apps/portage-2.1.6.13', 'nomerge')
dev-lang/python required by ('installed', '/', 'sys-apps/file-4.23',
 'nomerge')
dev-lang/python-3.0 required by ('installed', '/',
 'sys-apps/portage-2.1.6.13', 'nomerge')
(and 1 more)

  ('installed', '/', 'dev-lang/python-2.6.2-r1', 'nomerge') pulled in by
dev-lang/python[xml] required by ('installed', '/',
 'app-portage/gentoolkit-0.2.4.5', 'nomerge')
(and 4 more)

  Explanation:

New USE for 'dev-lang/python:2.6' are incorrectly set. In order to
solve this, adjust USE to satisfy 'dev-lang/python[xml]'.



 OK fair enough, let's check python[xml] and see what's up...

  dev-lang/python-2.6.2-r1  USE=berkdb ncurses readline ssl
 -build -doc -examples -gdbm* -ipv6* -sqlite -threads* -tk -ucs2 -wininst
 -xml*
 10,907 kB



 I'm ok rebuilding python with no xml support (???) but, I wonder
 about the -threads flag. Is this wise?

 also:
 CHOST=i486-pc-linux-gnu
 CFLAGS=-Os -march=i586 -pipe -fomit-frame-pointer
 CXXFLAGS=${CFLAGS}

 USE=-* -nls mmx hardened  ncurses ssl crypt berkdb tcpd pam perl pcre \
 python readline zlib bzip2 nptl nptlonly syslog


 Suggestions on rebuilding python without xml or threads flags are most
 welcome.


 James







-- 
Crístian Deives dos Santos Viana [aka CD1]
Sent from Campinas, SP, Brazil


Re: [gentoo-user] Catch all mailbox

2009-09-09 Thread Stroller


On 9 Sep 2009, at 19:06, Xavier Parizet wrote:

...
Does anyone know how I can force postfix to add the domain to the  
search

query?

Is mydomain parameter set in /etc/postfix/main.cf ?


Yes, I believe this is necessary for postfix to actually accept  
emails?


I don't think so.


I believe - but I could be mistaken - that the domain must be in  
mydestination.


In my case (and by default?) that contains $mydomain

Stroller.



Re: [gentoo-user] Catch all mailbox

2009-09-09 Thread Xavier Parizet
Stroller a écrit :
 
 On 9 Sep 2009, at 19:06, Xavier Parizet wrote:
 ...
 Does anyone know how I can force postfix to add the domain to the
 search
 query?
 Is mydomain parameter set in /etc/postfix/main.cf ?

 Yes, I believe this is necessary for postfix to actually accept emails?

 I don't think so.
 
 I believe - but I could be mistaken - that the domain must be in
 mydestination.

I agree with you. The postfix configurations files should help us more...

 In my case (and by default?) that contains $mydomain

 Stroller.

-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: flags on a minimalist server

2009-09-09 Thread Nikos Chantziaras

On 09/09/2009 10:16 PM, Crístian Viana wrote:

hi James,

you have gentoolkit-0.2.4.5 and it needs python compiled with the xml
USE flag. it has to be that way, according to the ebuild. you can add
xml do the USE line on /etc/make.conf (if you want XML support to
all ebuilds that need it)


Ebuils that need xml support don't have a USE flag for it.  Only those 
where it's optional.





[gentoo-user] Re: kate 4.3.1 won't compile

2009-09-09 Thread Nikos Chantziaras

On 09/09/2009 10:05 PM, Tami King wrote:

Hello,

I have a machine where I can't get kate to compile.  Errors from the build:

/var/tmp/portage/kde-
base/kate-4.3.1/work/kate-4.3.1/kate/plugins/externaltools/kateexternaltools.cpp:
In member function 'bool KateExternalTool::checkExec()':
/var/tmp/portage/kde-
base/kate-4.3.1/work/kate-4.3.1/kate/plugins/externaltools/kateexternaltools.cpp:97:
error: 'KDE' has not been declared
/var/tmp/portage/kde-
base/kate-4.3.1/work/kate-4.3.1/kate/plugins/externaltools/kateexternaltools.cpp:114:
error: 'KDE' has not been declared

Kate builds fine on other machines so I am sure that it is just something
messed up on this particular machine.  Has anyone see this before?  I am
using gcc 4.4.1.


Are you using any weird CFLAGS?




Re: [gentoo-user] running e2fsck pre-mount

2009-09-09 Thread Maxim Wexler
 However, if every single time when the fsck is run you either reboot
 or there is an error... there maybe something wrong with your
 hardware. If you don't have smartd installed, you should consider it,
 your data on the harddrive should be worth your time.


IIRC the el cheapo ssd on this netbook is not smart-capable. Can't
remember where I read that.
I'll check again.

Thanks for the tips.

mw



[gentoo-user] Unpacking a .exe file

2009-09-09 Thread Mick
Hi All,

I seem to be having problems unpacking a particular wireless driver.  I tried 
both unzip and cabextract and neither will do the deed:
===
 $ unzip -l wg511v2_3_2.exe 
Archive:  wg511v2_3_2.exe
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
note:  wg511v2_3_2.exe may be a plain executable, not an archive
unzip:  cannot find zipfile directory in one of wg511v2_3_2.exe or
wg511v2_3_2.exe.zip, and cannot find wg511v2_3_2.exe.ZIP, period.

$ cabextract -l wg511v2_3_2.exe 
wg511v2_3_2.exe: no valid cabinets found

All done, errors in processing 1 file(s)
===

Last time I used cabextract (more than a couple of years now) I don't recall 
having such problems.  How can I troubleshoot this, or how else can I extract 
the .sys files from in there?
-- 
Regards,
Mick


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


Re: [gentoo-user] Unpacking a .exe file

2009-09-09 Thread Jesús Guerrero
On Wed, 9 Sep 2009 22:23:43 +0100, Mick michaelkintz...@gmail.com wrote:
 Hi All,
 
 I seem to be having problems unpacking a particular wireless driver.  I
 tried 
 both unzip and cabextract and neither will do the deed:
 ===
  $ unzip -l wg511v2_3_2.exe 
 Archive:  wg511v2_3_2.exe
   End-of-central-directory signature not found.  Either this file is not
   a zipfile, or it constitutes one disk of a multi-part archive.  In the
   latter case the central directory and zipfile comment will be found on
   the last disk(s) of this archive.
 note:  wg511v2_3_2.exe may be a plain executable, not an archive
 unzip:  cannot find zipfile directory in one of wg511v2_3_2.exe or
 wg511v2_3_2.exe.zip, and cannot find wg511v2_3_2.exe.ZIP,
period.
 
 $ cabextract -l wg511v2_3_2.exe 
 wg511v2_3_2.exe: no valid cabinets found
 
 All done, errors in processing 1 file(s)
 ===
 
 Last time I used cabextract (more than a couple of years now) I don't
 recall 
 having such problems.  How can I troubleshoot this, or how else can I
 extract 
 the .sys files from in there?

The files can be compressed with whatever algorithm. So you can
still try unrar and many others. Failing that, you can still
try to extract it using wine.

-- 
Jesús Guerrero



Re: [gentoo-user] Unpacking a .exe file

2009-09-09 Thread Volker Armin Hemmann
On Mittwoch 09 September 2009, Mick wrote:
 Hi All,
 
 I seem to be having problems unpacking a particular wireless driver.  I
  tried both unzip and cabextract and neither will do the deed:
 ===
  $ unzip -l wg511v2_3_2.exe
 Archive:  wg511v2_3_2.exe
   End-of-central-directory signature not found.  Either this file is not
   a zipfile, or it constitutes one disk of a multi-part archive.  In the
   latter case the central directory and zipfile comment will be found on
   the last disk(s) of this archive.
 note:  wg511v2_3_2.exe may be a plain executable, not an archive
 unzip:  cannot find zipfile directory in one of wg511v2_3_2.exe or
 wg511v2_3_2.exe.zip, and cannot find wg511v2_3_2.exe.ZIP, period.
 
 $ cabextract -l wg511v2_3_2.exe
 wg511v2_3_2.exe: no valid cabinets found
 
 All done, errors in processing 1 file(s)
 ===
 
 Last time I used cabextract (more than a couple of years now) I don't
  recall having such problems.  How can I troubleshoot this, or how else can
  I extract the .sys files from in there?
 

what does file says about that file? and doesn't need zip a .zip ending?



[gentoo-user] Gentoo LVS

2009-09-09 Thread Nick Khamis
Hello everyone I am having problems with using LVS in Gentoo, I needed the
following modules built into the kernel:
ip_vs
ip_vs_rr
ip_vs_wrr
ip_vs_lc
ip_vs_wlc
ip_vs_lblc
ip_vs_lblcr
ip_vs_dh
ip_vs_sh
ip_vs_sed
ip_vs_nq
ip_vs_ftp


How I recompile the kernel is select the module that I need

M IP virtual server support
 - [*] TCP load balancing
 - [*] UDP load balancing

 then do a make followed by a make modules_install.

ip_vs is in my list of modules (the only ip_vs*) and does not return an
error when I modprobe it but these are not there:

#lvs
ip_vs
ip_vs_rr
ip_vs_wrr
ip_vs_lc
ip_vs_wlc
ip_vs_lblc
ip_vs_lblcr
ip_vs_dh
ip_vs_sh
ip_vs_sed
ip_vs_nq
ip_vs_ftp


I am using kernel 2.6.30r5

Thanks for you Help,
Ninus.


[gentoo-user] Re: flags on a minimalist server

2009-09-09 Thread James
Nikos Chantziaras realnc at arcor.de writes:


 Ebuils that need xml support don't have a USE flag for it.  Only those 
 where it's optional.


Hello Nikos,

What about the -threads flag. Can I live without it?

caveat for a minimal firewall?


James






Re: [gentoo-user] Unpacking a .exe file

2009-09-09 Thread Paul Hartman
On Wed, Sep 9, 2009 at 4:29 PM, Volker Armin Hemmann
volkerar...@googlemail.com wrote:
 On Mittwoch 09 September 2009, Mick wrote:
 Hi All,

 I seem to be having problems unpacking a particular wireless driver.  I
  tried both unzip and cabextract and neither will do the deed:
 ===
  $ unzip -l wg511v2_3_2.exe
 Archive:  wg511v2_3_2.exe
   End-of-central-directory signature not found.  Either this file is not
   a zipfile, or it constitutes one disk of a multi-part archive.  In the
   latter case the central directory and zipfile comment will be found on
   the last disk(s) of this archive.
 note:  wg511v2_3_2.exe may be a plain executable, not an archive
 unzip:  cannot find zipfile directory in one of wg511v2_3_2.exe or
 wg511v2_3_2.exe.zip, and cannot find wg511v2_3_2.exe.ZIP, period.

 $ cabextract -l wg511v2_3_2.exe
 wg511v2_3_2.exe: no valid cabinets found

 All done, errors in processing 1 file(s)
 ===

 Last time I used cabextract (more than a couple of years now) I don't
  recall having such problems.  How can I troubleshoot this, or how else can
  I extract the .sys files from in there?


 what does file says about that file? and doesn't need zip a .zip ending?

Self-extracting ZIP (and other archive format) files from DOS,
Windows, OS/2, etc are usually an executable program with ZIP file
appended. The stub program knows to seek to the end of its executable
data to look for the archive it is to extract and unzip (etc) are able
to detect this stub and bypass it.

I googled the file wg511v2_3_2.exe and downloaded it. It is a
InstallShield program, containing an MSI containing a CAB. AFAIK there
are no Linux programs that are able to unpack -current- versions of
InstallShield.

I am on Windows XP right now (at work), I have unpacked the contents
and can email them to the OP or upload somewhere if you'd like. Let me
know.



Re: [gentoo-user] Gentoo LVS

2009-09-09 Thread Xavier Parizet
Nick Khamis a écrit :
 Hello everyone I am having problems with using LVS in Gentoo, I needed
 the following modules built into the kernel:

snipsnip

Hi,

First, you got two requests in the other thread you post about LVS, one from
Albert Hopkins who told you to do a find /lib/modules/$(uname -r) -name
ip_vs*.ko, another ask from walt who told you to do manually a depmod, and it
seems that you ignored these advices.

So, did you ran theses commands and saw what happens after ?

Then if they don't works, please post more information about your problem, for
example, your full kernel .config ?

And then, *very* important point, please do not make double or triple posting,
it's very disturbing, and you will not get an answer quicker in this way.

Thanks a lot for your understanding.

 Thanks for you Help,
 Ninus.

-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: kate 4.3.1 won't compile

2009-09-09 Thread Tami King
On Wednesday 09 September 2009, Nikos Chantziaras wrote:
 On 09/09/2009 10:05 PM, Tami King wrote:

  /var/tmp/portage/kde-
  base/kate-4.3.1/work/kate-4.3.1/kate/plugins/externaltools/kateexterna
 ltools.cpp: In member function 'bool KateExternalTool::checkExec()':
  /var/tmp/portage/kde-
  base/kate-4.3.1/work/kate-4.3.1/kate/plugins/externaltools/kateexterna
 ltools.cpp:97: error: 'KDE' has not been declared
  /var/tmp/portage/kde-
  base/kate-4.3.1/work/kate-4.3.1/kate/plugins/externaltools/kateexterna
 ltools.cpp:114: error: 'KDE' has not been declared
 
  Kate builds fine on other machines so I am sure that it is just
  something messed up on this particular machine.  Has anyone see this
  before?  I am using gcc 4.4.1.
 
 Are you using any weird CFLAGS?

-O2 -pipe -march=nocona

-- 
Tami King
http://grahamand.us



[gentoo-user] How often -uD world?

2009-09-09 Thread Maxim Wexler
HI group,

My netbook has only (4+8)G of sketchy SSD + SDHC RAM for everything
and I am determined not to emerge anything I don't really need.

But now that I'm mobile I have the capability of doing a -uD world
whenever it's required without having to take days of dialup time.

Question is, when's that? I assume with fewer packages, updating is
not as urgent as on a big desktop with lots of HD space and lots of
apps.

Is there some sort of rule-of-thumb when it comes to timing or spacing
their updates that members use to keep gentoo happy?

Maxim



Re: [gentoo-user] Re: Where are the following LVS kernel modules

2009-09-09 Thread Nick Khamis
Hey Albert,

When issuing a find /lib/modules/`uname -r` -name ip_vs*.ko I see only

/lib/modules/2.6.30-gentoo-r6/kernel/net/netfilter/ip_vs.ko

I do not see the rest

#lvs
ip_vs
ip_vs_rr
ip_vs_wrr
ip_vs_lc
ip_vs_wlc
ip_vs_lblc
ip_vs_lblcr
ip_vs_dh
ip_vs_sh
ip_vs_sed
ip_vs_nq
ip_vs_ftp

Thanks in Advanced,
Ninus


Re: [gentoo-user] Re: Where are the following LVS kernel modules

2009-09-09 Thread Nick Khamis
Hey Walt,

I build the kernel via:

make menuconfig
make
make modules_install
cp arch/... /boot/...

I did issue a depmod and still just:

/lib/modules/2.6.30-gentoo-r6/kernel/net/netfilter/ip_vs.ko

when issuing a find /lib/modules/`uname -r` -name ip_vs*.ko

Thanks in Adnvanced,
Ninus


Re: [gentoo-user] Gentoo LVS

2009-09-09 Thread Nick Khamis
Hey Xavier,

I do appologize for the two messages, it will not happen again. When issuing
a find /lib/modules/`uname -r` -name ip_vs*.ko I see only

/lib/modules/2.6.30-gentoo- r6/kernel/net/netfilter/ip_vs.ko

I do not see the rest

#lvs
ip_vs
ip_vs_rr
ip_vs_wrr
ip_vs_lc
ip_vs_wlc
ip_vs_lblc
ip_vs_lblcr
ip_vs_dh
ip_vs_sh
ip_vs_sed
ip_vs_nq
ip_vs_ftp

I build the kernel via:

make menuconfig
make
make modules_install
cp arch/... /boot/...

I did issue a depmod and still just:

/lib/modules/2.6.30-gentoo-r6/kernel/net/netfilter/ip_vs.ko

when issuing a find /lib/modules/`uname -r` -name ip_vs*.ko


Thanks in Advanced,
Ninus


Re: [gentoo-user] How often -uD world?

2009-09-09 Thread Keith Dart
=== On Wed, 09/09, Maxim Wexler wrote: ===
 Is there some sort of rule-of-thumb when it comes to timing or spacing
 their updates that members use to keep gentoo happy?

===

Mine is at least once a week. But I usually do it every few days on
my desktop. 


-- Keith Dart

-- 
-- 
Keith Dart
ke...@dartworks.biz
===



[gentoo-user] Re: How often -uD world?

2009-09-09 Thread Grant Edwards
On 2009-09-10, Maxim Wexler maxim.wex...@gmail.com wrote:

 Is there some sort of rule-of-thumb when it comes to timing or
 spacing their updates that members use to keep gentoo happy?

I find every week or two to be sufficient.  I've found that if
you wait too long (e.g. no updates for months at a time),
you're much more likely to run into problems with blocks and
conflicts.

-- 
Grant





Re: [gentoo-user] How often -uD world?

2009-09-09 Thread Philip Webb
090909 Maxim Wexler wrote:
 My netbook has only (4+8)G of sketchy SSD + SDHC RAM for everything
 and I am determined not to emerge anything I don't really need.
 But now that I'm mobile I have the capability of doing a -uD world
 whenever it's required without having to take days of dialup time.
 Question is, when's that? I assume with fewer packages,
 updating is not as urgent as on a big desktop
 with lots of HD space and lots of apps.

I recently successfully updated my stand-by desktop machine after 10 months.
I never do 'emerge world' without the '-p' flag,
but 'emerge -Dup world' shows an ordered list of what needs doing
 you can work thro' the list 1 lineful of pkgs at a time.
I update my working machine once/week ('eix-sync'  'emerge -Dup world').

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] KDE4: Constant crashes in conjunction with Konsole

2009-09-09 Thread Dudu Loschi
2009/8/19 Frank Steinmetzger war...@gmx.de:
 Hi guys,

 until now I've been quite a KDE4 hater, but I'm willing to give it a try from
 time to time. So I installed 4.3 parallel to my beloved 3.5.10 and was quite
 pleased with it. However, I have repeating crashes of my entire X. Mostly it
 happens when I open Konsole, the next often occasion is opening a menu (main
 menu, context menu, you name it), but also only after a Konsole windows was
 opened. All I see is a quick error message about glibc, then X restarts and
 I'm back at kdm.

 I use a laptop with a Geforce 7600 GPU, running on nvidia-drivers-180.60.
 First I had 4.3.0 installed from main portage tree, but I had a faint
 hope they would have fixed it by now, so I installed the live slot from
 kde-testing. I already had this issue with older version.

 Could anyone shed some light on this, please? One thing I can think of is to
 disable 3D effects, but they're working quite well and it's the same with
 *cough* Vista - they are the main reason for switching over from a previous
 version.

 TIA
 --
 Gruß | Greetings | Qapla'
 What do you call a dead bee? - A was.


I've had this issue today with a new KDE 4.3.1 installation (actually
not so new, it was running fine for 4 days). I decided to track down
what was probably causing this issue since it apparently to came from
nowhere.
Well, after testing some configurations I realized that changing fonts
size (specially menu's font) could lead to this problem, but reverting
the size didn't solved.
Them I started changing xorg.conf and found an workaround: disable
BackingStore. I've tested several times and the crash never happened
with BackingStore off. And I actually turned it on yesterday, so at
least on my system that's the cause of the crash.
So if you are experiencing this and have BackingStore on, disable it.
If you don't have BackingStore enable try changing some other
configuration in xorg.conf, it may help.



Re: [gentoo-user] Unpacking a .exe file

2009-09-09 Thread Mick
On Wednesday 09 September 2009, Paul Hartman wrote:
 On Wed, Sep 9, 2009 at 4:29 PM, Volker Armin Hemmann

 volkerar...@googlemail.com wrote:
  On Mittwoch 09 September 2009, Mick wrote:
  Hi All,
 
  I seem to be having problems unpacking a particular wireless driver.  I
   tried both unzip and cabextract and neither will do the deed:
  ===
   $ unzip -l wg511v2_3_2.exe
  Archive:  wg511v2_3_2.exe
End-of-central-directory signature not found.  Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive.  In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
  note:  wg511v2_3_2.exe may be a plain executable, not an archive
  unzip:  cannot find zipfile directory in one of wg511v2_3_2.exe or
  wg511v2_3_2.exe.zip, and cannot find wg511v2_3_2.exe.ZIP,
  period.
 
  $ cabextract -l wg511v2_3_2.exe
  wg511v2_3_2.exe: no valid cabinets found
 
  All done, errors in processing 1 file(s)
  ===
 
  Last time I used cabextract (more than a couple of years now) I don't
   recall having such problems.  How can I troubleshoot this, or how else
  can I extract the .sys files from in there?
 
  what does file says about that file? and doesn't need zip a .zip ending?

$ file -z wg511v2_3_2.exe 
wg511v2_3_2.exe: MS-DOS executable PE  for MS Windows (GUI) Intel 80386 32-bit

I tried replacing the .exe with .zip but had the same results.

 Self-extracting ZIP (and other archive format) files from DOS,
 Windows, OS/2, etc are usually an executable program with ZIP file
 appended. The stub program knows to seek to the end of its executable
 data to look for the archive it is to extract and unzip (etc) are able
 to detect this stub and bypass it.

 I googled the file wg511v2_3_2.exe and downloaded it. It is a
 InstallShield program, containing an MSI containing a CAB. AFAIK there
 are no Linux programs that are able to unpack -current- versions of
 InstallShield.

 I am on Windows XP right now (at work), I have unpacked the contents
 and can email them to the OP or upload somewhere if you'd like. Let me
 know.

Thanks Paul!  How do you unpack the contents in WinXP?  If you run the .exe it 
just installs it/them all over the fs, right?

I would be grateful for .sys and .inf files please.  Either email them off 
list or upload them somewhere and let me have a URL to download them.  This 
is where the original .exe came from:

ftp://downloads.netgear.com/files/wg511v2_3_2.exe
-- 
Regards,
Mick


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