Gentoo is a Linux distribution designed to be automatically optimized and customized according to the user's need.

learn more… | top users | synonyms

13
votes
4answers
2k views

Why people recommend the -j3 option for make when having a dual-core CPU?

In Gentoo Linux it is possible to set the MAKEOPTS variable in /etc/portage/make.conf to tell make how many jobs it should run in parallel when building packages. Since I have a dual-core CPU, I ...
11
votes
4answers
4k views

Gentoo versus Funtoo [closed]

I've heard that Funtoo is a somewhat improved version of Gentoo, but I haven't been able to find any concrete sources for this. Funtoo's website says this: Funtoo Linux features native UTF-8 ...
11
votes
2answers
2k views

zsh wants to correct vim to .vim

I'm using zsh on Gentoo x64, and when I type sudo vim /path/to/file from my home folder, zsh asks: zsh: correct 'vim' to '.vim' [nyae]? I want to run vim not my .vim folder. How do I fix this? ...
11
votes
1answer
2k views

Using ABI_X86 in Gentoo

For one reason or another (I've been busy, I guess), it's been months since I've updated my Gentoo system. And, as you can imagine, this means there's a lot of packages (and USE changes) I need to go ...
10
votes
2answers
2k views

Correctly setting environment

I'm using zsh and gdm to run gnome. Some time ago I discovered that variables are not set correctly. For example LANG/LC_ALL are incorrect ("" instead of en_GB.UTF-8). I split the .zshrc into .zshrc ...
8
votes
3answers
1k views

How to install multiple versions of the same package in Gentoo?

I would like to install two (or more) versions of the same packages on my Gentoo system. I know for sure there won't be any file clash, since there very few files installed and each of them is named ...
7
votes
3answers
2k views

How do I tell what version of Gentoo & Linux is running?

Is there a way to tell from Bash what distro version # I'm running and also what Kernel version is included?
7
votes
1answer
407 views

How to find which package provides a file?

For example, I can't install package qcad because of error: "can't find qdict.h". How can I find the package which provides the file qdict.h so I can install the package qcad?
7
votes
1answer
1k views

Suggestions needed for udev, udisks, autofs, notification setup for a complete automounting solution on Linux

Continuing on Automounting plugged devices in linux, which left things a bit basic. Running Gentoo, I'm automounting a combination of local and network devices on my laptop with autofs-5.0.4-r5. Doing ...
6
votes
2answers
2k views

In Gentoo, what is the difference between amd64, ~amd64 and ~amd64-linux?

When I run equery depgraph www-client/chromium-10.0.648.151, not all dependencies are available. Some shows M[package.mask], while some other shows [missing keyword]. My ACCEPT_KEYWORDS is ...
6
votes
1answer
2k views

LVM + LUKS + SSD + Gentoo — making it all work together

I'm finding a lot of conflicting information out there, and as of yet haven't found anyone trying to pull together all of the components that I'm trying to do, so I'm hoping someone who understands ...
6
votes
2answers
1k views

linux multiple internet connections load balancing with fail handling

I have two ISP connections and need automatic load balancing between them. I also need to handle failed connections (not use one that does not work). First link is a PPTP connection (ppp0), second is ...
6
votes
1answer
5k views

How to check why sound over HDMI doesn't work

I installed Gentoo clean on my system, except my /home but I deleted all hidden folders that might have an impact on sound (.mplayer .pulse* .config .esd_auth and more) and with a fresh user adduser ...
6
votes
2answers
3k views

Slow NFS, nfsstat -c: what is authrefrsh (aka newcreds?) field about in detail?

(net-fs/nfs-utils-1.2.3-r1, 2.6.38.5-zen+ Gentoo) Googling this seems to be a complete dead end. man nfsstat says a whole lot of nothing about the subject. The closest I could get was finding out ...
6
votes
2answers
550 views

Find files that were not installed by the package manager

I'd like to get a list of all files in my Gentoo Linux system that were not installed by the package manager (Portage). This is because I want to keep my system as clean as possible, removing all ...
5
votes
4answers
3k views

Safely uninstall a package in Gentoo

I wanted to uninstall a specific package in Gentoo and browsed through the emerge man page. I found the --unmerge option: WARNING: This action can remove important packages! Removes all ...
5
votes
2answers
1k views

Colored man pages not working on gentoo

I have a problem using these methods to get colors in my man pages in gentoo. I've asked already in the gentoo forums but it still doesn't work, and the comments in a bug report (Bug 184604) don't ...
5
votes
2answers
1k views

Which Gentoo should I download?

I am looking for the most compatibility in a Gentoo download. When I go to the download page, I am greeted by this: install-x86-minimal-20120306.iso 07-Mar-2012 08:50 135M ...
5
votes
2answers
2k views

On Gentoo, how do I rebuild all packages depended on some other package?

I made mistake and changed perl non-threaded version to threaded by unmerge first, change USE flags to include ithreads and emerge perl again. Now most packages depending on perl are broken. How do I ...
5
votes
2answers
635 views

emacs does not see my fonts in gentoo

I copied my ~/.emacs file from ubuntu linux; I've installed Consolas font (and it works in gnome terminal, and as a default Monospace font); but Emacs does not see it (custom-set-faces '(default ((t ...
5
votes
2answers
274 views

What files in /var need to have specific owners?

I accidentally wreaked unknown amounts of havoc on my web server by running sudo chown -R myuser:mygroup * .* in /var/www, not remembering that .* would include the parent directory (as ..). I ...
5
votes
4answers
897 views

Error while loading shared libraries

My project tree looks something like that: src/ include/ Makefile lib/ lib/3rdparylib/ I didn't code 3rdpartylib, but decided to embed its source code in my project packaging. I compile the ...
5
votes
1answer
489 views

Installing Gentoo packages as an ordinary user (non-root)

Is it possible to install Gentoo packages (ebuild-enabled programs, programs with support for portage) as an ordinary user (non-root) to one's own home directory (--prefix=$HOME or sth. like that)?
5
votes
1answer
62 views

Customize ebuild in Gentoo within the portage tree

How can I customize an ebuild in Gentoo without maintaining a customized package in own overlay? The case is that I need to mark compiled binaries with paxctl. But there are about 100 of such ...
5
votes
1answer
324 views

How to configure Ethernet in Gentoo on s390x?

I've booted from SLES 10 SP2 CD and installed Gentoo. Now I'm trying to make Ethernet work (it is working in SLES). I found this document, but in current kernel (2.6.38.2) sysfs layout is some ...
5
votes
2answers
2k views

Xorg Server Failing to Startup

I am having difficulty starting up the Xorg server within my Gentoo installation. I set it up via The X Server Configuration HOWTO. When I get to the part where I startx, the screen flickers a bit, ...
4
votes
4answers
195 views

Non-Ebuild Programs on Gentoo

I like the "compile it yourself" philosophy that Gentoo runs on, but how is the support for non-ebuild programs? That might just mean binaries, but also programs in general that were not acquired ...
4
votes
3answers
239 views

RAID 1 in linux

I'd like to setup RAID 1 with two drives in linux. I don't have a hardware RAID controller and don't want to buy one, so what is the best software RAID option for linux? Note: If it makes a ...
4
votes
2answers
450 views

Find out a package's configure/compile options in Gentoo

On a Gentoo Linux box which I'm not administering (and to which I don't have root access), how can I find out the options which were used to compile the package? (Please note I've never worked with ...
4
votes
3answers
3k views

Why can't I use the REJECT policy on my iptables OUTPUT chain?

I currently have my OUTPUT chain set to DROP. I'd like to change it to REJECT, so that I have a clue that it's my firewall stopping me from getting somewhere rather than a problem with whatever ...
4
votes
1answer
2k views

mmap() failed: Cannot allocate memory - how do I find out who's complaining?

mmap() failed is popping up in my .xsession-errors in bursts. But there's no indication about what application it is failing with. How do I look into this after it has happened? I usually discover the ...
4
votes
1answer
5k views

How to check that perf events are enabled in Linux kernel, and how to install perf userland as non-root?

From what I have checked it looks like kernel side of 'perf' subsystem is enabled on computer I work on. Checking kernel configuration shows the following $ zgrep "_PERF[_= ]" /proc/config.gz ...
4
votes
1answer
669 views

How to use the EXTRA_FIRMWARE_DIR kernel option?

I am using Gentoo, and I need to load an extra firmware to get my USB Wifi adapter work. I found an EXTRA_FIRMWARE_DIR kernel option, but I do not understand if it is used during compile time only or ...
4
votes
2answers
300 views

On Gentoo is there a way to find a list of installed packages which doesn't have other packages depended on them?

On Gentoo, is there a way to find a list of installed packages which doesn't have other packages depended on them (so called leaf packages)? Or, is there analog of pkg-orphan FreeBSD utility?
4
votes
3answers
1k views

russian letters in gentoo console as '?'

I managed to get russian language working in my Gnome apps, but neither in the console (Alt-Shift-F2 and such) nor in the Gnome Terminal valyagentoo va1en0k # locale LANG=ru_RU.UTF-8 ...
4
votes
1answer
2k views

Gentoo default application for opening files

On my Gentoo box running without a desktop environment, every time I try to open a file the system tries to open it with Firefox. I understand that without a desktop environment "open file" cannot ...
4
votes
3answers
583 views

Changing my toolchain architecture (in gentoo)

This is somewhat gentoo-specific, so I'll explain it in that context, then try to abstract it to a generic linux machine. I accidently set my CHOST to "i686-pc-linux-gnu" in the beginning, not paying ...
4
votes
1answer
54 views

LVM2 pvdisplay and vgdisplay disagree

In my laptop, I have a single hard drive (/dev/sda). On this hard drive, I have an EFI partition (/dev/sda1), a boot partition (/dev/sda2), and an encrypted partition containing / (/dev/sda3). Inside ...
4
votes
1answer
1k views

VirtualBox: mount a shared folder automatically in Gentoo

I'm currently writing a template (in veewee) to build a vagrant box running Funtoo x86_64. Currently, my box fails the last step for vagrant basebox validate, in which a shared folder has to be ...
4
votes
2answers
998 views

Why is mount.cifs not installed suid by default?

I am using Gentoo, and on my machine at least mount.cifs is not installed suid root by default. In particular, this means that I can't use the user mount option with CIFS shares. I noticed that ...
4
votes
3answers
890 views

Redirect traffic through vpn on an as needed basis

My problem is really simple yet it sounds complex, but I have zero to none experience with this. I have set up a box using gentoo which has its own semi-static WAN-IP and acts as router for my LAN. I ...
4
votes
1answer
113 views

What's the difference between “equery depends” and “equery depgraph”?

xi@localhost /usr/src $ equery depgraph gcc | wc -l 872 xi@localhost /usr/src $ equery depends gcc * These packages depend on gcc: app-admin/eselect-python-20100321 (>=sys-devel/gcc-3.4) ...
4
votes
1answer
909 views

How can I use netconsole to help solve a kernel panic?

When I try to use a raid as root, my system panics. I want to read the kernel output right before the panic, but can't scroll up. After Googling a bit, I wanted to try netconsole. but I get no output ...
4
votes
2answers
493 views

How to set secure permissions for multiple users and multiple websites?

On a Gentoo 3.2.12 server with apache2+php, there are several websites running: /www /website1 /website2 ...etc The apache user should have read-only access to all the websites. There ...
4
votes
2answers
317 views

No locate.db even after running updatedb

Any clue what's up with this? djc@miles rebar $ sudo updatedb djc@miles rebar $ locate .dialyzer_plt locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory djc@miles rebar $ ...
4
votes
2answers
536 views

Laptop does not power off after it has been suspended to ram

I suspend my laptop using echo mem > /sys/power/state. That works fine and it resumes nicely. Once I try to power it off, it shuts down fine until i see the message Power down. (or similar). ...
4
votes
1answer
342 views

Gentoo Live CD from Hard Drive: No Mountable Filesystems on root after modules loaded

I am attempting to install Gentoo on my PowerPC Mac. I have reached the point where I can boot the Live CD (I have no functional CD Drive, so it is from a spare Hard Drive), but after the kernel is ...
3
votes
1answer
365 views

How to disable portage LICENSE checks

Whenever I install a package with an EULA, portage asks me to add it to package.license: The following license changes are necessary to proceed: (see "package.license" in the portage(5) man page for ...
3
votes
2answers
145 views

How to find in which overlay is desired package?

How do I identify which overlays (if any) contain a particular package/application?
3
votes
2answers
558 views

If you SSH into another computer, how to access other X displays?

This is a query based on personal use. A troll in our local network had downloaded Crikey, the key-event simulator. He used it to simulate events on other computers, leading to unwanted things. For ...