When www-apache/passenger is installed for apache, passenger crashes at start (core dump). When increasing the passenger log level it is because it (through apache) cannot read /proc/1/environ and throws this exception. According to [1] other Gentoo users have been hit by this, too. There is a workaround to remove the entire line CapabilityBoundingSet from /lib/systemd/system/apache2.service. As this workaround probably reduces the security of running apache processes, it would be best to find a proper solution, like having passenger to avoid reading that file. FYI: Unstable passenger-6.0.7 has the same behaviour. [1] https://github.com/phusion/passenger/issues/2168
I am closing this because version 6.0.6 is not in portage anymore and I am not using the package anymore neither. So I cannot help fixing this.