[gentoo-user] Do not emerge firefox 4.0 if you do not want gconf

2011-03-24 Thread Sebastian Günther

Hi,

just to warn everyone of you readers, who use ~ARCH:
firefox 4.0 arrived with a dep to gconf.

A big show stopper for the all who do not want to have any gnome 
dependencies, but want to have the new Firefox.

You have been warned
Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 SEB@STI@N GÜNTHER   |   X   against M$ attachments
   mailto:gen...@teageek.de  |  / \   www.asciiribbon.org  



Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Sebastian Günther
Am Mon, 29 Jun 2009 12:29:53 +0200
schrieb Marco listwo...@gmail.com:

 On Mon, Jun 29, 2009 at 12:09 PM, Neil Bothwickn...@digimed.co.uk
 wrote:
  On Mon, 29 Jun 2009 11:57:41 +0200, Marco wrote:
 
 [...]
 
  It looks like you installed a new microcode package two days ago,
  that may be incompatible with your card. Have you tried rolling
  back to the previous version?
 
 I just rolled back to iwl3945-ucode-15.28.1.6. Wireless is working
 again.
 
 Is the fact that the new version 15.32.2.9 does not work anymore
 something I should report in the bug database?
 

No, there are slotted versions of it. On purpose...

This is because of changes in kernel. I do not remember which version
of the Kernel required the new firmware. But it was definitely stated in
the elog of iwl3945-ucode, that there are compatibility issues with
some kernel versions.

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


signature.asc
Description: PGP signature


Re: [gentoo-user] plainTeX instead of LaTeX

2009-06-28 Thread Sebastian Günther
Am Sun, 28 Jun 2009 06:30:58 +0200
schrieb meino.cra...@gmx.de:

 Hi,
 
 after removing tetex and installing texlive-2008 by following
 his guide
 http://www.gentoo.org/proj/en/tex/texlive-migration-guide.xml
 I run into a mysterious problem:
 All my *.tex-files are handled as they would be written in 
 LaTeX. But they are good old plainTeX.
 

What application handles them as LaTeX?


-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


signature.asc
Description: PGP signature


Re: [gentoo-user] strange dependency ?

2009-06-23 Thread Sebastian Günther
On Tue, 23 Jun 2009 10:15:02 +0200 (CEST)
Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:

 Hi,
 
 I was quite surprised when I tried to emerge media-libs/tiff
 (3.8.2-r6) today. I got the error messages
 
 !!! One of the following packages is required to complete your
 request:
 - sys-devel/gcc-4.4.0 (Change USE: +objc)
 (dependency required by media-libs/tiff-3.8.2-r6 [ebuild])
 (dependency required by media-libs/tiff [argument])
 
 Indeed, I have emerged gcc-4.4.0 without objc but
 
 gcc-config -l  shows
  [1] i686-pc-linux-gnu-4.3.3 *
  [2] i686-pc-linux-gnu-4.4.0
 
 and gcc -v shows Gentoo 4.3.3-r2 p1.1
 
 So, why the requirement that the inactive gcc-4.4.0 should have
 been emerged with objc?
 

Maybe because you also did not build gcc 4.3.3 with objc and then
portage goes on until it reaches the newest version. Since none of the
installed met the dependency, it takes the latest one to show you what
to do, assuming you use this as standard. Which is a good assumption
for most cases...

 (I'm using portage-2.2_rc33 and had only good experiences, so far)
 
 Thanks for enlightening me,
 Helmut.
 

HTEY
Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpAWKLwgQzda.pgp
Description: PGP signature


Re: [gentoo-user] Re: How to veiw absolute latest on partage without syncing

2009-06-14 Thread Sebastian Günther
* Harry Putnam (rea...@newsguy.com) [12.06.09 18:15]:
 
 I can sync fine... just didn't want to do an update world just now as
 my sources are quite new, but still didn't want to get sources too far
 ahead of installed packages.
 

I think, you did not understand, what a sync does. It updates mostly 
ebuilds and not ever any source package.

And ebuilds are just recipes to build software from sources, so this has 
no impact on the software installed, as long as you don't want to 
rebuild a specific version, which is no longer in the tree. But even for 
this case there is the attic.

Gentoo's normal behaviour is frequent change. May you should consider 
the buildpkg option or quickpkg to have binary packages for all your 
installed software at hand, for quick recovery.

But syncing the portage tree at least weekly, most likely daily, is that 
what most Gentoo users do. So there is absolute no problem, especially 
if you are using the stable tree...

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpKR8JwgApQN.pgp
Description: PGP signature


Re: [gentoo-user] About procmail and getline

2009-06-14 Thread Sebastian Günther
* Harry Putnam (rea...@newsguy.com) [12.06.09 16:41]:
 
 There is a patch offered but still one would think using standard
 emerge on a package that is outside the `~' daredevil stage and is not
 masked, it should `just work' [tm]. 
 


When I read the bug rightfully, procmail did not build with glibc 
2.10.1, which is *not* stable yet, especially because of a lot packages 
which don't build cleanly with it at the moment.

So if you'd use the stable glibc it would build fine. There is no need 
to mark procmail in any way. ~x86 should be able to apply patches on 
their own, or wait until the patch arrives in tree.

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpDj4dElppuv.pgp
Description: PGP signature


Re: [gentoo-user] Re: About procmail and getline

2009-06-14 Thread Sebastian Günther
* Harry Putnam (rea...@newsguy.com) [14.06.09 19:46]:
 Sebastian Günther sam...@guenther-roetgen.de writes:
 
  * Harry Putnam (rea...@newsguy.com) [12.06.09 16:41]:
  
  There is a patch offered but still one would think using standard
  emerge on a package that is outside the `~' daredevil stage and is not
  masked, it should `just work' [tm]. 
  
 
 
  When I read the bug rightfully, procmail did not build with glibc 
  2.10.1, which is *not* stable yet, especially because of a lot packages 
  which don't build cleanly with it at the moment.
 
  So if you'd use the stable glibc it would build fine. There is no need 
  to mark procmail in any way. ~x86 should be able to apply patches on 
  their own, or wait until the patch arrives in tree.
 
 Probably should use only stable but never have in over 5 yrs.
 Probably much to the dismay of this list.
 
 But even then, when a package is known in advance NOT to install with
 current ~x86 tools, seems there would be some way to let user know
 that.
 

First of all the bug is fixed, and a working patch was there 1 day after 
the opening. I call this a fast response...

For ~x86 this is a working solution, and if you use ~x86: b.g.o *is* the 
users information system and applying patches should be no problem.

 Since you've said it is because of glibc... and this is a known bug
 seems there might be a way to flag or mark procmail as incompatible
 with it.
 

The problem with glibc is, that you only find issues when you recompile 
your whole world, which is not needed in most cases. And most of the 
errors with glibc-2.10.1 result from wrong castings, which is only a 
compile time issue not a run issue.

And all these problems are upstream, so you can patch for yourself in 
gentoo, but the cleaner solution is to wait for upstream to include the 
patch there. And release a new version, when they do too...

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpiQPOqv2ETB.pgp
Description: PGP signature


Re: [gentoo-user] slim login manager issues

2009-06-10 Thread Sebastian Günther
* Laurent Lejeune (olo...@gmail.com) [10.06.09 11:49]:

 This is a pity since slim suits my needs perfectly except from that.
 Anyway, I'm falling back to xdm, which does the job fine but lacks the
 eye-candy...

Same with me, but this helped me to a nicer XDM:

http://www.gentoo-wiki.info/XDM/Customization
http://www.pilgerer.org/pw/xdm-multi

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpvGW3RxHl5p.pgp
Description: PGP signature


Re: [gentoo-user] slim login manager issues

2009-06-08 Thread Sebastian Günther
* Laurent Lejeune (olo...@gmail.com) [08.06.09 19:19]:
 Hi all,
 
 I'm having some issues with the slim login manager, which suits my very
 basic needs very well, except from those two things:
 
 * When starting, the keyboard doesn't respond quite well. The
   characters don't show on screen imediately, and sometimes, it gets
   even worse: it freezes for maybe 1-2 seconds, then the first key i
   hit gets stuck, which basically means it repeats that caracter a
   fine dozen of times.

I have that problem, too. But upstream has an even bigger problem: 
Maintainer needed.

 * when i have to restart x, slim doesn't restarts itself up, i'm
   thrown back to basic console login prompt.
 

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

 Any help greatly appreciated.
 
 cya.
 

I think until there is a new maintainer, nothing of this will get fixed 
anytime soon. :-(

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpC2xyYkJu9S.pgp
Description: PGP signature


Re: [gentoo-user] layman tree (re)location - /usr/local

2009-06-02 Thread Sebastian Günther
* Mike Kazantsev (mk.frag...@gmail.com) [02.06.09 17:22]:
 Answer in a neighbor thread reminded me of a question that puzzled me
 from the start: what's the rationale behind moving layman tree
 from /usr/portage/local to /usr/local/portage?
 
 I can see why all ebuilds belong in the same /usr/portage tree -
 separate (optimized) fs, easy to backup (snapshot?) or omit from backup
 (a lot of small files, completely irrelevant to system operation), easy
 to share between several machines along w/ packages built from it,
 and /usr/portage/packages should be inconsistent w/o layman tree, if
 it's used at all... but moving it to /usr/local, which isn't used
 by gentoo at all seem completely irrational to me, why?
 

Well my backup strategy only saves the contents of /usr/local all other 
things beneath /usr are easily recoverable. And since this place also 
contains the local overlay with some handmade ebuilds, ebuilds from 
b.g.o and no longer maintained ebuilds, I think this was a rather 
intelligent move. And sometimes you do not want any further upgrade in 
one of your layman overlays, so things might differ from the source and 
are harder to recover than from the attic of portage. Or even the 
overlay may vanish, but you need to keep the ebuilds. So you can sanely 
do a backup just from /usr/local.

packages/ is another thing, because here is the most common use case 
is to build them once and then share them between many computers. And in 
such scenarios you mostly share the whole portage tree via nfs.

 Oh, and I know that I can keep it all in the same place, of course, and
 I always do just that, still...
 
 -- 
 Mike Kazantsev // fraggod.net

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpdZJYn2p4bd.pgp
Description: PGP signature


Re: [gentoo-user] no battery state/info in minimal-x86-install-20090526.iso?

2009-06-02 Thread Sebastian Günther
* Maxim Wexler (maxim.wex...@gmail.com) [02.06.09 21:37]:
 Ok, I see it /sys/bus/acpi/drivers/battery and bind, uevent and
 something in pink beneath that but I can't read them permission
 denied. But I'm logged in as root
 wah!

Well this is the kernle module, drivers are always the wrong choice if 
you want something out of the sysfs. 
and the something in pink ist the link to the device, iirc.

But may you should use a find over the /sys directory searching for BAT 
or acer

 
 Maxim
 

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpUWSIGkTrse.pgp
Description: PGP signature


Re: [gentoo-user] cannot completely shut down my system from command line

2009-06-02 Thread Sebastian Günther
* John covici (cov...@ccs.covici.com) [02.06.09 09:24]:
 Hi.  I am running unstable gentoo and baselayout2, however when I
 shutdown my system with something like shutdown -r now -- it gets into
 a state where it says
 init: no more processes in this run level, but it never will restart
 or shutdown if I use -h.  How in the heck do I even debug such a thing
 or fix?
 
 Thanks in advance for any good ideas.
 

Did you enable ACPI in your kernel configuration?

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpjeyOU9BwUL.pgp
Description: PGP signature


Re: [gentoo-user] ctrl-alt-del change for minimal-x86-install-20090526.iso?

2009-06-02 Thread Sebastian Günther
* Maxim Wexler (maxim.wex...@gmail.com) [02.06.09 21:41]:
 Hi group,
 
 I note that ctrl-alt-del no longer shuts off my netbook. It gets to
 'remounting file sytems read only' then stops. I have to hold the
 power button for about 5 secs to get the thing to shut down.
 
 Is there a new, approved way of shutting down one's netbook?
 
 Maxim
 

ACPI enabled? Search for the right Kernel Parameter...

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpw4IzYgI9eG.pgp
Description: PGP signature


Re: [gentoo-user] upgrading gnome 2.24 to 2.26

2009-06-01 Thread Sebastian Günther
* Yasin (yasin5...@yahoo.com) [01.06.09 05:52]:
 i just want to upgrade my gentoo gnome from 2.24 to 2.26 how to and what must 
 i do ???
 

read the handbook about ACCEPT_KEYWORDS
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3chap=3

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpmwg8IMFxNj.pgp
Description: PGP signature


Re: [gentoo-user] no battery state/info in minimal-x86-install-20090526.iso?

2009-06-01 Thread Sebastian Günther
* Maxim Wexler (maxim.wex...@gmail.com) [02.06.09 04:43]:
 Hi group,
 
 Just booted into the latest iso on my netbook and first I wanted to
 check the battery state:
 
 #cat /proc/acpi/battery/BAT0/state.
 
 No such file. Looked all over /proc/acpi/. Nothing in /var/log/messages.
 
Search beneath /sys.
On my thinkpad battery interface went to 
/sys/bus/platform/devices/

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgp41VaVd6MBH.pgp
Description: PGP signature


Re: [gentoo-user] Re: gentoo older versions

2009-05-02 Thread Sebastian Günther
* Nitin Kanaskar (nitinv...@gmail.com) [02.05.09 19:15]:
 Ok - I am not clear about the terminology -
 packages, versions...
 But i need to install gentoo 2004/2005 - if this
 is right. I am a graduate student doing research on
 vulnerabilities, exploits and IDS. Hence I am looking
 for older gentoo installations which i know have
 some vulnerabilities.

 If i have to build whole OS from source, I am willing
 to do that - but could not find any resource on that
 old stuff.
 

Are you totally aware of what gentoo is about?

You always build the Gentoo OS from source. From upstream source! That's 
the hole point of gentoo. And since you are able to do a vast amount of 
choices, I think there is no gentoo installation alike in the world, 
especially when it comes to binaries.

Also there is no defined set of software versions, which could make a 
version of gentoo, as the binary dist have. Everything is in fluent 
change and update. So there are no old installations exept those 
someone forgot over the time.

 Hope I am clear about why I am looking for
 such old stuff.
 

Gentoo could be helpful to build such old stuff, the ebuilds are all in 
the cvs and if you have got the upstream tarball, you can easily rebuild 
the vulnerable software. But beware of some nasty depandency problems.

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpkmlzA8HpQn.pgp
Description: PGP signature


Re: [gentoo-user] Random-access cross-platform FS_backup tool suggestions

2009-04-30 Thread Sebastian Günther
* Joerg Schilling (joerg.schill...@fokus.fraunhofer.de) [30.04.09 12:31]:
 Neil Bothwick n...@digimed.co.uk wrote:
 
  BackupPC should cope with this. It uses rsync over SSH, so only needs to
  transfer new/changed files, and will restart where it left off if the
  connection fails (this happens to me sometimes when I switch off my
  laptop while it is backing up and the backup just restarts the next
  morning).
 
 What rsync does can also be done by star by running something like:
 
 umount /mnt
 fssnap -F  ufs -d /export/nfs
 rm /export/home/EXPORT-NFS.snap
 sync
 sleep 10
 echo  /tmp/S.$$
 svcadm disable svc:/network/nfs/server
 mount -r `fssnap -F  ufs -o backing-store=/export/home/EXPORT-NFS.snap 
 /export/nfs` /mnt
 svcadm enable svc:/network/nfs/server
 
 star bs=1m fs=256m -c -xdev -sparse -acl -link-dirs level=1 -cumulative 
 dumpdate=/tmp/S.$$ fs-name=/export/nfs -
 wtardumps tardumps=/etc/td-copy -C /mnt . | \
 star bs=1m fs=256m -xpU -no-fsync -restore -time -C /export/nfs2
 
 

10 lines where 1 is sufficient? Not so userfriendly, and what is the 
benefit?

If space is not a problem the main benefit of rsync is that you have 
your backup simply on a filesystem, that you can mount anywhere you want 
it. And the plus is no programm needed to restore the data other than 
cp...

With rsnapshot it get even easier to configure your backup.

 star supports enhanced file meta data, what does rsync?
 
   -A, --acls  preserve ACLs (implies -p)
   -X, --xattrspreserve extended attributes

is all file meta data I have, so it is sufficient.

 Jörg
 

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpJCGuuTu1bG.pgp
Description: PGP signature


Re: [gentoo-user] conflict in update

2009-04-26 Thread Sebastian Günther
* Alan McKinnon (alan.mckin...@gmail.com) [26.04.09 18:49]:
 
 It should be easy enough to write a program that examines world and displays 
 all packages it finds that are dependencies of something else in world, but I 
 haven't found one, and prefer the manual approach above.
 


#!/bin/bash
for i in $( cat /var/lib/portage/world ); do 
equery d $i; 
done

Slow, ugly, but does the job

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpbi5D2hw8zo.pgp
Description: PGP signature


Re: [gentoo-user] ebuild description

2009-04-25 Thread Sebastian Günther
* Michael P. Soulier (msoul...@digitaltorque.ca) [25.04.09 20:59]:

 So, is grep the best approach to answer, what the heck is that? :)
 
No, eix is:

emerge eix
man eix

 Mike

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgp5tiWdbabJp.pgp
Description: PGP signature


Re: [gentoo-user] corrupted start-up services (and file-system)

2009-04-20 Thread Sebastian Günther
* Alan McKinnon (alan.mckin...@gmail.com) [20.04.09 01:21]:
 On Monday 20 April 2009 01:03:59 Liviu Andronic wrote:
  Hello all,
  I have a (nasty) issue with the system start-up, and probably with
  corrupted file-system. On start-up, I get several error messages (see
  below). I suspect I started having these messages after Gentoo crashed
  once, but I couldn't recall the actual circumstances.
  The problem is that, for example, MPD will not remember it's last
  state before shutdown, and will be unable to recover the it's last
  state. I have no idea where to start correcting the issue; any ideas
  welcome.
  Thanks,
  Liviu
 
  Start-up messags:
  ln: accessing `/var/lib/init.d/started/rmnologin': Permission denied
 
 That's a very unusual location for init scripts. Did you put them there, 
 instead of in the more usual /etc/init.d/?
 

That's not the init script dir. that's svcdir in baselayout 1. It is 
used to save the state of the init scripts. So it is natural that the 
init process accesses it.

 {snip}
 
  lrwxrwxrwx  1 root root  19 2009-04-19 17:32 keymaps - /etc/init.d/keymaps 
  ??  ? ??  ?? laptop_mode
 
 This is almost certainly disk corruption. Boot from a CD and do an fsck on 
 all 
 disk volumes
 

And I must stress this: check all your filesystems.

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpACBeu0xfpb.pgp
Description: PGP signature


Re: [gentoo-user] intelfb usage in grub

2009-04-20 Thread Sebastian Günther
* Valmor de Almeida (val.gen...@gmail.com) [20.04.09 20:48]:
 
 Hello,
 
 I've been trying the following grub.conf boot
 
 kernel /boot/vmlinuz root=/dev/sda3 video=intelfb,mode=1280x768...@60
 
 but no luck (that is I get the 80x25 console). The only working format 
 appears to be
 
 kernel /boot/vmlinuz root=/dev/sda3 vga=xxx
 
 where xxx does not accommodate the mode above. In fact nothing will work 
 unless I use vga=something; and that appears to be sufficient.
 
 Am I using the incorrect video=... syntax?
 
 Below follows relevant lines from /var/log/messages
 
 Thanks,
 
 
 Apr 20 14:27:54 dcpl-lpt1 [0.174157] intelfb: Changing the video 
 mode is not supported.

This is the hint: intelfb can't change the video mode. But intelfb can 
be used if you /also/ add a vga to the kernel command line. I will post 
mine as an example:

kernel /boot/vmlinuz root=/dev/ram0 real_root=/dev/mapper/system-slash \
 ro resume=swap:/dev/mapper/system-swap vga=0x318 quiet \
 video=intelfb:1024x768...@60,mttr,noaccel,hwcursor,vram=4 \
 splash=silent,theme:natural_gentoo console=tty1 

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgp7ts8ngBBdL.pgp
Description: PGP signature


Re: [gentoo-user] intelfb usage in grub

2009-04-20 Thread Sebastian Günther
* Valmor de Almeida (val.gen...@gmail.com) [20.04.09 22:29]:
 Sebastian Günther wrote:
 
  
  This is the hint: intelfb can't change the video mode. But intelfb can 
  be used if you /also/ add a vga to the kernel command line. I will post 
  mine as an example:
  
  kernel /boot/vmlinuz root=/dev/ram0 real_root=/dev/mapper/system-slash \
   ro resume=swap:/dev/mapper/system-swap vga=0x318 quiet \
   video=intelfb:1024x768...@60,mttr,noaccel,hwcursor,vram=4 \
   splash=silent,theme:natural_gentoo console=tty1 
 
 Am I understanding this correctly? vga=0x318 means 1024x768...@60. Your 
 line calls intelfb with almost the same mode except at 32-bit pixel 
 depth instead of 24. Is this the only change intelfb will make to the 
 video mode? or you end up with 1024x768...@60 anyway?
 

vga parameter has a /colour/ depth of 24 bits and 32 bits per pixels

To clarify colour depth and bits per pixel, from man xorg.conf:

Depth  depth
  This entry specifies what colour depth the Display subsection is to be used 
for.
  This entry is usually specified, but it may be omitted  to create  a  
match-all
  Display  subsection  or  when wishing to match only against the FbBpp 
parameter.
  The range of depth values that are allowed depends on the driver.  Most  
drivers
  support  8,  15,  16 and 24.  Some also support 1 and/or 4, and some may 
support
  other values (like 30).  Note: depth means the number of bits in  a  pixel  
that
  are actually used to determine the pixel colour.  32 is not a valid depth 
value.
  Most hardware that uses 32 bits per pixel only uses  24 of  them  to  hold  
the
  colour information, which means that the colour depth is 24, not 32.

 It seems that the mode option of intelfb does not do anything and the 
 mode needs to be set with vga which has specific values.
 

intelfb is not able to to change the resolution, vga is. With KVM this 
may have changed, but I didn't had the time to test 2.6.29.

 Thanks,
 
 --
 Valmor
 
 

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpYxi6WCoGK5.pgp
Description: PGP signature


Re: [gentoo-user] intelfb usage in grub

2009-04-20 Thread Sebastian Günther
* Valmor de Almeida (val.gen...@gmail.com) [20.04.09 23:23]:
 
 since the mode option under intelfb is useless. I could also drop the 
 video parameter altogether since I only have the intelfb driver compiled 
 into the kernel.

Only if you don't want to use it: this parameter is necessary to 
activate intelfb!

 
 Thanks,
 
 --
 Valmor
 

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpbbOFEZnw8Q.pgp
Description: PGP signature


Re: [gentoo-user] Cryptsetup lvm2 blocker

2009-04-10 Thread Sebastian Günther
* Momesso Andrea (momesso.and...@gmail.com) [10.04.09 16:13]:
 
 
 How should I handle that?
 
First look in the bugzilla, I found the bug immediately...

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgprsOln7auJo.pgp
Description: PGP signature


Re: [gentoo-user] ATI radeon problems

2009-04-08 Thread Sebastian Günther
* Jacques Montier (jacques.mont...@numericable.fr) [08.04.09 11:27]:
 Hi all,
 
 I have two major problems with my 9600 ATI (RV350) graphic card
 
 - With the free radeon driver (x11-drivers/xf86-video-ati-6.12.1-r1) :
 After few minutes, while emerging or working with some software (Gimp),
 %CPU increases and then X completely freezes. Then reset... :-(
 
 - The proprietary ATI driver (x11-drivers/ati-drivers-8.582) can't
 compile with gentoo-sources-2.6.28-r4.
 It asks me to set CONFIG_PCI_MSI=y in the kernel config.
 But there is no CONFIG_PCI_MSI line in the .config !!!
 

Is CONFIG_PCI=y present?

If set to =n the all PCI things are not configured...

CONFIG_ARCH_SUPPORTS_MSI=y should also be there, for this an internal 
check if your platform has the possibility to use MSI.

 Any idea that would help me ?

Maybe a make menuconfig could be a little more informative for you.

 Thank you very much,
 

Sebastian



pgpsikrk5I6Dx.pgp
Description: PGP signature


Re: [gentoo-user] ATI radeon problems

2009-04-08 Thread Sebastian Günther
* Jacques Montier (jacques.mont...@numericable.fr) [08.04.09 12:46]:

 CONFIG_ARCH_SUPPORTS_MSI=y should also be there, for this an internal 
 check if your platform has the possibility to use MSI.
 
 #CONFIG_ARCH_SUPPORTS_MSI is not set, and i don't see the line in make
 menuconfig.br
 I suppose i have to select another option to make it appear, but i
 can't find the good one...br

A search for MSI in make menuconfig found this:

 Symbol: ARCH_SUPPORTS_MSI [=y] 
  
   Selected by: PCI  X86_LOCAL_APIC  X86_IO_APIC

So all of this options should be enabled to get to select PCI_MSI

 /html
 

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpRRmz12mXal.pgp
Description: PGP signature


Re: [gentoo-user] ATI radeon problems

2009-04-08 Thread Sebastian Günther
* Jacques Montier (jacques.mont...@numericable.fr) [08.04.09 13:59]:
 
 Next step, i try to emerge ati-drivers...br
 Thanks a lot for your help !br

Don't forget to build a new kernel also...

 /html
 

BTW: no html please...

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpwTBnumagY9.pgp
Description: PGP signature


Re: [gentoo-user] eselect-news

2009-04-07 Thread Sebastian Günther
* Dale (rdalek1...@gmail.com) [07.04.09 15:58]:
 
 This is not working for me either.  Is this a option that I have to
 enable in make.conf or something?  I did my sync last Saturday so it may
 be that the news was after I sync'ed and I missed it.
 

read the whole thread, dale:

These news are, logically, in /usr/portage/metadata/news/

I bet you can find them there. 

 r...@smoker / # eselect news list

 Unread news items:
   (none found)
 Read news items:
   (none found)
 r...@smoker / #
 

Are you using tetex? Are you using xorg-server  1.5?

I bet not, so no news for you...

 Thanks.
 
 Dale
 

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpnbOgF1VyCQ.pgp
Description: PGP signature


Re: [gentoo-user] New xorg.conf with x11-base/xorg-server-1.5.3-r5

2009-04-07 Thread Sebastian Günther
* Mick (michaelkintz...@gmail.com) [07.04.09 18:46]:
 
 However, I have failed to:
 
 3. Effect a left click when I tap on the synaptics pad.
 4. Double click on the synaptics pad.

Just a double check: you did recompile the synaptics driver from xorg?

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpB2Hld7aP9I.pgp
Description: PGP signature


Re: [gentoo-user] profile 2009?

2009-04-06 Thread Sebastian Günther
* Xav' (x...@linuxant.fr) [06.04.09 20:28]:
 To get back with releases, I'm waiting for releases a full well tested 
 version of stage releases, as i don't agree with those saying that 
 weekly stage build are good enough to have updated stage.
 

A stable stage tarbar is not well tested? How can the testing be 
improved, but by running on half of the gentoo users PCs for what was 
it, 4 weeks?

stable is stable and any snapshot should be stable.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgplNQd8qmhLP.pgp
Description: PGP signature


Re: [gentoo-user] Re: What annoys you?

2009-04-04 Thread Sebastian Günther
* Nikos Chantziaras (rea...@arcor.de) [04.04.09 03:55]:
 
 I thought about it and I would still like an installer.  People asked me 
 I want that too after they see what Gentoo can do and is about.  I 
 could help them learn to keep their Gentoo healthy and running, but I am 
 not willing to install it for them or teach them how to install it 
 themselves.  Too much work. 

1.) If they want it, then they *have* to learn it. No convinience 
here!
2.) They learn much more about their system, when they install it, than 
from a running system: For once they *know* what is installed and 
how that is configured.

 So from my observational point, the lack of 
 an installer just means that people who would like to try Gentoo just 
 don't, because the learning curve is too steep, beginning right at the 
 installation.  To learn, you need a system that already runs so you can 
 learn that system.  Gentoo needs to be installed by someone who already 
 knows.  Chicken and egg.


1) If the people need to learn Linux: give them Ubuntu. If they are 
   annoyed enough about how the things are configured there, then they 
   are willing to learn the things they need for Gentoo.
2) You only have the chicken and egg problem if you want every newbie to 
   Linux start with Gentoo and also support his/her unwillingness to 
   RTFM.

Gentoo is not for people, which want to be washed, but not to get wet!

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgptiXHfv5yks.pgp
Description: PGP signature


Re: [gentoo-user] What annoys you?

2009-04-04 Thread Sebastian Günther
* Alan McKinnon (alan.mckin...@gmail.com) [04.04.09 09:57]:
 
 emerge --lock some-package-some-version
 
I find this suggestion very good, and would like to ask the more 
experienced participants, if such thing was thought of before.

I'm thinking about some options to freeze a system totally, servers 
would like this, and some options to gradually move back from testing to 
stable.

That was the thing that annoyed me in the last weeks:
a simple possibility to say: hold this packageversion until it is back 
to stable.

So I'm suggesting the following new options for emerge:

--freeze: hold this package version *and* revision
--hold: hold this package version, but allow revision updates
--hold-til-stable: hold this package, until it hits stable, and then use 
the stable version.

--testing: set the ~x86 keyword for this package and necessary 
dependencies

I know that this is done relatively easy for one package, but with 
sets this can become a really powerful feature. Since I started to 
catogorize my whole system with sets, this could be a really wonderfull 
way to easily say, keep that version of XFCE, that I have installed:

emerge --hold @xfce #assuming you have all xfce packages in that set...

is a little less work, than masking every package by hand.

And a little helper to create a local overlay:

--copy-to-local: make a local overlay entry for that package

I would gladly help to implement this, but I did not read anything about 
becoming a dev.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpesTgfwzV32.pgp
Description: PGP signature


Re: [gentoo-user] What annoys you?

2009-04-03 Thread Sebastian Günther
* Wyatt Epp (wyatt@gmail.com) [03.04.09 20:00]:
 Greets,
 
 So while gearing up for the Summer of Code, I noted a lot of things that I
 had come to accept as normal that I feel should not be so.  Things like the
 danger of depclean or the way portage will only show one mask at a time.  So
 I was curious...what have people that are *not* myself and my mate noticed
 that is mildly irritating and disruptive to the Gentoo experience?
 

Well honestly: nothing lately. depclean had never removed something what 
a -avtDuN and a revdep-rebuild couldn't repair.

 Cheers,
 Wyatt

Sebastian

BTW: There is no need for an installer...

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgp7UrXKD9CF5.pgp
Description: PGP signature


Re: [gentoo-user] installing gentoo using systemrescuecd and wifi

2009-04-01 Thread Sebastian Günther
* maxim wexler (bliss...@yahoo.com) [01.04.09 23:44]:
 
 Hi group,
 
 
 Can anybody help? I hate Xandros, it reminds me of Win98!

Well: use Xandros to install gentoo.

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpa0kyFuu4aO.pgp
Description: PGP signature


Re: [gentoo-user] installing gentoo using systemrescuecd and wifi

2009-04-01 Thread Sebastian Günther
* maxim wexler (bliss...@yahoo.com) [02.04.09 01:04]:
 
   
   Can anybody help? I hate Xandros, it reminds me of
  Win98!
  
  Well: use Xandros to install gentoo.
 
 Xandros has already used up *all* of the HD on one partition. I can't 
 format the drive without destroying the OS which is installing it. 
 There isn't even enough room to download the snapshots, portage and so 
 forth. And at some point I'm going have to connect with gentoo(which 
 is the basis of the systemrescue, hence my asking here). 
 
 mw

As Neil pointed out:
Any LiveCD with gcc and chroot, that supports your Network Card will do.

There are Knoppix and Grml which /might/ work.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpGuBuSx6mbt.pgp
Description: PGP signature


Re: [gentoo-user] start X at startup without a login manager

2009-03-25 Thread Sebastian Günther
* Mick (michaelkintz...@gmail.com) [25.03.09 21:04]:
 On Friday 20 March 2009, Paul Hartman wrote:
  On Fri, Mar 20, 2009 at 10:09 AM, fei huang daniel.huang...@gmail.com 
 wrote:
   I don't have any xdm, gdm stuff but would like to start my windows
   manager directly at startup, cause I'm the only one that use it.
 
  I agree with Sebastian, you should try slim
 
  http://en.gentoo-wiki.com/wiki/SLiM
 
 What is the benefit of SLiM compared to vanilla xdm + Fluxbox?

autologin, shutdown and reboot

Sebastian


-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgp2XqqqRBi43.pgp
Description: PGP signature


Re: [gentoo-user] Who mount sysfs?

2009-03-24 Thread Sebastian Günther
* Dale (rdalek1...@gmail.com) [24.03.09 19:54]:
 Mick wrote:
 
  $ mount | grep sysfs
  sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
 
  However, I do not have sysfs in /etc/init.d/sysfs.

 
 Same here.  Both the confused part and the not have the init script
 sysfs.  I was sort of worried about rebooting.  Glad it is not just me.
 
 Dale


equery b /etc/init.d/sysfs
[ Searching for file(s) /etc/init.d/sysfs in *... ]
sys-apps/openrc-0.4.3-r1 (/etc/init.d/sysfs)
^
Unless you have this everything should be OK.


Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpki6U7AKQCz.pgp
Description: PGP signature


Re: [gentoo-user] Syslog-ng using a spectacular amount of CPU time... (I'm using sshguard)

2009-03-23 Thread Sebastian Günther
* Steve (gentoo_...@shic.co.uk) [23.03.09 20:27]:
 Steve wrote:
  destination sshguardproc {
  program(/usr/local/sbin/sshguard
  template($DATE $FULLHOST $MESSAGE\n));
  };
 

program() only takes 1 argument: the programname.

Any thing you want to pass, you have to define via a log statement.

BTW: Just curious: you do not use the sshguard from portage, or why is 
it a /usr/local/sbin?

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpHpda3TnYqN.pgp
Description: PGP signature


Re: [gentoo-user] start X at startup without a login manager

2009-03-20 Thread Sebastian Günther
* Florian Philipp (li...@f_philipp.fastmail.net) [20.03.09 19:09]:
 fei huang schrieb:
  I don't have any xdm, gdm stuff but would like to start my windows
  manager directly at startup, cause I'm the only one that use it.
  
  You know that this is a possible security thread? Anyone who has access
 to your computer can simply press Ctrl+Alt+F1 and enter the console
 session you used to start x-server.
 Locking your X-session won't help against that.
 
You did read, that he wants to start it via the local service, and from 
the commandline?

Propably not, since then your advice is pointless.

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgprHiZIEt9He.pgp
Description: PGP signature


Re: [gentoo-user] Re: start X at startup without a login manager

2009-03-20 Thread Sebastian Günther
* Nikos Chantziaras (rea...@arcor.de) [20.03.09 17:18]:
 fei huang wrote:
  I don't have any xdm, gdm stuff but would like to start my windows 
  manager directly at startup, cause I'm the only one that use it.
 
 Install it anyway and use the autologin feature.  I know that KDM 
 supports it, and probably GDM too.
 

Well in that case, slim should be the better choice: no dependencies on 
one of the two a little bloated DEs, and also has the autologin feature.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpMRiLQDTOsj.pgp
Description: PGP signature


Re: [gentoo-user] start X at startup without a login manager

2009-03-20 Thread Sebastian Günther
* fei huang (daniel.huang...@gmail.com) [20.03.09 16:12]:

 su - myname -c startx
 
 any ideas?

RTFM:

-, -l, --login
   Provide an environment similar to what the user would expect had the 
user
   logged in directly.

! When - is used, it must be specified as the last su option. 

   The other forms (-l and --login) do not have this restriction.

 
 thanks
 
 fei

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgp96oxnjcG16.pgp
Description: PGP signature


Re: [gentoo-user] How to freeze my Gentoo system

2009-03-17 Thread Sebastian Günther
* Neil Bothwick (n...@digimed.co.uk) [12.03.09 10:49]:
 On Thu, 12 Mar 2009 09:56:47 +0200, Alan McKinnon wrote:
 
  The atom syntax you want is package~ which means any -rN version
  (including -r0) of the base version.
 
 I've only even seen the ~ used at the start of an atom, I didn't know it
 could be used at the end too.
 
  You could grab a complete list of your system and world (emerge -et),
  mangle it into shape with grep, sed and awk and redirect the whole lot
  to a package.mask file in a format something like this:
  
  app-1.1.0~  
 
 emerge portage-utils
 qatom $(qlist -ICv) | awk '{print $1/$2-$3~}'
 

I was playing with this, since I'm thinking about gradually reverting my 
system to stable.

What i was wondering: Is there a reason why you split the qlist output 
into atoms, just to put it together the same way qlist has spitted it 
out?

qlist -ICv | awk '{print ~$1}'
should do the job or am I mistaken?

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpIvmlEw372e.pgp
Description: PGP signature


Re: [gentoo-user] Re: Where is my automounting coming from?

2009-03-16 Thread Sebastian Günther
* Nikos Chantziaras (rea...@arcor.de) [16.03.09 02:43]:
 Grant wrote:
  When I plug my USB cell phone into my laptop I get an icon on my xfce4
  desktop which mounts the volume if I double-click it.  The icon
  doesn't appear on another Gentoo laptop and I can't figure out why.  I
  thought it was Thunar volume management, but that isn't installed on
  either system.  Does anyone know what causes the icon to appear?  I
  also don't have gnome-volume-manager installed.
 
 It's XFCE that does this.  But for it to work, it needs HAL and D-Bus. 
 So make sure those also installed.
 
 Furthermore, the device must *not* have an entry in /etc/fstab.

Since when? I have entries for all my USB sticks in my /etc/fstab and it 
works fine.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpFpUV40y8Qh.pgp
Description: PGP signature


Re: [gentoo-user] Bash and ACPI issue - laptop lid

2009-03-12 Thread Sebastian Günther
* Saphirus Sage (saphirus...@gmail.com) [12.03.09 00:53]:
 I've been trying to setup my laptop to enter ACPI S3 (suspend to ram)
 when I close the lid. I currently have the scripts setup as such:
 /etc/acpi/events/lid
 event=button[ /]lid.*
 action=/etc/acpi/actions/lid.sh

Looks normal.

 /etc/acpi/actions/lid.sh
 #!/bin/bash
Maybe a 
  sleep 1 
will help with your issue (or more secs...)
 for i in $(cat /proc/acpi/button/lid/LID/state | grep -o closed); do
   ^^^
   This only has elements when the lid is closed, so the do 
   block will only be exexuted, if the lid is closed.
 if [ $i = closed ]; then
  ^^
  Therefor this is totally pointless, because we only come to 
  this point if the lid is closed and thus $i is always == closed
 /usr/sbin/pm-suspend
 fi
 if [ $i != closed ]; then
 sleep 5
 fi
This whole block will never ever be reached, so you can easily erase it.

 done

 The issue I've run into is that this will cause my laptop to suspend to
 the RAM upon any change in the lid state, irregardless of if it is open
 or closed. I tried to be more specific by utilizing the suffix of the
 event, but it's incremental, which is a bit beyond my abilities. Any
 suggestions to make this suspend only when the lid is closed?
 

You should test if your Desktop Environment does the suspending for you. 
Then you have to tweak there, to get the behaviour you want.

HTH 
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpJB2EZXHSAu.pgp
Description: PGP signature


Re: [gentoo-user] Kernel update messed up console encoding

2009-02-28 Thread Sebastian Günther
* Florian v. Savigny (lor...@fsavigny.de) [28.02.09 11:35]:
 
 
 Dear Sebastian,
 
 
  there still is /etc/conf.d/consolefont that could mess up things
 
 The only variable that's set there is CONSOLEFONT=cp1250. I would
 not understand how the font could have an influence on the characters
 *produced* by the console, and it seems also difficult to explain why
 the shell and Emacs, which of course use the same console font, behave
 differently. (Under the shell, it looks fine while you type it,
 i.e. you cannot tell that your u umlaut actually consists of two
 bytes. But Emacs displays the lower-case umlauts followed by a space
 (i.e. two characters, but not those that most of us are probably quite
 familiar with, i.e. which you see when UTF-8 is displayed as if it
 were ASCII), while for upper-case umlauts and the eszett complains
 that e.g. \204 is undefined.)
 
what does file say about the offending files?
Emacs always uses the enconding of the file, where as an redirect uses 
the locale, iirc.

I assume you know the options-mule menu in emacs, there is a lot to 
help with encoding issues...

 As to the locale, where can I look that up ... ? I seem to remember I
 purposely use no locale (or C, I think), but I don't remember where
 I set that.
 
.bashrc

 
 Thanks very much!
 
 Florian
 
 

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgp9w7lDT9keJ.pgp
Description: PGP signature


Re: [gentoo-user] Kernel update messed up console encoding

2009-02-28 Thread Sebastian Günther
* Florian v. Savigny (lor...@fsavigny.de) [28.02.09 18:39]:
 
 Hi Sebastian,
 
 But Emacs displays the lower-case umlauts followed by a space
 etc. etc. ...
 
what does file say about the offending files?
 
 I was not actually talking about files when I mentioned Emacs, but
 what I see when I *type* into Emacs (such as in this mail
 message). But in case you mean what that produces when I save the
 result of what I typed into a file, I ran a few tests, and the results
 were mixed:
 
 For the 3 lower-case umlauts, file reports UTF-8, consistent with the
 number of bytes (i.e. the file length): 3 characters, 6 bytes. The hex
 representation of the 6 bytes is: c3 a4 c3 b6 c3 3c.
 
 For the three upper-case umlauts and for the eszett, file reports
 iso-8859, also consistent with the number of bytes: 3 characters, 3
 bytes. The code position is, however, definitely wrong: it is always
 hex c3 (which would be the upper-case A tilde in iso-8859-1, and four
 different letters can hardly have the same code position.)
 
 To me this looks as if Emacs puts the first half of the byte sequences
 (always the hex c3) into the buffer, while trying to interpret the
 other half (see list below) as a command: it will say something like
 \204 is undefined. I am quite certain \nnn is an octal number.
 
 eszett: \237 (hex 9f, dec 159)
 A uml: \204 (hex 84, dec 132)
 O uml: \226 (hex 96, dec 150)
 Uuml: \234 (hex 9c, dec 156)
 
 If I am right, the keys thus send:
 
 eszett: c3 9f
 A uml: c3 84
 O uml: c3 96
 U uml: c3 9c
 a uml: c3 a4
 o uml: c3 b6
 u uml: c3 3c
 
 I would assume that these sequences are the UTF-8 representation of
 the respective characters (but I don't have a table to figure that
 out).
 
 Sorry if the whole thing was diffcult to follow. I should perhaps have
 mentioned that for the upper-case umlauts and the eszett, Emacs not
 only complains, but also inputs an unknown character into the
 buffer, represented by a '?' in reverse video. That's apparently the
 hex c3 byte.
 
That is a problem of the consolefont, since the console can't display it 
with cp1250...


Emacs always uses the enconding of the file, where as an redirect
uses the locale, iirc.
 
 I know; normally it can figure it out - I think this ability is not
 compromised in any way (I can e.g. open an XML file encoded in utf-8,
 and will see 11u in the mode line). Also, please note that under X,
 Emacs behaves completely as before.
 
 By redirect, you mean shell redirection?  Does that do any character
 conversion?

yes.

echo äöüÄÖÜß  console.test
then write the same in emacs and save as emacs.test.

And then compare the output of

file console.test
and
file emace.test

If there are differences, somewhere here lies the Problem

 
I assume you know the options-mule menu in emacs, there is a lot to
help with encoding issues...
 
 Yes, I know, but I don't see how set-input-method would fix this. Do you?
 
No but set-coding-system for saving the file might help to achieve the 
right encoding.

 As to the locale, where can I look that up ... ?
.bashrc
 
 Neither ~/.bashrc nor /etc/bash/bashrc contain any locale setting
 ... hmm.

locale 
should shown it to you

 
 But very frankly, would the solution not focus on the kernel, at least
 partly? As I said, I can reverse the phenomenon by simply booting the
 old kernel!
 
 Does nobody know where the kernel controls what the keys of the
 console keyboard send when pressed?
 
 (BTW, KEYMAP=de-latin1-nodeadkeys, in /etc/conf.d/keymaps.)

Exactly there.

 
 Regards, Florian
 
 
 

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgp22GZSxujGu.pgp
Description: PGP signature


Re: [gentoo-user] looking for a ftp client script

2009-02-27 Thread Sebastian Günther
* Weifeng Liu (weifeng...@gmail.com) [27.02.09 09:02]:
 Thanks Morten, but that AIX server only provides telnet access. :(
 

No FTP, but telnet?
Who on this shiny planet is administring this nightmare?

If I were you I woud refuse to work with such a setup.

Sorry had to rant...

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpLKx3sh36AL.pgp
Description: PGP signature


Re: [gentoo-user] Kernel update messed up console encoding

2009-02-27 Thread Sebastian Günther
* Florian v. Savigny (lor...@fsavigny.de) [27.02.09 18:30]:
 
 Dear listmates,
 
 (I did try to use a more specific mailing list, and tried
 gentoo-admin, but it seems there's nobody around.)
 
 I recently updated my kernel from 2.6.17 to 2.6.27, and it seems that
 the new kernel causes the encoding of the console to behave weird: 
 
 I used to use the default Unix encoding, i.e. iso-8859-1, because this
 was fine for German (now I want to stick to it because I have so much
 legacy material in that encoding).  Now, when I type a string with
 Non-ASCII characters on the commandline, it looks normal, but when I
 redirect this to a file, the file command identifies the contents of
 that file (correctly, it seems to me) as UTF-8. When I boot the old
 kernel (which I kept), the same procedure results in a file identified
 as iso-8859-1 (and with accordingly fewer bytes). Here are the
 contents (the same sentence):
 
 Kernel 2.6.17:
 
 Ich kann es au��erdem nicht ��ndern
 
 Kernel 2.6.27:
 
 Ich kann es außerdem nicht ändern
 
 I grepped the .config files for any options that might have a bearing
 on this. The only difference I found was in the first of these four
 lines:
 
 linux-2.6.17:
 
 # CONFIG_NLS_ASCII is not set
 CONFIG_NLS_ISO8859_1=y
 CONFIG_NLS_ISO8859_15=y
 CONFIG_NLS_UTF8=y
 
 linux-2.6.27
 
 CONFIG_NLS_ASCII=y
 CONFIG_NLS_ISO8859_1=y
 CONFIG_NLS_ISO8859_15=y
 CONFIG_NLS_UTF8=y
 
 So I set $CONFIG_NLS_ASCII differently for the new kernel. But as far
 as I understand, these refer to the handling of file names (it's in
 the section file systems), and only specify what is supported, so I
 don't see how this could have an effect on console encoding.
 
 The only thing I am dead sure about is that the kernel itself must be
 the culprit, because when I boot the old kernel, this behaviour goes
 away. There is absolutely no change in the system otherwise. (The
 $UNICODE variable in /etc/rc.conf is set to no.)
 
 Can anyone give me a hint where to look what I have messed up? Emacs,
 which I sometimes like to use on the console, is particularly
 uncomfortable with this, and I seem to write confusing e-mails.
 
 Many thanks in advance for any hint,
 
 Florian
 
 

Genrally speaking: switch to utf-8! There are many tools which can 
convert your files automatically.

To your issue:

Well, there still is /etc/conf.d/consolefont which could mess up things. 
Or the locales...

But the different bahavior of the two kernels is strange...
Is CONFIG_NLS_DEFAULT different of the two kernels? Maybe it's also 
related to the kernel build in keymap...

Maybe you should try the gentoo-user-de list, maybe there is someone 
whon ran into the same problem...

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpPDhROIIS0D.pgp
Description: PGP signature


Re: [gentoo-user] Command for sync history

2009-02-25 Thread Sebastian Günther
* Dale (rdalek1...@gmail.com) [24.02.09 07:53]:
 
 It's not IF you remember it.  I was thinking genlop at first then eix
 but q never even crossed my mind. 
 

Well, as a Trekkie, Q comes automatically in my mind when thinking about 
omnipotent...

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgp5EymCgjoJn.pgp
Description: PGP signature


Re: [gentoo-user] How to dim the display brightness

2009-02-23 Thread Sebastian Günther
* Damian (damian.o...@gmail.com) [23.02.09 10:19]:
 Hi,
 
 I cannot find the way to dim the brightness of the display on my
 laptop. It doesn't seem to be nothing useful in /proc/acpi neither I
 can find anything in google.
 
Did you enable the apropiate acpi drivers in the kernel? They depend on 
your laptop model...

 I would like the brightness of the screen to be dimmed when the
 computer is idle for a certain amount of time. Do you have any clues
 where I can start digging?

http://www.gentoo.org/doc/en/power-management-guide.xml

 
 Thanks in advance,
 Damian.
 

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpeTR2b8FPhN.pgp
Description: PGP signature


Re: [gentoo-user] How to dim the display brightness

2009-02-23 Thread Sebastian Günther
* Damian (damian.o...@gmail.com) [23.02.09 19:21]:
 On Mon, Feb 23, 2009 at 1:03 PM, Sebastian Günther
 sam...@guenther-roetgen.de wrote:
  * Damian (damian.o...@gmail.com) [23.02.09 10:19]:
  Hi,
 
  I cannot find the way to dim the brightness of the display on my
  laptop. It doesn't seem to be nothing useful in /proc/acpi neither I
  can find anything in google.
 
  Did you enable the apropiate acpi drivers in the kernel? They depend on
  your laptop model...
 Yes. But nothing seems to work.
 
acpi_os-name = Linux as kernel parameter might help.

and take a look if /sys/class/backlight/acpi_video0/ is present:
this is the kernel interface to set the brightness.

CONFIG_BACKLIGHT_LCD_SUPPORT

is the appropriate kernel config category to look at in recent kernels.

BTW which kernel are you using?

 I can do it by using nvidia settings, but the dimming is different
 from the one you get when pressing Fn + the dimming keys on a text
 console 
No doubt: the first dimms the videocard output, the latter the LCD.

(btw, this is a weird behavior: I cannot do key-based dimming
 when X is running).

I think that the Xserver catches this before reaching the hardware.

You can use xev to see which keycode is emmitted and then look in your 
desktop environment if this is match with some action.

 
  http://www.gentoo.org/doc/en/power-management-guide.xml
 Yep, I looked there, but the example don't apply to my laptop model :(
 
Well. it should be somehow applicable, because it is rather generic.

 Thanks.
 

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpDrRgkzjcUe.pgp
Description: PGP signature


Re: [gentoo-user] Command for sync history

2009-02-23 Thread Sebastian Günther
* Dale (rdalek1...@gmail.com) [24.02.09 05:56]:
 Hi,
 
 I read and even used this command several times but I can't remember
 what it is now.  I searched the forums and even searched through the
 30,000 emails from this list and can't find it.  I did search through
 the emails, not read them all.  I even did a equery files gentoolkit and
 portage, no bells went off there either.  Anyway, there is a command
 that you put -s after and it lists the sync date and times.  I just
 can't recall what it is.
 
 Any clues?  I'm loosing my little mind over here.   :/

qlop -s

man q is not that hard to remember

 
 Thanks
 
 Dale
 
 :-)  :-) 
 

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgphJ2PfVpjYy.pgp
Description: PGP signature


Re: [gentoo-user] opengl - howto get rid of Nvidia

2009-02-21 Thread Sebastian Günther
* Helmut Jarausch (jarau...@igpm.rwth-aachen.de) [21.02.09 10:55]:
 Hi,
 
 I have switched from a machine with Nvidia (proprietary) graphics driver
 to a machine with onboard radeonhd device.
 
 Now when reemerging xorg-server or trying to eselect opengl
 it always tries to find Nvidia's opengl.
 
 Of course, I have unmerged the nvidia driver.
 
 How can I get rid of the Nvidia heritage?
 
 Many thanks for a hint,
 Helmut.
 

Try:
eselect opengl set xorg-x11

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgppYOwbGdLBE.pgp
Description: PGP signature


Re: [gentoo-user] /etc/init.d/: ntpd or ntp-client?

2009-02-16 Thread Sebastian Günther
* Stroller (strol...@stellar.eclipse.co.uk) [16.02.09 02:10]:

 On 15 Feb 2009, at 21:51, Sebastian Günther wrote:
 * Stroller (strol...@stellar.eclipse.co.uk) [14.02.09 08:29]:

 On 4 Feb 2009, at 13:40, Justin wrote:

 Except that here, ntp-client seems to start *before* the network, so 
 fails
 to find the ntp-server.

 I'll investigate this more later.

 If you have baselayout2 and openrc check /etc/rc.conf for the following:

 rc_depend_strict=NO

 If you have this, this is your problem...

 Nope, sys-apps/baselayout-1.12.11.1 here.


Well in /etc/conf.d/rc iirc should be something similar...

 Stroller.


Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpdOWNFhztHk.pgp
Description: PGP signature


Re: [gentoo-user] /etc/init.d/: ntpd or ntp-client?

2009-02-15 Thread Sebastian Günther
* Stroller (strol...@stellar.eclipse.co.uk) [14.02.09 08:29]:

 On 4 Feb 2009, at 13:40, Justin wrote:

 Except that here, ntp-client seems to start *before* the network, so fails 
 to find the ntp-server.

 I'll investigate this more later.

 Stroller.



If you have baselayout2 and openrc check /etc/rc.conf for the following:

rc_depend_strict=NO

If you have this, this is your problem...

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpUsZdI7akRW.pgp
Description: PGP signature


Re: [gentoo-user] a multi-process browser?

2009-02-15 Thread Sebastian Günther
* Volker Armin Hemmann (volkerar...@googlemail.com) [15.02.09 15:45]:
 
 of course konqueror can block ads and scripts without 'extensions' 
 

Well, since you have to install most of the kde stuff *and* mysql: 
definetly a no go...

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpu85jrfEWRE.pgp
Description: PGP signature


Re: [gentoo-user] a multi-process browser?

2009-02-15 Thread Sebastian Günther
* Volker Armin Hemmann (volkerar...@googlemail.com) [15.02.09 23:31]:
 On Sonntag 15 Februar 2009, Sebastian Günther wrote:
  * Volker Armin Hemmann (volkerar...@googlemail.com) [15.02.09 15:45]:
   of course konqueror can block ads and scripts without 'extensions' 
 
  Well, since you have to install most of the kde stuff *and* mysql:
  definetly a no go...
 
  Sebastian
 
 except - you don't.
 
 

sam...@marvin ~ $ emerge -pvt konqueror

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

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy 
x11-libs/qt-sql:4[mysql].
!!! One of the following packages is required to complete your request:
- x11-libs/qt-sql-4.5.0_rc1 (Change USE: +mysql)
(dependency required by app-office/akonadi-server-1.1.1 [ebuild])
(dependency required by kde-base/kdepimlibs-4.2.0 [ebuild])
(dependency required by kde-base/kpasswdserver-4.2.0 [ebuild])
(dependency required by kde-base/konqueror-4.2.0-r1 [ebuild])
(dependency required by konqueror [argument])

Well, this somehow states the opposite.

Which useflag magic do I have to use to achieve that goal?

Sebastian 

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpOOI1ulUzGR.pgp
Description: PGP signature


Re: [gentoo-user] a multi-process browser?

2009-02-15 Thread Sebastian Günther
* Mike Williams (m...@gaima.co.uk) [16.02.09 00:50]:
 On Sunday 15 February 2009 22:57:24 Sebastian Günther wrote:
  Which useflag magic do I have to use to achieve that goal?
 
 -mysql
 
 Seems ebuilds have the ability to turn on use flags for themselves that the 
 user has given no preference to. Turn it off, and it's off.
 
Thank you that helped!

But still the 23 new packages from kde will let me stay with ff...

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpTmlhEnla7W.pgp
Description: PGP signature


Re: [gentoo-user] Can't login from terminal?

2009-02-11 Thread Sebastian Günther
* Chuanwen Wu (wcw8...@gmail.com) [12.02.09 05:41]:
 Hi,
 My gentoo worked very well in the past two years. But today I found
 that I can't login it from the terminal, but ssh login is OK.
 
 Have anybody ever encountered this problem?
 Any help will be appreciate!
 

man securetty

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgp2W3qxh42IZ.pgp
Description: PGP signature


Re: [gentoo-user] Segfaulting cryptsetup in init

2009-02-09 Thread Sebastian Günther
* Johan Blåbäck (johan.bluecr...@gmail.com) [09.02.09 09:40]:
 hi,
 
 I'm setting up this old computer of mine and why not encrypt it. I have
 done this on several computers before, but never have I gotten these
 kind of errors.
 
 the other programs in the init seems to run as they should; busybox and lvm.
 
 Any ideas on how to continue debugging or is there someone with the answer?
 

Forgot to compile the Crypto Algorithms in the kernel instead of as
modules? Since lvm runs, the lvm is obviously no module.

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpQVaXRv4jOc.pgp
Description: PGP signature


Re: [gentoo-user] ALSA config problem

2009-02-09 Thread Sebastian Günther
* Naga (nagat...@gmail.com) [09.02.09 19:35]:
 
 In the 2.6.28 kernel alsa is broken for hda-intel. Either use 2.6.27 series 
 kernel or use a live alsa ebuild.
 
Why can I listen to music and watch DVD with my hda-intel, if it's 
broken?

 /Regards
 Naga
 

Curious
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpMRFXrmY0C8.pgp
Description: PGP signature


Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-08 Thread Sebastian Günther
* Neil Bothwick (n...@digimed.co.uk) [07.02.09 22:42]:
 On Sat, 7 Feb 2009 20:43:04 +0100, Sebastian Günther wrote:
 
  If i have to do *multiple* installs for several copumters, which I do 
  not use myself, I choose debian, because fai rocks. 
  
  Shouldn't this fai be adopted for Gentoo? I should investigate if this 
  is possible...
 
 Did you look at quickstart, mentioned earlier in this discussion?
 
 

Nope, unless fai-quickstart was meant...

Any links?

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpu9WIEuafuf.pgp
Description: PGP signature


Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-07 Thread Sebastian Günther
* Nikos Chantziaras (rea...@arcor.de) [07.02.09 18:25]:
 Neil Bothwick wrote:
 On Sat, 07 Feb 2009 15:53:20 +0200, Nikos Chantziaras wrote:
 I'm not gonna duplicate what I wrote.  Read it again :P
 Repeating something does not increase its validity.

 That's why I didn't repeat it in the first place maybe?


 You stated that
 Gentoo needs a GUI installer. The number of people using it without one
 shows that is simply not true.

 Hmm.  OK, how 'bout this:

 Someone says that Linux is general is needed.  The number of people using 
 their computers without it shows that is simply not true.



Faulty argument:

We did not state that GUI installers are not needed in general, but that 
Gentoo in specific does not need one. For several reasons.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgp7akUeRH22k.pgp
Description: PGP signature


Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-07 Thread Sebastian Günther
* James Homuth (ja...@the-jdh.com) [07.02.09 18:29]:

 if Gentoo needs anything, it's a more accessible method of installing for
 those users who can't actually see the screen. Don't get me wrong, I love
 the distro for several reasons, but if I were to install linux locally on
 any of my desktops, it would probably be debian or ubuntu simply for the
 fact their methods of instalation are actually useable to me.bbb

If i have to do *multiple* installs for several copumters, which I do 
not use myself, I choose debian, because fai rocks. 

Shouldn't this fai be adopted for Gentoo? I should investigate if this 
is possible...

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpGueLOk3Rkd.pgp
Description: PGP signature


Re: [gentoo-user] Ctrl+c kills KOrganizer 4.2 when it should copy text

2009-02-06 Thread Sebastian Günther
* Arttu V. (arttu...@gmail.com) [06.02.09 13:37]:
 Hello,
 
 
 For example, KOrganizer edit menus still show shortcuts for copy,
 paste, etc as ctrl+something (ctrl+c for copy). However, when I'm
 adding a new event or todo and press ctrl+c to copy some text around
 -- boom, X closes itself and I'm back to the text console (I use
 startx from the text console, not graphical login screens).
 

Some application does not capture ctrl+c, which is normaly the interupt 
shortcut in bash. So it surely is passed down to bash which intrupts 
startx, since it is the active job.

I bet it won't happen with any Xsession started from any *dm.

If it's possible then please test this, anyway you should pinpoint down, 
where else it is possible to kill your Xsession, so that you can file a 
bugreport to the right people.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpu1ZKOqzjA9.pgp
Description: PGP signature


Re: [gentoo-user] Setting LANG/LC_ALL to html

2009-02-06 Thread Sebastian Günther
* Frank Schwidom (schwi...@gmx.net) [06.02.09 19:43]:
 On Fri, Feb 06, 2009 at 03:25:11PM +, AllenJB wrote:
 
 I want to handle html-files like UTF-8 or ISO-8859-1 files.
 
???

Where, why, whatfor?

I still not get it.

-vv

More context: Any specific app, any special purpose and what's not 
working as you wish.

 Regards
 

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpM3LXBa7K2N.pgp
Description: PGP signature


Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-06 Thread Sebastian Günther
* Nikos Chantziaras (rea...@arcor.de) [05.02.09 09:12]:

 Than I'll rephrase my statement: Gentoo would need a non-bugged GUI 
 installer ;)

No, Gentoo needs no GUI or CLI installer. It is very good, that if you 
install Gentoo for the first time, you must actually read the 
documentation, because it introduces you in the whole managing Gentoo 
stuff. What is important in the Handbook are not the commandline 
examples, but the surrunding text. Also you cannot just click away any 
defaults: Gentoo is about choise and YOU have to make the choices even 
when you are just installing. And you can only make good choices, when 
you read about them. BTW: Most of the choices have no meaningful 
default.

What would make things easier is a fully automated installer, that just 
duplicates/repeat your well-thought-out choices on reinstalls or 
multiple installs. Something like: Her is an xml file, eat this and see 
you tomorrow at lunch time with a smiling SLiM.


 Then they ran away yelling how bad this gentoo crap is that
 doesn't work at all unless you do a lot of black magic on the
 command line! Because I want full control over my system, but
 only clicking next. The OS should read my mind!

 I don't think anyone should care about that.  Installation and maintenance 
 are two different things.  A good GUI installer would pretty much allow you 
 to do the same things as the CLI installer.  It's just a different 
 interface.  And besides, installation is much more standardized than 
 actual maintenance.  There's no reason why a GUI installer can't do the 
 same things as the CLI one.  You'll just have GUI widgets instead of 
 text-mode characters, maybe with a lot of automation and safe defaults 
 thrown in.


Well, there isn't even a CLI installer. And on Gentoo I have to 
disagree on the fact that that installation is always the same, the very 
fact of kernel configuration makes it impossible to standardize 
anything.

And Genkernel is so Un-Gentoo: If you don't know how to configure your 
kernel, you have chosen the wrong way at the very beginning.

 Personally, even though I'm an old fart (I installed Slackware when it 
 first came out, used it for years), I prefer GUI installers. Installation 
 is *boring*.  I need to do the steps manually even though they're pretty 
 much the same every time you install.

You don't need a GUI: you need an automatic installer. 

 I'm OK with CLI maintenance.  But for the installer I really prefer GUI.



 If we clear that from the beginning so everyone knows what to
 expect from gentoo AND WHAT GENTOO EXPECTS FROM YOU then that
 problem is gone.

 You don't need to make such a statement through the installer.  There are 
 other, more suitable places for this.  Like in the docs, website, or a 
 notice in the... installer :)

 Also, Gentoo isn't really black magic.  There's no good reason why emerge 
 for example isn't GUI based.  Or revdep-rebuild.  Or layman. Or...  I hope 
 you get the point ;)  Yes, those things need a lot of work and there are no 
 people willing to do the task.  But I'm just trying to make a point here: 
 the way you do maintenance in Gentoo isn't based on the traditional Unix 
 tools.  That means, you could have GUIs for all of them.


Well, you have to have CLI, because X is not mandatory. 
Besides: If you want GUI, write it. It is not that hard to write a 
wrapper around those tools, which uses gtk or qt or whatever gui 
toolkit.


 But I'm drifting.  The installer is pretty much separated from all this.  
 After all, all it needs to do is set up stage3 and tweak the settings.



 GUIs for the simple things is good.  Maybe CLI for the hairy stuff.


I hate GUIs. Clicking is for Apple Users...


 Someone would argue that's too hard to start, but that's why
 we have excellent docs, mailing lists, forums and irc, with
 a very high traffic and lots of friendly people giving away
 their time for free to help you. So, whomever can't find a
 way is either too lazy or too shy to talk to the people around.
 Gentoo was never meant to win a popularity price. I prefer to
 stay without nothing at all that to have the lot of problems
 that the installer has been creating during 3 years of existence.
 It harmed the gentoo popularity (if you like that argument)
 much more than the lack of a installer.

 But popularity is good for the project.  It ensures that it stays healthy, 
 supported and can draw in new devs.  If popularity gows down, devs leave, 
 more bugs show up that don't get fixed, etc.


But Gentoo is for nerds. For those who know what they are doing. For the 
ones that what to learn what is really going on and the ones that only 
want those things they need, not what a maintainer thought would be 
useful to have.

Gentoo does not need the usual computer user nor can it serve them: 
There is too less knowledge to make appropiate choices.

This does not disclose people who have the faintest idea what a kernel config 
from using it, but from maintaining and 

Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-06 Thread Sebastian Günther
* Dale (rdalek1...@gmail.com) [06.02.09 23:56]:
 
 This was one thing I liked about Mandrake, now Mandriva.  Put in the CD,
 boot up, set up drives, select ALL the software you can stand, let it
 install and then reboot.  What really made it good, when you reboot, ALL
 your software is already installed.  Dang that was cool.  It doesn't run
 as fast as Gentoo but if you want a Linux install in a hurry, that is
 one way to get it.  Then you can use Mandrake to do your Gentoo
 install.  chroot works wonderfully.  Run into a problem, just go to a
 browser and search the forums etc to get help.
 
*Install* Mandrake, to install Gentoo?

Where were you when Klaus invented Koppix...

 All this beats winders hands down. 
 
This surely not...

 Dale 
 

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpRHxrx0K2Vv.pgp
Description: PGP signature


Re: [gentoo-user] cnn.com flash videos crash firefox

2009-02-02 Thread Sebastian Günther
* Stroller (strol...@stellar.eclipse.co.uk) [01.02.09 00:23]:

 On 31 Jan 2009, at 22:54, Grant wrote:

 Oh I get it, the computer doesn't want me to see the Obama video.  Yes
 that's funny.

 Oh, what an intelligent machine you've got ;-p
 Did it already point you to Tarpley's biography about Hussein Obama ?
 Or to Obma's connections to Brezinski (the one who wants to get
 China into war against Russia) ?

 What could there be that wasn't already exposed during a very long
 election campaign?

 IT WAS HUSHED UP BY TEH LIBERAL MEDIA!!!

 WAKE UP SHEEPLE!!



Just a honest question from Germany:

Which ones are the liberal medias overseas?

Since from here I wouldn't call anything I know liberal, let alone 
anything progressive...

Sebastian

-- 
Calvin: It says here that Religion is the opiate of the masses
... what do you suppose *that* means?
TV: ... it means Karl Marx hadn't seen anything yet.

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgplPoWXl24yi.pgp
Description: PGP signature


Re: [gentoo-user] Re: how to hold a package at a specific version (so emerge -uD world doesn't change it)?

2009-01-29 Thread Sebastian Günther
* Miernik (pub...@public.miernik.name) [29.01.09 11:09]:
 
 Well, it could take days, weeks, or more before the bug report is taken
 care of, and I don't want to wait with my upgrade of the rest of the
 system.
 
doesn't

emerge --skipfirst

ring any bell?

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpeCFH1Jyqrl.pgp
Description: PGP signature


Re: [gentoo-user] modules in use

2008-12-05 Thread Sebastian Günther
* Harry Putnam ([EMAIL PROTECTED]) [05.12.08 20:56]:
 How can I tell which modules of those listed by `lsmod' are actually
 being used?
 
The third column of lsmod is headed with Used by and consists of a 
number and a list of modules which use it.

Everything with a 0 is not used.

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpQsA17Pk4oZ.pgp
Description: PGP signature


Re: [gentoo-user] Getting rid of all kde components

2008-11-18 Thread Sebastian Günther
* Dirk Heinrichs ([EMAIL PROTECTED]) [18.11.08 07:53]:
 Am Dienstag 18 November 2008 07:14:02 schrieb ext Harry Putnam:
 
  I've decided to stop using KDE after yrs of use... given that gentoo
  compiles everything from scratch, its just getting to much time lost
  jacking around with kde during upgrades.
 
 Hmm, you already complained about installation (or compile) time in the cfg-
 update thread. Why did you choose Gentoo, if you don't like compiling stuff?
 

Because it is about choice, and if you choose, not to use KDE, then you 
can do it.

You can even choose not to use qt, and leave a whole bunch of bloated 
libs out.


 BTW: I run KDE updates in the night.
 

Well, I never compile KDE. One big monster like Gnome is enough...

 Bye...
 
   Dirk
 

[EMAIL PROTECTED]@N

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgp84M3UJBCuX.pgp
Description: PGP signature


Re: [gentoo-user] Kernel 2.6.26 and iwl3945

2008-11-17 Thread Sebastian Günther
* Florian Philipp ([EMAIL PROTECTED]) [16.11.08 12:03]:
 
 Can anyone say: Yeah, I use the iwl3945 driver with 2.6.26 and it works
 flawlessly for me. If so, could you please post your exact kernel
 version (for example gentoo-sources-2.6.26-r2) and your kernel config?
 

Well, I use the iwl3945 without any problem:

tuxonice-sources-2.6.26 (config attached.)

But as you see I use tuxonice, and there are no problems with 
sleeping/waking since tuxonice unloads the module.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


config.gz
Description: Binary data


pgpdbFPommPGr.pgp
Description: PGP signature


Re: [gentoo-user] Prevent sshd from stopping?

2008-10-16 Thread Sebastian Günther
* Grant ([EMAIL PROTECTED]) [16.10.08 01:26]:
 One of my Gentoo systems is located in a separate building from the
 router.  The wireless connection always seems to be strong, but
 periodically the services that depend on net.ath0 stop because it
 loses the connection.  Issuing 'rc' always brings them back.  Is there
 any way to prevent this from happening?  I'm mainly concerned about
 sshd.
 
 - Grant
 

Then let them depend on net.lo.

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpreJbrklBqL.pgp
Description: PGP signature


Re: [gentoo-user] hduitil for linux

2008-09-26 Thread Sebastian Günther
* Andrey Vul ([EMAIL PROTECTED]) [26.09.08 04:45]:
 On Thu, Sep 25, 2008 at 4:23 AM, Joerg Schilling
 [EMAIL PROTECTED] wrote:
  Andrey Vul [EMAIL PROTECTED] wrote:
 
  Also, AFAIK UDF doesn't support embedded control characters in files
  (i.e. Icon\r).
 
  This claim is of course wrong.
 I beg to differ.
 Output of ls -Alh in the Installer.app dir is supposed to show
 Icon?. UDF image shows Icon_ instead.
   ^
Are completely sure that this is a question mark?

 This is enough for me to lose trust in UDF for hybrid CD/DVDs :(

 1993-1997 Eric Youngdale (C) 1997-2008 Jörg Schilling
  ^^
  Because this indicates some 
problems with your locale and question marks are often used if a 
charakter can't be displayed correctly.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpslkKvJlFid.pgp
Description: PGP signature


Re: [gentoo-user] Weird networking problem

2008-09-22 Thread Sebastian Günther
* Michael Sullivan ([EMAIL PROTECTED]) [22.09.08 13:39]:
 
 Can you tell me where it is?  Control Panel?  Somewhere else?
 
 
Not for sure, I have no Windows at hand at the moment.

I think it was Start  Settings  Network Something

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpA15InlXvxw.pgp
Description: PGP signature


Re: [gentoo-user] Weird networking problem

2008-09-21 Thread Sebastian Günther
* Michael Sullivan ([EMAIL PROTECTED]) [21.09.08 21:59]:
 I’m trying to set up Gentoo in a Virtualbox on my laptop (running Windows
 Vista).  I’m using the 2007 liveCD image, although I’ve had this same
 problem with the 2008 liveCD image.  The problem is that I can access web
 pages with links, like www.gentoo.org, but I can’t ping anything.  Also,
 when I tried to download the stage tarball in links, it just showed me a
 console-graphical representation of the data in the tarball and would not
 allow me to download the data as a tarball.  When I tried to use wget to
 get the data, it gave me the same problem as ping did – that the location
 did not exist.   What should I do?   The IP address of the laptop is
 192.168.1.102 with the gw at 192.168.1.1, but ifconfig claims the laptop
 is using inet address 10.0.2.15, yet still somehow it can get to
 www.gentoo.org.  What should I do?
 

Read the documentation of your virtualbox solution, search for bridging.

 
HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpSxacTnSswU.pgp
Description: PGP signature


Re: [gentoo-user] Weird networking problem

2008-09-21 Thread Sebastian Günther
* Michael Sullivan ([EMAIL PROTECTED]) [22.09.08 01:16]:
 
 In the VirtualBox user manual, the section that talks about bridging, it
 says in one part:
 
 If your host is running Windows XP or newer, you can also use the built-in
 bridging
 feature to connect your host interfaces to your physical network card.
 After creating
 the desired host interfaces, select your physical network adapter in the
 Network Connections
 folder and the desired host interface adapters and select “Bridge
 connections”
 from the popup menu.
 
 My laptop runs Windows Vista, but I don't know what is meant by the phrase
 Network Connections folder.  Is it a virtualbox thing?  Is it a Windows
 thing?  Either way, where is it?

It is the Windows thingy...

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpZg2T6zM8XF.pgp
Description: PGP signature


Re: [gentoo-user] generating HFS+ isos

2008-09-20 Thread Sebastian Günther
* Joerg Schilling ([EMAIL PROTECTED]) [19.09.08 18:42]:
 
 It seems that you missunderstand things. The people behind cdrkit are on a 
 crusade against free software. 
 
 
 The fact that many people by default use the Debian fork that is outdated, 
 buggy, violates GPL and Copyright makes it obvios that people still need the
 bit more background information I added to my mail.
 

We are on the gentoo *user* list: Most people here can't change any 
default. If you want to change that default: goto gentoo-dev and 
complain there.

But still this is gentoo: so everyone has the choice to use whatever 
software is in portage.

But I just said, that you should point the people to how they can use 
portage to install your solution.


Sebastian Why the heck I'm helping you? I won't use any of your 
software Günther

 Jörg
 

BTW: You still did not proove your accuses about the copyright 
violations. And if you have proove, please submit it to 
gpl-violations.org.

And do link or quote them on your infamous website.

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpTvps2pQxEI.pgp
Description: PGP signature


Re: [gentoo-user] generating HFS+ isos

2008-09-19 Thread Sebastian Günther
* Joerg Schilling ([EMAIL PROTECTED]) [19.09.08 12:02]:
 
 Get a recent cdrtools from:
 
 ftp://ftp.berlios.de/pub/cdrecord/alpha/
 

No need for that: 

# emerge cdrtools 

should be sufficient...

 
 Jörg
 

Jörg, we know you are on the crusade against cdrkit, but please remember 
that cdrtools are in portage. It should be enough to tip the users into 
using it.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgp6cu1J231Uj.pgp
Description: PGP signature


Re: [gentoo-user] Weird df listing

2008-09-02 Thread Sebastian Günther
* Volker Armin Hemmann ([EMAIL PROTECTED]) [02.09.08 15:40]:
 On Dienstag, 2. September 2008, Michael Sullivan wrote:
  Can someone please explain to me what's going on with /dev/sda6?  I
  couldn't log into GNOME after my reboot yesterday, and when I asked for
  a df listing in the console, I got this.  Shouldn't there be 4GB
  available?
 
  camille ~ # df -h
  FilesystemSize  Used Avail Use% Mounted on
  /dev/sda6  78G   74G  0G  100% /
  ^^

  udev   10M  184K  9.9M   2% /dev
  /dev/sda7  52G   40G   12G  78% /mnt/store
  shm   247M 0  247M   0% /dev/shm
  catherine:/backup  44G   34G  8.5G  80% /backup/catherine
 
 you have space left, but the inodes are all used up.
 
No, I don't think this is an issue with the inodes.

These are the 5% for the superuser, that are missing.

Definetly time to clean up the disk and remove unneeded files.

 Typical problem for fs like extX.
 
But only on small partitions.

 

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpoQrQIttgMM.pgp
Description: PGP signature


Re: [gentoo-user] emerge -1 `eix -Iu --only-names` removing old version of Python

2008-09-01 Thread Sebastian Günther
* Mick ([EMAIL PROTECTED]) [01.09.08 19:35]:
 On Sunday 31 August 2008, Neil Bothwick wrote:
  On Sun, 31 Aug 2008 09:04:03 +0100, Mick wrote:
   $ eix -Iu --only-names
   app-arch/lzma-utils
   dev-libs/libsigc++
   media-plugins/gst-plugins-x
   media-plugins/gst-plugins-xvideo
   sys-apps/hdparm
   sys-kernel/gentoo-sources
   virtual/perl-Test-Harness
  
   However, when I run emerge -upDv --with-deps y world I get just one
   package:
  
   Where's the others gone?
 
  Probably old dependencies that are no longer needed? Did you run
  emerge --depclean -p?
 
 No!  --depclean is evil!  :))  (and/or my system is borked).
 

Your system is borked! ;-)



 It tells me to remove dev-python/pycrypto, when portage seems to depend on it:
 
 # equery depends dev-python/pycrypto  
 [ Searching for packages depending on dev-python/pycrypto... ]
 sys-apps/portage-2.1.4.4 (!build? =dev-python/pycrypto-2.0.1-r6)
 

Well you could just add it to your world file, but I really think there 
is something misconfigure on your system. 

 Also, it tells me to remove hdparm-8.6.  I noticed that there is a 8.7 
 version 
 available, but emerge -uDv world does not pick this up . . .  why would that 
 be so?
 

hdparm is not in the world file, and since no other package is depending 
on it, portage is considering it's removal.

with emerge -n hdparm you can add it.

 # emerge -upDv hdparm
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild U ] sys-apps/hdparm-8.9 [8.6] 75 kB 
 
 Total: 1 package (1 upgrade), Size of downloads: 75 kB
 # emerge -upDv world 
 
 These are the packages that would be merged, in order:
 
 Calculating world dependencies |
  ... done!
 
 Total: 0 packages, Size of downloads: 0 kB

All correct: hdparm is not in your world file.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgp2tRlaa0t1I.pgp
Description: PGP signature


Re: [gentoo-user] emerge -1 `eix -Iu --only-names` removing old version of Python

2008-09-01 Thread Sebastian Günther
* Mick ([EMAIL PROTECTED]) [01.09.08 20:22]:
 
 Where should I look?
 

An emerge --info is a start..

 
  with emerge -n hdparm you can add it.
 
 Sure, but I had emerged (many years ago) so it should be in there, right?
 

Not necessarily, maybe you unmerged the package which required it, 
removed the useflag which pulled it in or the dependency simply 
vanished.

So just look at /var/lib/portage/world if it's in there.

If not: emerge -n hdparm, if you still want it.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpe79V6YDz8B.pgp
Description: PGP signature


Re: [gentoo-user] emerge -1 `eix -Iu --only-names` removing old version of Python

2008-09-01 Thread Sebastian Günther
* Neil Bothwick ([EMAIL PROTECTED]) [01.09.08 23:14]:
 On Mon, 1 Sep 2008 11:49:36 +0100, Mick wrote:
 
 
  It tells me to remove dev-python/pycrypto, when portage seems to depend
  on it:
  
  # equery depends dev-python/pycrypto  
  [ Searching for packages depending on dev-python/pycrypto... ]
  sys-apps/portage-2.1.4.4 (!build? =dev-python/pycrypto-2.0.1-r6)
 
 equery is borked. pycrypto is a conditional dependency of portage, but
 equery depends takes no accounts of that, emerge --depclean does.
 

But it is a *negativ* condition: portage is not depending on pycrypto if 
and only if the build useflag is specified, which noone should specify.

So --depclean should not consider it to be removed.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpPvMwRwmKi2.pgp
Description: PGP signature


Re: [gentoo-user] df and du difference

2008-08-16 Thread Sebastian Günther
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) [16.08.08 07:51]:
 Hi, 
 
 I've a strange problem with  my root partion:
 
 the difference between du and df is about 640 - 188 = 452 MB. and df is 
 showing  that my root is full  2.4 times more than du.
 
 which one is the correct one? I've another server that this difference is 
 about 7 GiG and on that server root is 80% full.  The type of partition is 
 ext3.
 

df shows you the available space on the fs and du the size of the files 
inside it.

The difference is caused by the journal and the 5% reserved for the 
superuser, which du does not take in account

 Do others have this kind of inconsistancy on their systems?
 
I would think everyone, who does not have changed the default settings 
from mkfs.ext3.

 Best regards
 Platoali
 

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgptkEJtHCoTw.pgp
Description: PGP signature


Re: [gentoo-user] Re: df and du difference

2008-08-16 Thread Sebastian Günther
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) [16.08.08 10:08]:
 
 I've another question. On my server root is 80% full and last weed it was 98% 
 full. if it get to 100% , How can I delete or flush Journals to free some 
 space?
 
That is what the 5% are for, as you saw there where stated as not 
available but they are for the superuser for such things.

BTW: Why is your root so full, or didn't you partionate your disk?

 best wishes
 Platoali 
 

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpqwDZGH2Mnm.pgp
Description: PGP signature


Re: [gentoo-user] Re: df and du difference

2008-08-16 Thread Sebastian Günther
* Platoali ([EMAIL PROTECTED]) [16.08.08 11:14]:
 Sebastian Günther wrote:
  That is what the 5% are for, as you saw there where stated as not
  available but they are for the superuser for such things.
 
 So there is no way to free some space from journals.
 
 
  BTW: Why is your root so full, or didn't you partionate your disk?
 
 I did not partitioned it myself. This server is inherited to me from last 
 admin.
 
 ~# df -h
 FilesystemSize  Used Avail Use% Mounted on
 /dev/sda1  19G   14G  3.5G  81% /
 varrun2.0G   76K  2.0G   1% /var/run
 varlock   2.0G 0  2.0G   0% /var/lock
 udev  2.0G   88K  2.0G   1% /dev
 devshm2.0G 0  2.0G   0% /dev/shm
 /dev/sdb5  93G   59G   27G  69% /mnt/backup
 /dev/mapper/main-usr   15G  601M   14G   5% /usr
 /dev/mapper/main-var   30G  1.7G   27G   6% /var
 /dev/mapper/main-db69G  9.5G   56G  15% /var/lib/postgresql
 /dev/sdc1  68G   35G   30G  55% /home/archive
 
 ~#  du --max-dep 1  -c  -hx  /
 4.2M/etc   
 36M /tftpboot  
 16K /lost+found
 3.8G/tmp   
There is definetly to much in it...

 18M /boot  
 1.4G/home  
From the df I would have thought here is more in it...

Are there any normal users on this machine

 8.0K/mnt   
 12K /media 
 254M/root  
 4.0K/var   
 4.0K/srv   
 0   /sys   
 4.0K/initrd
 77M /lib
 0   /proc
 4.0K/opt
 4.0K/usr
 6.4M/sbin
 3.5M/bin
 0   /dev
 5.5G/
 5.5Gtotal
 
OK here is a diference to big to be normal between df and du.

14GB against 5.5GB

We are definetly missing something...

 Last week, I was alarmed  that / root is 98 percent full. but I could not 
 find 
 any reason why server is full. and a restart freed  8 gig of space. but now 
 it 
 is again getting full slowly. 
 
That's /tmp: try to watch, what actually is writing in it.

 Any comment?
 
 best wishes
 Platoali
 


There is something wrong in the state of denmark...
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgplM3aMmhUdr.pgp
Description: PGP signature


Re: [gentoo-user] Re: df and du difference

2008-08-16 Thread Sebastian Günther
* Platoali ([EMAIL PROTECTED]) [16.08.08 13:13]:
  Sebastian Günther wrote:
  OK here is a diference to big to be normal between df and du.
 
  14GB against 5.5GB
 
  We are definetly missing something...
 
 
 Yes, that is the strange thing. 
 
This should definetly be investigated. This could be a hint that there 
is someone else using this server, e.g. it could be hacked...

   Last week, I was alarmed  that / root is 98 percent full. but I could not
   find any reason why server is full. and a restart freed  8 gig of space.
   but now it is again getting full slowly.
 
  That's /tmp: try to watch, what actually is writing in it.
 
 I will  add a new hard and mount /tmp to it. I thing that is them most 
 sensible solution.
 

No, you should definetly find out, who is writing such an enourmous 
amount of data into your /tmp.

This is not OK, especially, if you can't find, what this actually is.

 
 
 Thanks 
 Platoali
 

A sysadmin has always to be paranoid. And if I don't know what's going 
on THEY are involved...

concerned
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgp9p9n0KPw8J.pgp
Description: PGP signature


Re: [gentoo-user] Synchronizing my music collection

2008-08-13 Thread Sebastian Günther
* Grant ([EMAIL PROTECTED]) [13.08.08 03:31]:
 
 Man, rsync is easy to use.  I imagined something else. 

Try Bakula with a robotarm tape changer to keep the two things in 
sync... ;-)

 Would rsnapshot be useful in this case?

Defacto rsnapshot is just an elaborate wrapper around rsync...

 What are the advantages of using a daemon instead of remote-shell?

What daemon? Did I miss something? Be kind: rewind...

 
 - Grant
 

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpG578Ewlnzw.pgp
Description: PGP signature


Re: [gentoo-user] Low Battery System Beep

2008-08-05 Thread Sebastian Günther
* Benoit St-Pierre ([EMAIL PROTECTED]) [05.08.08 04:58]:
 When my battery gets below 10% my laptop has a very loud system beep. I
 thought I disabled the PC speaker in the kernel.
 
 Any one have a clue as to what could be causing this?

Maybe this is set in your BIOS?

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpoGGQdnXjg8.pgp
Description: PGP signature


[gentoo-user] fbcondecor_helper howto

2008-08-04 Thread Sebastian Günther
Hi,

since Google does not spit out anything useful, nor any useful 
documentation is installed with splashutils, I hope someone here has
deeper knowledge of fbcondecor_helper.

I build my own initrd, based on this 
http://gentoo-wiki.com/SECURITY_System_Encryption_DM-Crypt_with_LUKS

I stripped down the init script for my needs and added some 
functionality not provided there(LVM within the encrypted partition). So
far, so good.

But now I wanted to add a moving progress bar to the splash, and I 
simply don't know howto achieve this goal.

I've been able to change the text shown on the status line via this 
command, stolen from the HowTo:
splash_message() {
local msg=${1};
BOOT_MSG=${msg} fbcondecor_helper 2 'repaint'
}

So how do I use fbcondecor_helper to step the progress bar?

Greetings
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpybAkqijXQn.pgp
Description: PGP signature


Re: [gentoo-user] move instalation from one system to another one.

2008-07-30 Thread Sebastian Günther
* Platoali ([EMAIL PROTECTED]) [30.07.08 10:57]:
 Hi,
 
 My old laptop  is dying. I'm going to move my gentoo installation to a new 
 one.  The old one was an old Pentium-M and the new one is core due. I want to 
 to tar the root and boot and ..  files from the old one to untar it to the 
 new one. I want to know,  What packages needs to rebuild  (with What flags?) 
 in the old one so that I would have a basic runable system  in the new that I 
 can rebuild all the packages on the new system with the new FLAGS?
 
 Did anyone do this in the past? Have anyone any experiences regarding this 
 issue? Any comments? suggestions?
 
 This is my old laptop make.conf
 
 CHOST=i686-pc-linux-gnu
 CFLAGS=-march=pentium-m -O2 -pipe
 CXXFLAGS=${CFLAGS}
 MAKEOPTS=-j2
 

Don't do it.

I think your kernel will only support the pentium-m and most of the 
software also. So a emerge -e world would bee necessary.

Normal Gentoo Installations are highly optemized for the specific 
hardware. That is the whole point about using gentoo.

so save your world file and then setup up gentoo fresh and new. Won't be 
that long, as you now own a core 2 duo...

 Best regards
 Ali Yazdi 
 

If you want such functionality, use Debian or Ubuntu.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpwfyJkrrjJR.pgp
Description: PGP signature


Re: [gentoo-user] Why isn't libxslt updated by emerge world?

2008-07-25 Thread Sebastian Günther
* Grant ([EMAIL PROTECTED]) [25.07.08 17:24]:
 
 But there is:
 
 # emerge -pv libxslt
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild U ] dev-libs/libxslt-1.1.24 [1.1.20] USE=crypt python
 -debug -examples% 3,286 kB
 
 That's the confusing part.
 
 - Grant
 

OK, did you call

emerge -avtDuN world?


Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpigCltm7nVs.pgp
Description: PGP signature


Re: [gentoo-user] Why isn't libxslt updated by emerge world?

2008-07-25 Thread Sebastian Günther
* Grant ([EMAIL PROTECTED]) [25.07.08 20:36]:
  But there is:
 
  # emerge -pv libxslt
 
  These are the packages that would be merged, in order:
 
  Calculating dependencies... done!
  [ebuild U ] dev-libs/libxslt-1.1.24 [1.1.20] USE=crypt python
  -debug -examples% 3,286 kB
 
  That's the confusing part.
 
  - Grant
 
 
  OK, did you call
 
  emerge -avtDuN world?
 
 Of course, that's the confusing part. :)
 
 - Grant
 

Maybe it is just a buildtime dependency, if you only have the doc 
USE-flag and not the xsl USE-flag enabled, this is very likely the 
cause.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpyudQFch1uw.pgp
Description: PGP signature


Re: [gentoo-user] Why isn't libxslt updated by emerge world?

2008-07-25 Thread Sebastian Günther
* Grant ([EMAIL PROTECTED]) [25.07.08 21:23]:
 
  Maybe it is just a buildtime dependency, if you only have the doc
  USE-flag and not the xsl USE-flag enabled, this is very likely the
  cause.
 
 I actually don't have doc or xsl USE explicitly enabled.  depclean
 wants to remove libxslt, so I'm doing that.  It's confusing because
 'equery depends libxslt' says php and glib depend on libxslt.  I guess
 that's the buildtime dependency you're talking about?  Does that mean
 the package only needs to be installed while php and glib and being
 compiled, and can then be removed?
 
euse -i doc xsl
will give you info which is activated.

Remeber: php only depends on xsl when the use flag xsl is activated. the 
same goes for glib, and because it's only the doc use flag which 
activates it, I strongly believe libxslt is only needed to build the 
documentation, since I doubt there is a runtime dependency for 
documentation...

 - Grant
 

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpmLvYwyJIWz.pgp
Description: PGP signature


Re: [gentoo-user] Can't emerge xfce4 with installed lprng. :-(

2008-07-24 Thread Sebastian Günther
* Alan Mackenzie ([EMAIL PROTECTED]) [24.07.08 11:42]:
 Hi, excellent people!
 
 Having got X11 installed and working, I need a window manager.  Why
 not XFCE, as supplied on the installation disk?
 
 # emerge xfce didn't work - Portage: Don't know what xfce is.
 Scrabbled aroud /usr/portage, then # emerge xfce4 started working.
 
 Why the 4 do I have to type xfce4, not xfce?  Anyhow, that's a minor
 point.
 
Just a tip: maybe you should use emerge -s for such things, or eix.
And iirc there were older xfce implementation besides xfce4 in the tree

 The major point was that portage refused to install xfce because it said
 that
 
 [blocks B ] net-print/lprng (is blocking net-print/cups-1.3.7-r1)
 [blocks B ] net-print/cups (is blocking net-print/lprng-3.8.28)
 
  * Error: The above package list contains packages which cannot be
  * installed at the same time on the same system.
 
 .  I.e., it wants to override my decision to use lprng as print program
 and put in cups instead.  This is a bit of a cheek!
 
 Why isn't xfce configured merely to install some print daemon, rather
 than specifically cups?  For that matter, why must it install a print
 daemon at all?  Not every X user has a printer or wants to print.
 
 What can I do about this?  I really don't want to have to install cups.
 

xfce4 is just a meta package, meaning the only purpose is to give you 
dependencies on the real packages. And this dependencies are quite 
general to meet the most people's needs.

Just look in the ebuild to get a starting point. And now by doing it 
myself, I see that it honors the cups useflag. It maybe enable by your 
profile. So disabling it might resolve your problem.

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpL7GwR96nrq.pgp
Description: PGP signature


Re: [gentoo-user] Can't emerge xfce4 with installed lprng. :-(

2008-07-24 Thread Sebastian Günther
* Alan Mackenzie ([EMAIL PROTECTED]) [24.07.08 23:02]:
 Hi, Sebastian,
 

I don't know where it is explained, but I try to explain what I know 
until now about this.

 I'm still very confused by profiles, though I obviously need to get to
 grips with them.  What is a profile, _EXACTLY_?  Where in the
 documentation can I find a description which says something like  a
 profile is a directory which contains the following files and then lists
 them?  There are lots of instructions to set foobar in your profile,
 but the only description I've found so far just says A profile is a
 building block for any Gentoo system in the Gentoo Linux x86 Handbook,
 and then goes on to describe what a profile _does_ in abstract terms but
 not what it _is_ in terms of directories and files.  That section says
 that I have the option of choosing another profile too, but not how to
 recognise a profile from a random directory or file.  I don't understand
 how to select it.
 
You select your profile by choosing a directory (in any depth) under 
/usr/portage/profiles link it to /etc/make.profile.

 I have a link 
 
 /etc/make.profile - /usr/portage/profiles/default/linux/x86/2008.0
 
 , set up as suggested in the handbook.  Is .../2008.0 my profile?  Is
 this valid?  There doesn't appear to be anything of substance there.
 
your profile is default/linux/x86/2008.0

 On the other hand the handbook says a few lines lowere, I should select a
 profile with:
 
# ln -snf /usr/portage/profiles/profile name   /etc/make.profile.
 
 In that directory, /usr/portage/profiles, there are both subdirectories
 (e.g. default-linux) and some files (e.g., make.defaults,
 packages.builds).  Is profile name one of the directories rather than
 a file?  It looks almost as though there's some sort of hierarchical
 inheritance going on.
 

portage recurses upwards to /usr/portage/profiles and read all files in 
the directories on the way upwards. So every file in 
/etc/portage/profiles is member of all profiles and what is found on the 
way down to your choosen directory is *added* to your specific profile.

So by choosing a profile you choose a stepwise patch way to the files 
in /usr/portage/profile

 Please tell me that this is clearly explained somewhere.
 

Sorry no links I know of.

 Thanks!
 

HTH
Sebastian

BTT: What does euse -i cups state?

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpBcJdcF4xAd.pgp
Description: PGP signature


Re: [gentoo-user] Why isn't libxslt updated by emerge world?

2008-07-24 Thread Sebastian Günther
* Grant ([EMAIL PROTECTED]) [25.07.08 00:46]:
 I'm synced up and emerge world doesn't want to emerge anything, but
 python-updater wants to re-emerge an old version of libxslt which is
 currently installed, which looks like it should have been updated via
 emerge world:
 
 # equery depends libxslt
 [ Searching for packages depending on libxslt... ]
 dev-lang/php-5.2.6-r2 (xsl? dev-libs/libxslt)
 dev-libs/glib-2.16.3-r1 (doc? =dev-libs/libxslt-1.0)
 
 Can anyone explain this?
 

As you stated correctly: phython-updater wants *re*-emerge libxslt, 
because something, in this case phython, on which libxlst depends has 
changed.

There is no update of libxslt, so why sgould emerge -u world bother?

 - Grant
 

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpQXcxAfuyTI.pgp
Description: PGP signature


Re: [gentoo-user] Changes in the way USB devices are mounted

2008-07-22 Thread Sebastian Günther
* Mick ([EMAIL PROTECTED]) [22.07.08 20:08]:
 Hi All,
 
 I suspect that something changed recently on the way that USB devices are 
 mounted.  I noticed that mounting a USB flash drive has stopped working as 
 follows:
No, I think pmount behavior changed:

it now honors entries in the fstab.



 $ pmount /dev/sda
 Error: device /dev/sda is not removable
 ==
 
Normally you should mount by mountpoint not device node.

 However, clicking on the device in Konqueror under media:/ mounts it happily 
 under /media/disk.  Previously it would mount it under /media/sda and the 
 pmount command would not error out as shown above.
 ==

I think, there is an apropiate entry in the fstab, so pmount has not to 
create an new mountpoint.

 $ mount
 [snip...]
 /dev/sda on /media/disk type vfat 
 (rw,nosuid,nodev,noatime,flush,uid=1000,utf8,shortname=lower)
 ==
 
 I also noticed that shortname=lower is set as the default, which is 
 annoying 
 because the file/folder names are forced to display in lower case.
 
OK what's in /etc/fstab?

 I am using dbus and hald with a Fluxbox WM so the default KDE behaviour with 
 the automounting pop up dialog does not work here (unless I have launched the 
 full KDE DE).
 
Then you should think about ivman if you want automounter support. And 
Fluxbox rocks :-)

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpAgNqjSLNSr.pgp
Description: PGP signature


Re: [gentoo-user] dev-python/setuptools conflict when running python-updater

2008-07-19 Thread Sebastian Günther
* Walter Dnes ([EMAIL PROTECTED]) [19.07.08 03:20]:
   I did some updates today.  emerge --sync and updated world on my
 production machine.  Things went OK, including running python-updater.
 Then I scp'd the contents of /usr/portage/distfiles over to my hot
 backup machine, ran emerge --sync (pointing at my production machine)
 and updated.  Just like on the main machine, /var/log/portage/elog had
 an advisory to run python-updater.  This time, it didn't work...
 
 ===
 d531 elog # /usr/sbin/python-updater
  * Starting Python Updater from 2.4 to 2.5 :
  *   Adding to list: =sys-libs/cracklib-2.8.10
  *   Adding to list: =net-mail/getmail-4.7.6
  *   Adding to list: =app-office/gnumeric-1.8.2
  *   Adding to list: =dev-java/java-config-1.3.7
  *   Adding to list: =dev-java/java-config-2.1.6
  *   Adding to list: =dev-python/python-fchksum-1.7.1
  *   Adding to list: =dev-python/docutils-0.4-r3
  *   Adding to list: =dev-python/setuptools-0.6_rc7-r1
  *   Adding to list: =dev-python/pycrypto-2.0.1-r6
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies \
 !!! Multiple versions within a single package slot have been 
 !!! pulled into the dependency graph:
 
 dev-python/setuptools:0
 
   ('ebuild', '/', 'dev-python/setuptools-0.6_rc7-r1', 'merge') (no
 parents)
 
   ('ebuild', '/', 'dev-python/setuptools-0.6_rc8-r1', 'merge') pulled in
 by
 ('ebuild', '/', 'dev-python/docutils-0.4-r3', 'merge')
 ===
 
   Masking out =dev-python/setuptools-0.6_rc7-r1 didn't work, so I'm
 considering removing it.  Having been burned before when unmerging
 core-utils (OUCH!!!) I thought I'd ask here before doing anything
 stupid.  How do I get around this python-updater problem?
 

Just make an 
# emerge -1 setuptools
and python-updater will run smoothly

If you are using gnome, also
# emerge -1 gnome-doc-utils

I hit the same bugs yesterday.

The second one is because python-updater seems to miss it and you would 
get a snadbox violation.

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpiETSLXzYXh.pgp
Description: PGP signature


  1   2   >