OpenBSD and NetBSD use CVS as their source code version management software. OpenBSD and NetBSD both recommend avoding running CVS as root. So we want initially to
set up an unprivileged CVS user.
Then, we need to
set up additional source directories /usr/xenocara (for X11), and /usr/ports (for packages).
So the update seems to have overwritten /etc/rc.conf - the main thing that I had changed in there was setting httpd_flags= (from httpd_flags=NO - the old file was backed up in /var/backups/etc_rc.conf.backup). I have made that change again now.
@Not_Oles do you happen to remember any warning related to that?
@cmeerw As you know, in NetBSD there is etcupdate, which is a specific command designed to adjust upgrades to the files in etc.
But, in OpenBSD, when somebody runs sysupgrade -s it's not clear to me, yet, how etc is protected. Or ifetc is protected. In particular, I don't recall seeing a warning about etc/rc.conf, but a warning could have been displayed prominently and I might nevertheless have missed it.
If I understand correctly, you want http_flags= set to nothing (not even set to "") in /etc/rc.conf. So I will check that setting when I do something that seems like it might change /etc/rc.conf.
I will take another look at the sysupgrade man page and documentation to see what I can find about how sysupgrade -s treats /etc. Anything else, please let me know. Apologies for any inconvenience! Thanks!
@Not_Oles said: I will take another look at the sysupgrade man page and documentation to see what I can find about how sysupgrade -s treats /etc.
Looking again at the sysupgrade(8) man page, which is available online at https://man.openbsd.org/sysupgrade.8, there seems to be nothing said about what happens to /etc when sysupgrade is used.
When I previously used sysupgrade at Hetzner Cloud, there were no issues that I recall.
Nevertheless, it seems obvious that hlcs wasn't in the default state, so I should have looked for any changes @cmeerw made which might have needed attention. My bad!
@cmeerw If there is anything else that I need to fix, I sincerely hope and trust that you would have mentioned it. So, moving onward!
Plan for building OpenBSD-current from source code for hlcs
June 25, 2025
Guys, @cmeerw How about this plan for compiling and installing OpenBSD-current? Assuming that the sources are fetched successfully as described in the previous post. . . . Thanks!
After upgrading your source tree, you should read the comments at the top of /usr/src/Makefile before attempting a build. Also, you should build a new kernel before doing a make build if possible. In some cases it may be necessary to rebuild and install the config utility before you can build the kernel. If config GENERIC fails this is probably the case.
Building OpenBSD
At this point you are ready to build OpenBSD from source.
If you are building -current, review changes and special build instructions listed on this page.
Follow the detailed instructions in steps 2 and 3 of release(8).
Further Reading on the Build Process
mk.conf(5)
src/Makefile
/usr/share/mk/bsd.README
config(8)
options(4)
I checked to make sure login works as expected on IPv4 and IPv6:
chronos@penguin:~/servers/hosteroid$ ssh [email protected]
OpenBSD 7.7-current (GENERIC.MP) #22: Wed Jun 18 08:57:04 MDT 2025
Welcome to OpenBSD: The proactively secure Unix-like operating system.
[ . . . ]
hlcs$ whoami
ucvsu
hlcs$ exit
Connection to xxx.xxx.xxx.xxx closed.
chronos@penguin:~/servers/hosteroid$
hlcs$ who am i
ucvsu ttyp0 Jun 28 00:35 (xxxx:xxxx:xxxx::xxxx)
hlcs$
If ucvsu needs anything more, will somebody please speak up!?
@cmeew Your ssh public key is included, so you should be able to login as ucvsu if you wish.
I haven't done any doas configuration. If you want anything, please let me know, or just do it and let me know.
@babywhale You haven't been active, so I commented out your key from /root/.ssh/authorized_keys and /home/ucvsu/.ssh/authorized_keys. But any time you want access restored, please ask, and I will restore your access right away. Thanks for all your help with everything! Especially BashVM!
I made ssh keys for ucvsu, even though making ssh keys also wasn't in the plan! No password for these keys. @cmeerw if you want a password added, please let me know.
Next up is to try CVS!
Thanks to @Hosteroid for our fun, community server! Thanks to @cmeerw for admin skills! Thanks to any of you guys who want to join -- please review the How To Apply section of the OP!
Intel E3 dedi dual booted with Debian and OpenBSD-current. An unprivileged Concurrent Version System (CVS) user presently is being added to facilitate downloading and re-compiling the OpenBSD system from source code.
The server is kindly donated by @Hosteroid. @cmeerw is helping with system administration.
If you want to use the server for something, kindly let us know. It's free for awesome LESbians like you!
Naa, I'm good. I am playing with the E5 server running proxmox I have at home. Was wondering what's going on since I saw a lot of messages flying around here. I did see messages about openbsd being installed/booted, but did not think it was being dual booted with debian.
To me, it's really nice to have the sources immediately at hand, just a cd away! Thanks to the OpenBSD developers!
hlcs$ cvs -qd [email protected]:/cvs checkout -P src
[ . . . ] # The fun is in here, but there is too much to post! :)
hlcs$ ls src/
CVS bin games lib sbin usr.bin
Makefile distrib gnu libexec share usr.sbin
Makefile.cross etc include regress sys
hlcs$ cvs -qd [email protected]:/cvs checkout -P xenocara
[. . . ]
hlcs$ ls xenocara/
3RDPARTY MODULES README.md data distrib driver font proto util
CVS Makefile app dist doc etc lib share xserver
hlcs$ cvs -qd [email protected]:/cvs checkout -P ports
[ . . . ]
hlcs$ ls ports
CVS books education japanese multimedia sysutils
Makefile cad emulators java net telephony
README chinese fonts korean news tests
archivers comms games lang plan9 textproc
astro converters geo mail print wayland
audio databases graphics math productivity www
benchmarks devel infrastructure meta security x11
biology editors inputmethods misc shells
hlcs$
Thanks to @Hosteroid for the nice community server! Thanks to @cmeerw for sysadmin help!
Anybody want to hop on? Try OpenBSD's web server? Add AI? Something else? Something more? Something MOARRRRRR? Please review the How To Apply section of the OP. Thanks!
Next up is compiling! Unless I still am missing something?
hlcs$ who am i
ucvsu ttyp0 Jun 28 22:39 (xxx.xxx.xxx.xxx)
hlcs$ cd /usr/src
hlcs$ make obj
[ . . . ]
hlcs$ make -j 4 build
umask 007; exec make do-build
do-build must be called by root
*** Error 1 in . (Makefile:84 'do-build': @if [[ `id -u` -ne 0 ]]; then echo do-build must be called by root >&2; false; fi)
*** Error 2 in /usr/src (Makefile:74 'build')
hlcs$
hlcs# make -j 4 build
./llvm/llvm/lib/Target/AMDGPU/R600.td
/usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/obj/../../../llvm-tblgen/llvm-tblgen -gen-callingconv -I/usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/../../../../../llvm/llvm/include -I/usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/../../../../../llvm/llvm/lib/Target/AMDGPU -o R600GenCallingConv.inc /usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/../../../../../llvm/llvm/lib/Target/AMDGPU/R600.td
*** Signal 6 in target 'AMDGPUGenAsmMatcher.inc'
LLVM ERROR: out of memory
Allocation failed
*** Signal SIGABRT in gnu/usr.bin/clang/include/llvm/AMDGPU (Makefile:100 'AMDGPUGenGlobalISel.inc')
*** Signal SIGABRT (Makefile:51 'AMDGPUGenAsmMatcher.inc')
*** Error 2 in gnu/usr.bin/clang (<bsd.subdir.mk>:48 'all')
*** Error 2 in gnu/usr.bin (<bsd.subdir.mk>:48 'all')
*** Error 2 in gnu (<bsd.subdir.mk>:48 'all')
*** Error 2 in . (<bsd.subdir.mk>:48 'all')
*** Error 2 in . (Makefile:97 'do-build')
*** Error 2 in /usr/src (Makefile:74 'build')
hlcs#
I wonder how much memory is needed?
Could it be that simply restarting the compile (keeping -j 4) might work the second time around? (BTW, I know we have 8 threads. I just used 4 not to be greedy, so @cmeerw would have compute power if needed.)
What I did was restart the compile single threaded (make without the -j option), and the compile proceeded.
I will post again as the compile proceeds or when it completes. Thanks!
===> gnu/usr.bin/clang/include/llvm/AMDGPU
/usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/obj/../../../llvm-tblgen/llvm-tblgen -gen-
asm-matcher -I/usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/../../../../../llvm/llvm/include -I/usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/../../../../../llvm/llvm/lib/Target/AMDGPU -o AMDGPUGenAsmMatcher.inc /usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/../../../../../llvm/llvm/lib/Target/AMDGPU/AMDGPU.td
LLVM ERROR: out of memory
Allocation failed
*** Signal SIGABRT in gnu/usr.bin/clang/include/llvm/AMDGPU (Makefile:51 'AMDGPUGenAsmMatcher.inc')
*** Error 2 in gnu/usr.bin/clang (<bsd.subdir.mk>:48 'all': @for entry in include/llvm/Config libLLVMSupport libLLVMTableGen llvm-min-tblgen...)
*** Error 2 in gnu/usr.bin (<bsd.subdir.mk>:48 'all': @for entry in clang cvs binutils binutils-2.17 perl texinfo; do set -e; if test -d /u...)
*** Error 2 in gnu (<bsd.subdir.mk>:48 'all': @for entry in lib usr.bin usr.sbin; do set -e; if test -d /usr/src/gnu/${entry}.amd64; then ...)
*** Error 2 in . (<bsd.subdir.mk>:48 'all': @for entry in lib include bin libexec sbin usr.bin usr.sbin share games gnu sys; do set -e; if ...)
*** Error 2 in . (Makefile:97 'do-build')
*** Error 2 in /usr/src (Makefile:74 'build')
hlcs#
More soon. It's getting late here, so sleep for now. @cmeerw If you want to play with this, maybe look inside the tmux session that root has running. If not, that's okay too. I guess it's not impossible that there might be a new commit which fixes this? I haven't checked yet. I remember you making some per process limit changes. I have to look at that again. Of course, all ideas always appreciated. Thanks!
===> gnu/usr.bin/clang/include/llvm/AMDGPU
/usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/obj/../../../llvm-tblgen/llvm-tblgen -gen-asm-matcher -I/usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/../../../../../llvm/llvm/include -I/usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/../../../../../llvm/llvm/lib/Target/AMDGPU -o AMDGPUGenAsmMatcher.inc /usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/../../../../../llvm/llvm/lib/Target/AMDGPU/AMDGPU.td
LLVM ERROR: out of memory
Allocation failed
*** Signal SIGABRT in gnu/usr.bin/clang/include/llvm/AMDGPU (Makefile:51 'AMDGPUGenAsmMatcher.inc')
*** Error 2 in gnu/usr.bin/clang (<bsd.subdir.mk>:48 'all': @for entry in include/llvm/Config libLLVMSupport libLLVMTableGen llvm-min-tblgen...)
*** Error 2 in gnu/usr.bin (<bsd.subdir.mk>:48 'all': @for entry in clang cvs binutils binutils-2.17 perl texinfo; do set -e; if test -d /u...)
*** Error 2 in gnu (<bsd.subdir.mk>:48 'all': @for entry in lib usr.bin usr.sbin; do set -e; if test -d /usr/src/gnu/${entry}.amd64; then ...)
*** Error 2 in . (<bsd.subdir.mk>:48 'all': @for entry in lib include bin libexec sbin usr.bin usr.sbin share games gnu sys; do set -e; if ...)
*** Error 2 in . (Makefile:97 'do-build')
*** Error 2 in /usr/src (Makefile:74 'build')
hlcs#
@cmeerw said: I have done ulimit -d 25165824 in that tmux session and done another make build
Checking the entry for ulimit in the ksh man page, it says, "limits may not be increased once they are set."
The man page also says,
-d n
Impose a size limit of n kilobytes on the size of the data area.
Is 25165824 kilobytes not enough? What about exiting tmux and starting another tmux session to get around the shell's inability to increase limits, and then trying ulimit -d 32425444 or maybe ulimit -d unlimited?
For convenient reference, here are all the soft and hard limits from inside the current tmux session:
Just tried running that command in a normal shell, and that seems to work. BTW, /usr/bin/time -l reports
31.70 real 29.59 user 2.05 sys
1519720 maximum resident set size
3500 average shared memory size
1166415 average unshared data size
354 average unshared stack size
416053 minor page faults
1 major page faults
0 swaps
0 block input operations
1349 block output operations
0 messages sent
0 messages received
0 signals received
18 voluntary context switches
188 involuntary context switches
@cmeew FWIW, the build doesn't seem to work for me with 4 threads:
hlcs# date
Sun Jun 29 19:56:07 UTC 2025
hlcs# cd /usr/src
hlcs# make -j 4 build
[ . . . ]
Target/AMDGPU -o AMDGPUGenPreLegalizeGICombiner.inc /usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/../../../../../llvm/llvm/lib/Target/AMDGPU/AMDGPUGISel.td
LLVM ERROR: out of memory
Allocation failed
*** Signal 6 in target 'AMDGPUGenAsmMatcher.inc'
*** Signal SIGABRT in gnu/usr.bin/clang/include/llvm/AMDGPU (Makefile:51 'AMDGPUGenAsmMatcher.inc')
*** Error 2 in gnu/usr.bin/clang (<bsd.subdir.mk>:48 'all')
*** Error 2 in gnu/usr.bin (<bsd.subdir.mk>:48 'all')
*** Error 2 in gnu (<bsd.subdir.mk>:48 'all')
*** Error 2 in . (<bsd.subdir.mk>:48 'all')
*** Error 2 in . (Makefile:97 'do-build')
*** Error 2 in /usr/src (Makefile:74 'build')
hlcs#
Or with one thread (and /usr/bin/time -l):
hlcs# /usr/bin/time -l make build
[ . . . ]
===> gnu/usr.bin/clang/include/llvm/AMDGPU
/usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/obj/../../../llvm-tblgen/llvm-tblgen -gen-asm-matcher -I/usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/../../../../../llvm/llvm/include -I/usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/../../../../../llvm/llvm/lib/Target/AMDGPU -o AMDGPUGenAsmMatcher.inc /usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/../../../../../llvm/llvm/lib/Target/AMDGPU/AMDGPU.td
LLVM ERROR: out of memory
Allocation failed
*** Signal SIGABRT in gnu/usr.bin/clang/include/llvm/AMDGPU (Makefile:51 'AMDGPUGenAsmMatcher.inc')
*** Error 2 in gnu/usr.bin/clang (<bsd.subdir.mk>:48 'all': @for entry in include/llvm/Config libLLVMSupport libLLVMTableGen llvm-min-tblgen...)
*** Error 2 in gnu/usr.bin (<bsd.subdir.mk>:48 'all': @for entry in clang cvs binutils binutils-2.17 perl texinfo; do set -e; if test -d /u...)
*** Error 2 in gnu (<bsd.subdir.mk>:48 'all': @for entry in lib usr.bin usr.sbin; do set -e; if test -d /usr/src/gnu/${entry}.amd64; then ...)
*** Error 2 in . (<bsd.subdir.mk>:48 'all': @for entry in lib include bin libexec sbin usr.bin usr.sbin share games gnu sys; do set -e; if ...)
*** Error 2 in . (Makefile:97 'do-build')
*** Error 2 in /usr/src (Makefile:74 'build')
2451.30 real 1663.10 user 540.88 sys
1506160 maximum resident set size
64664 average shared memory size
38558 average unshared data size
112 average unshared stack size
159380599 minor page faults
316406 major page faults
0 swaps
8590 block input operations
446758 block output operations
0 messages sent
20 messages received
78391 signals received
1382205 voluntary context switches
7150 involuntary context switches
hlcs#
hlcs# date
Mon Jun 30 00:46:13 UTC 2025
hlcs# w
12:46AM up 1 day, 2:08, 1 user, load averages: 0.05, 0.03, 0.00
USER TTY FROM LOGIN@ IDLE WHAT
root p0 xxx.xxx.xxx.xxx 12:46AM 0 w
hlcs# cd /usr/src
hlcs# ulimit -d 25165824
hlcs# /usr/bin/time -l make build
[ . . . ]
I will post again to let you know what happens. . . . Thanks!
===> gnu/usr.bin/clang/include/llvm/AMDGPU
/usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/obj/../../../llvm-tblgen/llvm-tblgen -gen-asm-matcher -I/usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/../../../../../llvm/llvm/include -I/usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/../../../../../llvm/llvm/lib/Target/AMDGPU -o AMDGPUGenAsmMatcher.inc /usr/src/gnu/usr.bin/clang/include/llvm/AMDGPU/../../../../../llvm/llvm/lib/Target/AMDGPU/AMDGPU.td
LLVM ERROR: out of memory
Allocation failed
*** Signal SIGABRT in gnu/usr.bin/clang/include/llvm/AMDGPU (Makefile:51 'AMDGPUGenAsmMatcher.inc')
*** Error 2 in gnu/usr.bin/clang (<bsd.subdir.mk>:48 'all': @for entry in include/llvm/Config libLLVMSupport libLLVMTableGen llvm-min-tblgen...)
*** Error 2 in gnu/usr.bin (<bsd.subdir.mk>:48 'all': @for entry in clang cvs binutils binutils-2.17 perl texinfo; do set -e; if test -d /u...)
*** Error 2 in gnu (<bsd.subdir.mk>:48 'all': @for entry in lib usr.bin usr.sbin; do set -e; if test -d /usr/src/gnu/${entry}.amd64; then ...)
*** Error 2 in . (<bsd.subdir.mk>:48 'all': @for entry in lib include bin libexec sbin usr.bin usr.sbin share games gnu sys; do set -e; if ...)
*** Error 2 in . (Makefile:97 'do-build')
*** Error 2 in /usr/src (Makefile:74 'build')
2451.85 real 1663.40 user 540.36 sys
1506228 maximum resident set size
64701 average shared memory size
38481 average unshared data size
112 average unshared stack size
159430126 minor page faults
316512 major page faults
0 swaps
8590 block input operations
446750 block output operations
0 messages sent
20 messages received
78392 signals received
1377363 voluntary context switches
7186 involuntary context switches
hlcs#
Sorry, I meant that just running that llvm-tblgen from the command line worked (but it doesn't seem to work when being run using make) - and I have no idea either why we are seeing that difference.
Sorry, I meant that just running that llvm-tblgen from the command line worked (but it doesn't seem to work when being run using make) - and I have no idea either why we are seeing that difference.
Just having a look at what make build actually does:
hlcs# make -n build
umask 007; exec make do-build
hlcs# make -n do-build
if [[ `id -u` -ne 0 ]]; then echo do-build must be called by root >&2; false; fi
cd /usr/src/share/mk && exec make install
exec make cleandir
exec make includes
cd /usr/src/lib && su build -c 'exec make' && NOMAN=1 exec make install
/sbin/ldconfig -R
cd /usr/src/gnu/lib && su build -c 'exec make' && NOMAN=1 exec make install
/sbin/ldconfig -R
su build -c 'exec make' && exec make install
/bin/sh /usr/src/distrib/sets/makeetcset /usr/src make
So it's not actually using the ulimit set in the root shell, but the one it gets for the build user - and that user has the default datasize-max=1536M and datasize-cur=1536M.
There is an entry for build in /etc/login.conf:
#
# Building LLVM in base requires higher limits
#
build:\
:datasize-max=1843M:\
:datasize-cur=1843M:\
:tc=default:
But the build user doesn't use that login class:
build:*:21:21::0:0:base and xenocara build:/var/empty:/bin/ksh
Comments
The next step is installing the sources, which is covered in the OpenBSD FAQ - Building the System from Source.
OpenBSD and NetBSD use CVS as their source code version management software. OpenBSD and NetBSD both recommend avoding running CVS as root. So we want initially to
Then, we need to
/usr/xenocara
(for X11), and/usr/ports
(for packages).Next, we need to select an OpenBSD CVS server from the list at OpenBSD Anonymous CVS.
Finally, we want our unprivileged user to
I will post a little more about each of these steps as I go through them. Thanks!
I hope everyone gets the servers they want!
So the update seems to have overwritten
/etc/rc.conf
- the main thing that I had changed in there was settinghttpd_flags=
(fromhttpd_flags=NO
- the old file was backed up in/var/backups/etc_rc.conf.backup
). I have made that change again now.@Not_Oles do you happen to remember any warning related to that?
@cmeerw As you know, in NetBSD there is
etcupdate
, which is a specific command designed to adjust upgrades to the files inetc
.But, in OpenBSD, when somebody runs
sysupgrade -s
it's not clear to me, yet, howetc
is protected. Or ifetc
is protected. In particular, I don't recall seeing a warning aboutetc/rc.conf
, but a warning could have been displayed prominently and I might nevertheless have missed it.If I understand correctly, you want
http_flags=
set to nothing (not even set to""
) in/etc/rc.conf
. So I will check that setting when I do something that seems like it might change/etc/rc.conf
.I will take another look at the
sysupgrade
man page and documentation to see what I can find about howsysupgrade -s
treats/etc
. Anything else, please let me know. Apologies for any inconvenience! Thanks!I hope everyone gets the servers they want!
Looking again at the
sysupgrade(8)
man page, which is available online at https://man.openbsd.org/sysupgrade.8, there seems to be nothing said about what happens to/etc
whensysupgrade
is used.The OpenBSD Following -current and using snapshots FAQ also doesn't seem to say anything about
/etc.
When I previously used
sysupgrade
at Hetzner Cloud, there were no issues that I recall.Nevertheless, it seems obvious that hlcs wasn't in the default state, so I should have looked for any changes @cmeerw made which might have needed attention. My bad!
@cmeerw If there is anything else that I need to fix, I sincerely hope and trust that you would have mentioned it. So, moving onward!
I hope everyone gets the servers they want!
@cmeerw Okay to name the unprivileged CVS user "ucvsu"?
I hope everyone gets the servers they want!
Sure.
Guys, @cmeerw Does this seem reasonable?
I hope everyone gets the servers they want!
Plan for building OpenBSD-current from source code for hlcs
June 25, 2025
Guys, @cmeerw How about this plan for compiling and installing OpenBSD-current? Assuming that the sources are fetched successfully as described in the previous post. . . . Thanks!
References
From https://www.openbsd.org/anoncvs.html :
From https://www.openbsd.org/faq/faq5.html#wsrc :
Step 1: Build a new kernel and reboot
From: https://man.openbsd.org/release :
Step 2: Build and install a new userland and reboot
From: https://man.openbsd.org/release :
Thanks to @Hosteroid for our lovely hlcs!
Thanks to @cmeerw for great sysadmin help! 
Guys, if you would like an account on hlcs, please review the How to Apply section of the first post in this thread!
I hope everyone gets the servers they want!
Shouldn't the compile steps ideally be done under an unprivileged user, and then only switch to root for
make install
andreboot
?Yes! Especially, haha, immediately after we went through making the unprivileged user!
So,
Also, things might go less quickly without the -j option!
Probably I want to build xenocara. We might not want to build all the ports.
Thanks for fixing my mistakes! Much appreciated!
More before too long. . . .
I hope everyone gets the servers they want!
Hosteroid says,
I hope everyone gets the servers they want!
Hi!
ucvsu is now present on hlcs! Here are a few highlights.
I forgot to include the -m option in the above plan!
So I copied /etc/skel/.* manually, and changed the owners manually. The result is below.
I checked
/etc/passwd
and/etc/group
:I checked to make sure login works as expected on IPv4 and IPv6:
If ucvsu needs anything more, will somebody please speak up!?
@cmeew Your ssh public key is included, so you should be able to login as ucvsu if you wish.
I haven't done any
doas
configuration. If you want anything, please let me know, or just do it and let me know.@babywhale You haven't been active, so I commented out your key from /root/.ssh/authorized_keys and /home/ucvsu/.ssh/authorized_keys. But any time you want access restored, please ask, and I will restore your access right away. Thanks for all your help with everything!
Especially BashVM! 
I made ssh keys for ucvsu, even though making ssh keys also wasn't in the plan!
No password for these keys. @cmeerw if you want a password added, please let me know.
Next up is to try CVS!
Thanks to @Hosteroid for our fun, community server!
Thanks to @cmeerw for admin skills!
Thanks to any of you guys who want to join -- please review the How To Apply section of the OP! 
Best!
Tom
I hope everyone gets the servers they want!
I have no idea whats going on here anymore... and the messages are too long to be worth the time to read. Summarize?
Never make the same mistake twice. There are so many new ones to make.
It’s OK if you disagree with me. I can’t force you to be right.
@somik
Intel E3 dedi dual booted with Debian and OpenBSD-current. An unprivileged Concurrent Version System (CVS) user presently is being added to facilitate downloading and re-compiling the OpenBSD system from source code.
The server is kindly donated by @Hosteroid.
@cmeerw is helping with system administration. 
If you want to use the server for something, kindly let us know. It's free for awesome LESbians like you!
I hope everyone gets the servers they want!
Naa, I'm good. I am playing with the E5 server running proxmox I have at home. Was wondering what's going on since I saw a lot of messages flying around here. I did see messages about openbsd being installed/booted, but did not think it was being dual booted with debian.
Never make the same mistake twice. There are so many new ones to make.
It’s OK if you disagree with me. I can’t force you to be right.
Made the additional needed directories:
I hope everyone gets the servers they want!
Maybe the sources now are present on hlcs!
To me, it's really nice to have the sources immediately at hand, just a
cd
away! Thanks to the OpenBSD developers!Thanks to @Hosteroid for the nice community server!
Thanks to @cmeerw for sysadmin help! 
Anybody want to hop on? Try OpenBSD's web server? Add AI? Something else? Something more? Something MOARRRRRR? Please review the How To Apply section of the OP. Thanks!
Next up is compiling! Unless I still am missing something?
I hope everyone gets the servers they want!
Compiling our new OpenBSD-current kernel!
Checking for updates.
Compiling the new kernel first, as recommended in https://man.openbsd.org/release.8.
Installing and rebooting.
Here we are, up again.
Thanks @Hosteroid! Thanks @cmeerw! Thanks OpenBSD! Thanks LES!

Next is compiling and installing our new userland, sysmerge, makedev, and rebooting. . . .
I hope everyone gets the servers they want!
Compiling our new OpenBSD userland!
I wonder how much memory is needed?
Could it be that simply restarting the compile (keeping -j 4) might work the second time around? (BTW, I know we have 8 threads. I just used 4 not to be greedy, so @cmeerw would have compute power if needed.)
What I did was restart the compile single threaded (make without the -j option), and the compile proceeded.
I will post again as the compile proceeds or when it completes. Thanks!
I hope everyone gets the servers they want!
Okay, similar error:
More soon. It's getting late here, so sleep for now. @cmeerw If you want to play with this, maybe look inside the tmux session that root has running. If not, that's okay too. I guess it's not impossible that there might be a new commit which fixes this? I haven't checked yet. I remember you making some per process limit changes. I have to look at that again. Of course, all ideas always appreciated. Thanks!
I hope everyone gets the servers they want!
Could be another case where the
ulimit
needs to be adjusted?I have done
ulimit -d 25165824
in that tmux session and done anothermake build
BTW, to get all 8 threads,
sysctl hw.smt=1
is needed (probably need to add that to/etc/sysctl.conf
...)Hi @cmeew! Thanks for your help! I woke up to:
Checking the entry for ulimit in the ksh man page, it says, "limits may not be increased once they are set."
The man page also says,
Is 25165824 kilobytes not enough? What about exiting tmux and starting another tmux session to get around the shell's inability to increase limits, and then trying
ulimit -d 32425444
or maybeulimit -d unlimited
?For convenient reference, here are all the soft and hard limits from inside the current tmux session:
And from outside the tmux session:
Physical hardware limit (bytes):
Thanks!
I hope everyone gets the servers they want!
Just tried running that command in a normal shell, and that seems to work. BTW,
/usr/bin/time -l
reportsSo that's well below the original 4 GB limit.
@cmeew FWIW, the build doesn't seem to work for me with 4 threads:
Or with one thread (and
/usr/bin/time -l
):What am I missing? Thanks!
I hope everyone gets the servers they want!
Trying, without tmux,
I will post again to let you know what happens. . . . Thanks!
I hope everyone gets the servers they want!
Nope!
I hope everyone gets the servers they want!
Sorry, I meant that just running that
llvm-tblgen
from the command line worked (but it doesn't seem to work when being run usingmake
) - and I have no idea either why we are seeing that difference.Just having a look at what
make build
actually does:So it's not actually using the ulimit set in the root shell, but the one it gets for the
build
user - and that user has the defaultdatasize-max=1536M
anddatasize-cur=1536M
.There is an entry for
build
in/etc/login.conf
:But the
build
user doesn't use that login class:@cmeerw Okay, that's all right! Thanks for taking a little dive into OpenBSD with me!
Do you want to stick with the present OpenBSD / Debian dual boot install?
Might there be something else that you want to run on hlcs?
Any other LESbians want to try? It's free! Please review "How To Apply" in the OP.
Thanks to @Hosteroid for our fun Community server!
I hope everyone gets the servers they want!
I have set the login class for the
build
user tobuild
now and restarted amake build
At least we should get the OpenBSD build done before switching to anything else.