| Summary: | dev-db/postgresql-server initscript reference /usr/lib instead of /usr/LIBDIR | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Mike Gilbert <floppym> |
| Component: | Current packages | Assignee: | PgSQL Bugs <pgsql-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | alexander, chutz+bugs.gentoo.org |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Patch for init scripts and systemd service unit
Ebuild patch |
||
Created attachment 362106 [details, diff]
Patch for init scripts and systemd service unit
Created attachment 362108 [details, diff]
Ebuild patch
*** Bug 506470 has been marked as a duplicate of this bug. *** It has been 6 months, so I'm going to move on this myself. I have pushed my patch to the git repo, and I will tag a new "initscripts" version tomorrow. +*postgresql-server-9.3.4-r1 (28 Apr 2014) + + 28 Apr 2014; Mike Gilbert <floppym@gentoo.org> + +postgresql-server-9.3.4-r1.ebuild: + Substitute LIBDIR in initscript and systemd unit, bug 489632. |
The initscript for postgresql hard codes the path to the server binaries as /usr/lib/postgresql-${SLOT}/ However, the binaries are actually installed in /usr/$(get_libdir)/postgresql-${SLOT}/ On systems where SYMLINK_LIB is disabled, /usr/lib and /usr/$(get_libdir) may refer to different locations. For example, on my system /usr/lib and /usr/lib64 are separate directories.