Installing OpenBSD on Oracle Cloud

submited 28 November 2022

This post shows how to install PostgreSQL on the latest OpenBSD.

The BSD community linklog
Made a script? Written a blog post? Found a useful tutorial? Share it with the BSD community here or just enjoy what everyone else has found!

Submit

04 December 2023
Valuable News – 2023/12/04  

The Valuable News weekly series is dedicated to provide summary about news, articles and other interesting stuff mostly but not always related to the UNIX or BSD systems.

02 December 2023
FreeBSD Errata Notice FreeBSD-EN-23:16.openzfs  

FreeBSD has included a version of the powerful and feature-rich ZFS file system beginning with FreeBSD 7.0 released in 2008. The ZFS implementation in FreeBSD 12 and earlier is based on the Illumos ZFS codebase. In FreeBSD 13 and later OpenZFS is used as the ZFS implementation. Sparse files in a file system refer to a technique that optimizes storage space by allowing the creation of files with unallocated or unwritten gaps, known as holes. When reading a file, holes appear as zero or NUL bytes. Certain system calls can access hole location metadata, including lseek(2) with SEEKHOLE and copyfilerange(2). In OpenZFS a dnode is a data structure used to represent and manage metadata about files and directories. In file systems, "dirty" refers to data or metadata that has been modified in memory but not yet written to the storage device. Thus, a dirty dnode is one which has uncommitted data or metadata. In FreeBSD 13.2 and FreeBSD 14.0 cp(1) uses copyfilerange(2) to perform the data copying in the kernel. copyfilerange attempts to find file holes in the source file and preserve them in the copy. In FreeBSD 12.4 cp does not use copyfile_range. A check did not test both the dnode itself and its data for dirtiness. This provides a very small window of time while a file is being modified where the dirtiness check can falsely report that the dnode is clean. If this happens a hole may incorrectly be reported where data was written. If an access occurs while a file is being modified and a hole is incorrectly reported, the data may instead be interpreted as zero bytes. Any application which checks for holes may be affected by this issue; if this occurs during a file copy it will result in a corrupt copy that retains the incorrect data. Note that the source file remains intact (a subsequent read will return the correct data).

FreeBSD Errata Notice FreeBSD-EN-23:15.sanitizer  

Compiler-RT is an implementation of various compiler runtime support routines, provided by the LLVM project. This library also provides a number of so-called Sanitizers, which help to catch buffer overruns, thread data races, and so on: AddressSanitizer, ThreadSanitizer, UndefinedBehaviorSanitizer, and more. Some of the Sanitizers cannot work correctly when ASLR is enabled. Therefore, at the initialization of such Sanitizers, ASLR is detected via procctl(2). If ASLR is enabled, it is first disabled, and then the main executable containing the Sanitizer is re-executed, after printing an appropriate message. However, the Sanitizers work by intercepting various function calls, and by mistake the already-intercepted procctl(2) function was used. This causes an internal error, which usually results in a segfault. Binaries linked to AddressSanitizer (using -fsanitize­dress), MemorySanitizer (using -fsanitize=memory) or ThreadSanitizer (using -fsanitize=thread) can crash at startup with a segfault, if ASLR is enabled. Other binaries are not affected.

Enjoying DiscoverBSD? There is more...

Subscribe to BSD Weekly, our free, once–weekly e-mail round-up of BSD news and articles. It is currated from your content on DiscoverBSD and BSDSec (a deadsimple BSD Security Advisories and Announcements).

You can also support the work on Patreon.
01 December 2023
BSD Now 535: Untitled Episode  

FreeBSD 14 has been released, Reading your RSS feed on FreeBSD, Manipulate PDF files easily with pdftk, clang(1)/llvm updated to version 16 in OpenBSD, NetBSD Security Advisory: multiple vulnerabilities in ftpd(8), and more.

OpenBSD Errata: November 29, 2023 (perl)  

Errata patches for Perl have been released for OpenBSD 7.4 and 7.3. Binary updates for the amd64, arm64 and i386 platform are available via the syspatch utility.

30 November 2023
OpenZFS Storage Best Practices and Use Cases – Part 2: File Serving and SANs  

In our continuing series of ZFS best practices, they examine several of the most common use cases around file serving, and provide configuration tips and best practices to get the most out of your storage.

28 November 2023
BSD Now 543  

Migrating from an Old Linux Server to a New FreeBSD Machine, The Internet Was Designed With a Narrow Waist, The Worst New Guys In History, FreeBSD Jails vs. Docker: A Comparison, Oracle Developer Studio 12.6 on Illumos.

OpenBSD and Pi Zero 2w  

Could you use a Pi as a DNS et DHCP server? It turns out to be really simple, with the proper hardware. Here are the notes.

26 November 2023
FreeBSD 13.2 upgrade to 14.0 - properly detailed and correct way  

In this article, Özgür Konstantin Kazanççı talks about how to upgrade FreeBSD 13.2 systems to 14.0 in deep and detailed way.

Bastille 0.10.20231125 Release - Thanksgiving 2023 Edition  

📦 The Bastille team spent the American holiday weekend putting the final touches on Bastille 0.10.20231125! Major features and fixes include: * bootstrap #FreeBSD BETA and RC releases * bootstrap EOL #FreeBSD releases (>=9.0) * improved jail startup dependency using rcorder(8) * combine create options, eg: -CV, -TB, etc * fixes to bastille setup * more!

22 November 2023
OpenBSD Errata: November 21, 2023 (patch ospfd tmux httpd)  

Errata patches for patch, ospfd, tmux, and httpd have been released for OpenBSD 7.4. Errata patch for httpd has also been released for OpenBSD 7.3. Binary updates for the amd64, arm64 and i386 platform are available via the syspatch utility.

pfSense CE Software Version 2.7.1  

This is a maintenance software release including new features and bug fixes.

load more