Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 768888 - www-apache/passenger-6.0.6: crash at start / incompatible apache CapabilityBoundingSet (systemd)
Summary: www-apache/passenger-6.0.6: crash at start / incompatible apache CapabilityBo...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-05 15:55 UTC by m1027
Modified: 2022-12-02 21:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m1027 2021-02-05 15:55:30 UTC
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
Comment 1 m1027 2022-12-02 21:32:33 UTC
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.