Skip to content

Commit

Permalink
netbsd: Install mit-krb5 package for gss to work
Browse files Browse the repository at this point in the history
Postgres requires MIT Kerberos, not the Heimdal one.

Also, Heimdal is installed as default so give priority to installed
libraries over default ones to use MIT Kerberos as default.
  • Loading branch information
nbyavuz committed Jan 8, 2025
1 parent af8757b commit f9a32e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion files/bsd/rc.local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export BASE_IMAGE_IDENTITY IMAGE_IDENTITY

if [ "$(uname)" = "NetBSD" ]
then
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/pkg/bin:/usr/pkg/sbin
export PATH=/usr/pkg/bin:/usr/pkg/sbin:/usr/bin:/bin:/usr/sbin:/sbin

# restarting syslogd
restart_syslogd()
Expand Down
1 change: 1 addition & 0 deletions scripts/bsd/netbsd-prep-postgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pkgin -y install \
icu \
lz4 \
libxslt \
mit-krb5 \
tcl \
zstd

Expand Down

0 comments on commit f9a32e6

Please sign in to comment.