PostgreSQL FATAL: shmat(id=0) failed: Permission denied
Posted: Mon Feb 24, 2014 10:16 am
Going from Gentoo hardened sources 3.12.5 to 3.13.1 I now get "FATAL: shmat(id=0) failed: Permission denied" when trying to start PostgreSQL. I believe this to be related to a change in grsecurity but am unsure. I've googled about, and cannot find a solid answer. Any help, guidance would be appreciated.
PostgreSQL starts successfully on: vanilla-3.12.5 + genpatches-3.12-6 + grsecurity-3.0-3.12.5-201312132204
PostgreSQL fails to start on: vanilla-3.13.3 + genpatches-3.13-6 + grsecurity-3.0-3.13.3-201402192252
Config for 3.13.1 here: https://www.brundagemgt.com/config-3.13.1
PostgreSQL starts successfully on: vanilla-3.12.5 + genpatches-3.12-6 + grsecurity-3.0-3.12.5-201312132204
PostgreSQL fails to start on: vanilla-3.13.3 + genpatches-3.13-6 + grsecurity-3.0-3.13.3-201402192252
Config for 3.13.1 here: https://www.brundagemgt.com/config-3.13.1