Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#48503 - postgresql does not start due to NoNewPrivileges=true in unitfile
Attached to Project:
Arch Linux
Opened by Marc Richter (DerJudge) - Tuesday, 08 March 2016, 12:05 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 08 March 2016, 12:44 GMT
Opened by Marc Richter (DerJudge) - Tuesday, 08 March 2016, 12:05 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 08 March 2016, 12:44 GMT
|
DetailsDescription:
Additional info: * Tested with 9.5.1-2 * tested on armv7h architecture, but should be unrelated I installed the package extra/postgresql (v9.5.1-2). Then I followed https://wiki.archlinux.org/index.php/PostgreSQL#Installing_PostgreSQL : initdb --locale de_DE.UTF-8 -E UTF8 -D '/var/lib/postgres/data' When starting using the orig unitfile, this happens: [root@0b42682d575648488048566616516654 postfix]# systemctl start postgresql Job for postgresql.service failed because the control process exited with error code. See "systemctl status postgresql.service" and "journalctl -xe" for details. [root@0b42682d575648488048566616516654 postfix]# systemctl status postgresql.service * postgresql.service - PostgreSQL database server Loaded: loaded (/usr/lib/systemd/system/postgresql.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Tue 2016-03-08 11:40:01 UTC; 55s ago Process: 517 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGROOT}/data (code=exited, status=227/NO_NEW_PRIVILEGES) Mar 08 11:40:01 0b42682d575648488048566616516654 systemd[1]: Starting PostgreSQL database server... Mar 08 11:40:01 0b42682d575648488048566616516654 systemd[517]: postgresql.service: Failed at step NO_NEW_PRIVILEGES spawning /usr/bin/postgresql-check-db-dir: Invalid argument Mar 08 11:40:01 0b42682d575648488048566616516654 systemd[1]: postgresql.service: Control process exited, code=exited status=227 Mar 08 11:40:01 0b42682d575648488048566616516654 systemd[1]: Failed to start PostgreSQL database server. Mar 08 11:40:01 0b42682d575648488048566616516654 systemd[1]: postgresql.service: Unit entered failed state. Mar 08 11:40:01 0b42682d575648488048566616516654 systemd[1]: postgresql.service: Failed with result 'exit-code'. [root@0b42682d575648488048566616516654 postfix]# If I comment out "NoNewPrivileges=true" from the unit file, it works. |
This task depends upon
Closed by Dave Reisner (falconindy)
Tuesday, 08 March 2016, 12:44 GMT
Reason for closing: None
Additional comments about closing: arch linux ARM is another distribution.
Tuesday, 08 March 2016, 12:44 GMT
Reason for closing: None
Additional comments about closing: arch linux ARM is another distribution.
No, it's related. We can't help you here.