Questions tagged [gentoo]
Gentoo Linux is a source-based Linux distro that uses the Portage package management system.
231
questions
1
vote
0
answers
2k
views
Why is my systemd-networkd not aquiring an IP address via DHCP?
On my notebook running Gentoo, I set up the following things:
Kernel with all necessary settings and modules
WPA_Supplicant
Systemd
Systemd-Networkd
Almost everything works as expected, the ...
0
votes
2
answers
147
views
Gentoo hangs when adding main interface to the bridge
I've VPS on WEDOS serverhosting, Gentoo there. 5.4.38 kernel.
I've a network interface eth0, I need to bridge it with another one (from openvpn). Starting with adding only one interface:
brctl addbr ...
0
votes
1
answer
116
views
Writing Gentoo ebuilds: how to correctly add libraries using flag-o-matic eclass
I'm trying to write an ebuild (I'm very new to writing ebuilds) and I need to add the library -ltinfo to link against.
My ebuild looks like:
EAPI=8
inherit flag-o-matic
...
src_compile() {
append-...
0
votes
0
answers
141
views
How to initialize sound in VirtualBox's VRDP?
On my Gentoo Linux host, running VirtualBox 1.6.28, I'm unable to negotiate a VRDP (RDP-4 version) connection because the rdesktop-vrdp client fails to initialize sound so it doesn't connect at all as ...
1
vote
1
answer
260
views
How to assign an additional IP to loopback
I have a few docker containers which are supposed to access a shared PostgreSQL running on the Gentoo host. This works well if the dockerized apps connect to the database using the public IP of the ...
0
votes
1
answer
601
views
Install Gentoo (Do you need Internet/Stage 3)
https://knowyourmeme.com/memes/install-gentoo
Do you need to download the stage3 tarballs to use Gentoo or can you do a minimal install w/o them?
https://wiki.gentoo.org/wiki/Handbook:AMD64/...
0
votes
1
answer
2k
views
Postfix: newaliases fails at postfix service startup due to aliases.db permission problems
I recently started migrating my mail server to systemd.
I have an alias hash map:
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
When starting the service:
...
1
vote
0
answers
164
views
ZFS RAIDZ1 root on gentoo fails to boot after disk swap
I have a 3-disk RAIDZ1 array with 3 HDDs:
# zpool status
...
config:
NAME STATE READ WRITE CKSUM
gpool ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
...
1
vote
1
answer
247
views
Squid proxy has extremely slow connections when there is some load [closed]
We use squid 4.9 on gentoo. Proxying https over a http proxy. It was working fine until an update in the openssl libraries, now connections are extremely slow. Please help, if you know of a way to fix ...
1
vote
1
answer
110
views
ejabberd having issue about undefined function
I am getting errors with XMPP on my Gentoo Hardened server. It runs and says it is running but when trying log many of these errors appear about a crash.
2019-11-01 10:56:54.748 [error] <0.563.0&...
1
vote
0
answers
285
views
"Warning: DocumentRoot [/var/tmp/catalyst/builds/default] does not exist" ― but it does
I'm trying to use Apache to create a build server for hosting ISO images compiled with Gentoo Catalyst:
<VirtualHost *:80>
ServerName localhost
Include /etc/apache2/vhosts.d/...
0
votes
1
answer
193
views
After updating bind from 9.8 to 9.12, it does not start anymore with dnssec-validation auto
I used bind 9.8 on gentoo for monthes. After updating the system, bind is now at 9.12.3_p4 but it does not start anymore unless I comment dnssec-validation auto.
I get nothing in named.log.
I get ...
0
votes
0
answers
328
views
Incorrect list of groups membership for one user
On one of my servers, my user has a strange problem of group membership. When using id or groups without arguments, the list of groups includes those from the root user, and groups common to my user ...
0
votes
0
answers
103
views
Disable SSLCompression in Apache <2.2.24 in Gentoo
Thanks a lot beforehand. I need to disable SSL Compression in Apache 2.2.16 in Gentoo in order to mitigate TLS CRIME. I've been searching for a long time and I've found out that it's possible to ...
2
votes
0
answers
337
views
docker containers give out blank ipv6 address
I am trying to develop simple swarm service with docker, I am using below docker compose file
version: '3.2'
services:
sessions:
image: redis:4
ports:
- 6379:6379
...
2
votes
1
answer
6k
views
Curl does not fall back to ipv4
I have gentoo build with ipv6 and ipv4 configured for localhost
/etc/hosts
# IPv4 and IPv6 localhost aliases
127.0.0.1 sunils-pc.homenetwork sunils-pc localhost
::1 sunils-pc.homenetwork ...
0
votes
0
answers
34
views
Gentoo running unknown scheduler
I inherited management of a Gentoo based server (Gentoo Base System release 2.3, 4.4.26-gentoo) that is invoking a number of php scripts each night but I can't figure out how. I don't see them ...
1
vote
1
answer
975
views
Missing raid device in /dev/
I have two sata disks: /dev/sda and /dev/sdb. I have 4 partitions:
/dev/sd[ab]1 /boot
/dev/sd[ab]2 swap
/dev/sd[ab]3 /
/dev/sd[ab]4 /home
And all of them are in raid1.
Raid is working fine. Here is ...
0
votes
1
answer
243
views
Lighttpd stop responding to php calls
I am running 2 servers with Lighttpd 1.4.45 with fastcgi and php 5.6 on gentoo linux.
We have a problem in both servers that about twice a day the Lighttpd stop responding to php calls, only restart ...
0
votes
1
answer
2k
views
Properly manage iptables rules on Docker host
I am using Gentoo and Docker. I have bunch of own iptables rules, and keep them in /var/lib/iptables/rules-save.
Docker adding bunch of own rules when start. It seems that iptables is auto-saving ...
0
votes
0
answers
6
views
Apache Active Workers and Hits per Second [duplicate]
We are using 2 AppServer with an Idle Workload of 10 Apache Workers and and 5 Hits per Second.
These Servers got 12 CPUs and 8GB of RAM. Monitoring is accessed by Zabbix. My question about this is - ...
1
vote
1
answer
2k
views
Can`t boot converted VM from KVM on VMware ESXI
VM - 3.14.14-gentoo with LVM
Hypervisor - KVM qemu 3.15.7-gentoo
I converted a VM using the command qemu-img convert -O vmdk, after that i uploaded the disk to the VMware datastore and created VM with ...
3
votes
1
answer
2k
views
IPv6 public routing of virtual machines from host
So I have a dedicated server from OVH. With that I got a /64 range of IPv6 addresses and 1 public IPv4 address. I purchased a second IPv4 address as a fallback.
The host is running the Xen hypervisor ...
1
vote
0
answers
182
views
ZFS on production server don't want to force mount on boot
I use ZFS on production remote gentoo server. All was fine, until my server freezed and I needed to reboot it.
It failed with 'device or resource busy' error on mounting rootfs.
The simply action ...
0
votes
1
answer
779
views
Run multiple PHP scripts through Monit
I'm having two PHP scripts acting as RabbitMQ Consumers and i want them to be started and monitored (+ automatically restarted) through monit.
My /etc/monitrc for the two processes looks like this:
...
-1
votes
1
answer
890
views
How to mount devtmpfs with mode=777?
I'm trying to use gentoo based thin client to access fusion access huawei cloud, with the following issues: CloudClient when redirecting devices to VDI virtual PC, trying to write directly into ...
1
vote
0
answers
381
views
Gentoo virt-manager IO throttling
I have a problem with virt-manager (or qemu/libvirt) installed on gentoo.
Here is My virt-manager installed on Debian Jessie:
There I have IO throttling but not on my Gentoo:
I tried to search in ...
2
votes
1
answer
28k
views
NFS client fails with "Protocol not supported" even though the protocol is listed as available
I set up an NFS serve for Proxmox to remotely backup VM images there. For some reason the Proxmox box won't connect to the NFS server. I tested connecting with another the NFS client on a different ...
3
votes
1
answer
101
views
Why shouldn't I use striping raid on the partition I boot from?
The Gentoo Handbook says:
You should not use any form of striping such as RAID-0 or RAID-5 on the partition you boot from.
Why is this? I've never seen a similar warning before. Grub supports ...
5
votes
1
answer
222
views
5 seconds for hostname -f and a strange DNS request
My question addresses a strange behaviour of hostname -f on my Gentoo Linux System.
The symptom:
rt01 ~ # time hostname -f
rt01.domain.net
real 0m5.007s
user 0m0.001s
sys 0m0.000s
With ...
12
votes
0
answers
23k
views
IPv6: Destination unreachable: Address unreachable [closed]
My server can't ping/reach any other outside.
ping6 works for my local fe80::468... address as well as the 2a01:4f8..., but not for fe80::1!
Errors/Troubles/Issues:
ip neigh show
fe80::1 dev eth0 ...
0
votes
1
answer
32
views
Make init script output available without hitting the filesystem
I'm working on an init script for a command which writes extensive activity messages to stdout.
The output is only useful for debugging and since it will be running on a Pi, I don't want these ...
-1
votes
1
answer
438
views
nginx configuration trouble
I'm having some trouble configuring nginx to share files between three sites. I know I could solve the problem by simply giving each site it's own copy of the file or using symlinks. According to ...
0
votes
1
answer
3k
views
How to clear or stop net-snmpd.log?
System: 3.10.17-gentoo
NET-SNMP version: 5.7.3.pre5
ps ax: /usr/sbin/snmpd -p /var/run/snmpd.pid
/etc/conf.d/snmpd: #SNMPD_FLAGS="${SNMPD_FLAGS} -Lsd -Lf /dev/null"
/var/log/net-snmpd.log:
...
1
vote
1
answer
2k
views
List of installed packages on gentoo with all use flags
What is the trick or possibility to get the list of all my installed packages on gentoo with indication of all used/unused use-flags, versions, etc?
Something similar what you see with when run ...
0
votes
1
answer
824
views
emerge -uDN world fails on a Gentoo host, sys-libs/glibc-2.20-r2 does not link
We have got a number of legacy Gentoo-based machines and are trying to upgrade them. At least three of these hosts fail with a common error emerging the latest glibc:
x86_64-pc-linux-gnu-gcc -m32 -Wl,...
5
votes
1
answer
937
views
How to find source of system running slow clock?
I've a problem on one of my Gentoo server. After some time, the clock starts running very very slow. It takes about one minute for one second to go. The major problem is that not only the clock is ...
0
votes
1
answer
360
views
suexec AP_DOC_ROOT Path on gentoo
after a few years running php as mod_php I want to move to fcgi. On my server I run currently gentoo linux. I allready set up php als fcgi and everything is working.
But there is one problem. I have ...
4
votes
1
answer
1k
views
Restrict postqueue access to admin user
I'm running postfix on Gentoo as mailer daemon. During investigation of some queue pileup I found that /usr/sbin/postqueue is executable by all users on the system, it happily outputs the current mail ...
0
votes
1
answer
1k
views
Gentoo emerge packages conflict
I'm trying to install git on my Gentoo webserver. The command "emerge dev-vcs/git" returns the following result :
* IMPORTANT: 12 news items need reading for repository 'gentoo'.
* Use eselect ...
0
votes
1
answer
3k
views
Invalid command: 'AuthLDAPAuthoritative', perhaps misspelled
Have apache 2.2.24 running on Gentoo server. I need apache to now authenticate through windows active directory, however, on apache service restart, I am getting this error:
Invalid command, '...
0
votes
1
answer
3k
views
Configuring MAXITEMSIZE in memcached in gentoo
Got memcached up and running (emerged net-misc/memcached) but on PHP I'm getting
Server 127.0.0.1 (tcp 35817, udp 0) failed with: SERVER_ERROR object too large for cache
I'm thus trying to change ...
0
votes
2
answers
464
views
How to prevent Zeroconf 0.0.0.0 in Gentoo linux?
Oddly enough, it seems that one of the servers we have doesn't like having the 0.0.0.0 configured and it prevents it from being able to community on its internal network.
Removing this route manually ...
0
votes
1
answer
283
views
SMP kernel sees only one CPU (i7-930) with ACPI enabled
A Gentoo box running a up-to-date SMP kernel sees only one CPU eventhough ACPI is enabled in AmiBIOS. Any ideas why?
> uname -a
Linux charlie 3.17.7-gentoo #1 SMP Mon Jan 12 19:31:07 CET 2015 ...
2
votes
1
answer
2k
views
Why dovecot 2.2.13 is not moving emails from new/ to cur/?
I am using dovecot 2.2.13 on gentoo 64bit.
When new email arrives it stays in new/ directory instead to be moved to cur/ directory.
I read that maildir_empty_new = yes was added to /etc/dovecot/conf....
3
votes
4
answers
7k
views
Fail2ban does not ban any ip-adresses with vsftpd
Fail2ban starts okey. It work with my sshd filter and bans IP-adresses as it should. But with vsftpd it does not register failed logins when I run:
fail2ban-client status vsftpd
I have tried both ...
2
votes
3
answers
2k
views
Why is my server saying "No such file or directory" error for a file that is clearly there
ritwik@indus ~/perforce $ ls
p4d
ritwik@indus ~/perforce $ ./p4d
-bash: ./p4d: No such file or directory
You understood the problem right ?
Why is this happening ? How do I fix it ?
ritwik@indus ~/...
0
votes
1
answer
1k
views
Restore LDAP data from copied files
My server has broken and I had to urgently put it up again. I needed to reinstall the system and, since I was time constrained, I lazily just copied the directories I considered necessary (/etc, /opt, ...
1
vote
1
answer
256
views
htdbm and mod_authn_dbm fail when migrating between apache 2.2 servers
I'm migrating an existing website from Apache 2.2.4 on Gentoo 32-bit to Apache 2.2.27 on CentOS 64-bit. This particular site uses DBM for authentication with encrypted passwords.
On the old system ...
1
vote
0
answers
910
views
Failed to emerge python 2.7
I'm trying to emerge python 2.7 on my gentoo server, somehow it's not installed any more.
eselect python list
Available Python interpreters:
[1] python3.3 *
If I try to emerge it like emerge -a ...