@tmntwitw My main goal once I have the VPS is to create a .conf file for WireGuard, so I can use it to access not only websites, but also apps like WhatsApp and others that are currently blocked from the national network in Cuba.
@cmeerw
*Thank you for pointing me to the previous discussion. I’ve read through it carefully.
My case is a bit different. I’m in Cuba, where most tunneling and proxy services — even with custom domains — are blocked by the national ISP (ETECSA). What I need is not just a VPS to run a proxy, but a stable server hosted outside of Cuba, which I can use to generate a .conf file for WireGuard. This file would allow me (and potentially others) to turn Cuba’s restricted national network into international internet by securely tunneling through the VPS.
The goal is to bypass the severe content filtering and network restrictions that ETECSA enforces, especially on mobile connections. Tools like Tor or basic Cloudflare tunnels don’t work reliably here, so this VPS is really the only practical way to make this project accessible from inside Cuba.
@Yunior2001 said: this VPS is really the only practical way to make this project accessible from inside Cuba.
Presumably you could do your project on any VPS to which you can get access, so this thread is not your only hope.
As mentioned in the OP, there are no present plans to offer this server without identity verification. It would be great if I could provide free VPSes without identity verification. But past efforts to do that haven't worked.
As things stand, I have no way of knowing who you really are and, indeed, whether you really are in Cuba, or not.
I made you a friendly offer to hang around LES for a few months, engage actively in the discussions here, and then apply again. That offer still stands, but you are close to ruining it. Please stop applying in this thread. If I see you around LES, being helpful, for six months, I probably will invite you to join us on the server. If you apply again before six months, I probably will stop replying to you.
This looks like an awesome initiative, thanks to you and Hosteroid for offering this!
I'm from Nepal, 21 y/o student and a small-time hosting provider
I tinker a lot with Linux servers, containers, and networking stuff for fun (and learning ofc).
Would love to use the HLCS box to mess around with things like:
containers (LXC/systemd-nspawn mainly)
test out lesser-used distros or BSD builds
build and share small CLI tools
maybe host mirrors of free software tools used in our region
I’m very much into white hat and open source only. No plans of running anything shady or business-y — just love learning and sharing what I find with others.
Also happy to verify with ID or extra info via PM/email if needed.
I see that you have been with us here at LES for a few weeks.I checked your account and saw 1 thread asking for a reselling platform in addition to your post here in this thread. Well, everybody has to start at the beginning. What I always am hoping to see are posts helping others here, posts with engaging discussion, and a level of participation in the LES community which helps others.
@namence_pro said: Also happy to verify with ID or extra info via PM/email if needed.
You are welcome to send me whatever you think might be helpful. Maybe it might be better to hold off a little while, though, until you have been active here a little longer? But, please feel free to go ahead and send whatever you want.
Probably you noticed that hlcs is running OpenBSD at the moment. What's your interest in OpenBSD? I guess not LXC or systemd-nspawn.
Best wishes! Thanks again! Thanks to @Hosteroid for our nice Community Server!
I've been trying not to do too much on hlcs, because I wanted the server to be available for other LESbians. But, things seem quiet.
Does anybody have something they want to run on the server? @cmeerw?
If yes, please review the How To Apply section of the OP. Maybe we can get your project started!
What I might like to try on hlcs is bring hlcs up to OpenBSD-current, install the sources, recompile and reinstall everything, and then follow some of the source changes. I was doing this for a while on another server, and I have been re-compiling NetBSD on yet another. I will go ahead with e-compiling and following OpenBSD-current on hlcs unless @cmeerw or @babywhale or somebody else proposes a different idea.
Thanks to @Hosteroid for the beautiful server! Thanks to @cmeerw for great sysadmin work! Best wishes!
@Not_Oles said: Does anybody have something they want to run on the server? @cmeerw?
I am busy with other things this week. At some point I want to re-run tilemaker to see if it crashes the server again under OpenBSD (but that can also be done under OpenBSD-current).
Okay, thanks @cmeerw! I am going to try moving hlcs to OpenBSD-current. Any time you want to revert to Debian or to change anything, please feel free to go ahead without asking. Just please post here so I know what's happening.
In case anybody is interested in how to upgrade OpenBSD to OpenBSD-current and then re-compiling everything from source, I will post a few notes as I try.
"You should always use a snapshot as the starting point for running -current. This process typically consists of running sysupgrade(8) with the -s flag."
chronos@penguin:~/servers/hosteroid$ ssh [email protected]
Linux hlcs 6.12.27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.27-1 (2025-05-06) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu May 29 18:47:18 2025 from xxx.xxx.xxx.xxx
root@hlcs:~# date
Wed Jun 18 09:02:02 PM UTC 2025
root@hlcs:~# uptime
21:02:07 up 10 min, 1 user, load average: 0.00, 0.02, 0.02
root@hlcs:~#
Here we are logged in to the server console. From the console, I might be able to access the boot loader and reboot into OpenBSD. More soon, or maybe later. . . .
Okay, the grub menu in the console only seems to show Debian as a boot option. Maybe I nuked OpenBSD? Maybe there is another way to boot OpenBSD when it is dual bootable with Debian? Thanks for any ideas!
@Not_Oles said:
Okay, the grub menu in the console only seems to show Debian as a boot option. Maybe I nuked OpenBSD? Maybe there is another way to boot OpenBSD when it is dual bootable with Debian? Thanks for any ideas!
Sorry, didn't get around to properly adding OpenBSD to grub, but I did mention some time ago how to boot OpenBSD:
@cmeerw said: (btw, booting to OpenBSD would be via chainloader (hd0,msdos3)+1 in grub).
When you have time, may I please ask how you did the reboot? If I recompile and reinstall everything, I need to reboot afterwards, twice each time, once for the new kernel and once again for the new userland. I need to be able to do the reboot myself so I don't have to bother you.
No rush. Meanwhile, maybe tomorrow I can installing the sources and try compiling, but not installing.
When you have time, may I please ask how you did the reboot? If I recompile and reinstall everything, I need to reboot afterwards, twice each time, once for the new kernel and once again for the new userland. I need to be able to do the reboot myself so I don't have to bother you.
No rush. Meanwhile, maybe tomorrow I can installing the sources and try compiling, but not installing.
Thanks again!
In grub, press c and then
chainloader (hd0,msdos3)+1
boot
Edit: There should be a way to add it to the grub menu (maybe even just an update-grub in Debian would do that?)
Actually, I have now added an OpenBSD menu entry in grub (with that chainloader (hd0,msdos3)+1 in /etc/grub.d/40_custom) and set grub to boot that by default (in /etc/default/grub)
I figured that the magic might be something with the grub command line! I have heard of the chain loader but never have used it.
@cmeerw said:
Actually, I have now added an OpenBSD menu entry in grub (with that chainloader (hd0,msdos3)+1 in /etc/grub.d/40_custom) and set grub to boot that by default (in /etc/default/grub)
Thanks! Very helpful!
Now I can get in as tom and as root.
hlcs$ date
Thu Jun 19 15:18:42 UTC 2025
hlcs$
hlcs# date
Thu Jun 19 15:37:10 UTC 2025
hlcs#
And reboot works automagically! Plus, we're running 7.7-current!
hlcs# date; reboot
Thu Jun 19 15:38:14 UTC 2025
Connection to xxx.xxx.xxx.xxx closed by remote host.
Connection to xxx.xxx.xxx.xxx closed.
chronos@penguin:~/servers/hosteroid$ sleep 60
chronos@penguin:~/servers/hosteroid$ `head -n 1 login-root`
Last login: Thu Jun 19 15:37:06 2025 from xxx.xxx.xxx.xxx
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.
Please use the sendbug(1) utility to report bugs in the system.
Before reporting a bug, please try to reproduce it with the latest
version of the code. With bug reports, please try to ensure that
enough information to reproduce the problem is enclosed, and if a
known fix for it exists, include that as well.
hlcs# uptime
3:39PM 29 secs, 1 user, load averages: 0.33, 0.08, 0.03
hlcs#
As of right now, /use/src is empty.
hlcs# ls /usr
X11R6 games lib libexec mdec sbin src
bin include libdata local obj share xobj
hlcs# ls /usr/src
hlcs#
So next up, we should be able to have tons of fun adding the sources, looking at a few of the source changes, and re-compiling!
If anybody else wants to get in on the OpenBSD fun, or to do something else on hlcs, even with another OS, please check the How To Apply section in the OP and let us know. Thanks to @Hosteroid for the lovely server! Thanks to @cmeerw for excellent, friendly, and fast system administration! Thanks to everybody at OpenBSD!
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.
I speak fluent sarcasm and broken logic. | I would agree with you, but thæn we’d both be wrong.
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
@tmntwitw My main goal once I have the VPS is to create a .conf file for WireGuard, so I can use it to access not only websites, but also apps like WhatsApp and others that are currently blocked from the national network in Cuba.
Please read the discussions starting with https://lowendspirit.com/discussion/comment/198134/#Comment_198134 - you seem to be suggesting something very similar here.
@cmeerw
*Thank you for pointing me to the previous discussion. I’ve read through it carefully.
My case is a bit different. I’m in Cuba, where most tunneling and proxy services — even with custom domains — are blocked by the national ISP (ETECSA). What I need is not just a VPS to run a proxy, but a stable server hosted outside of Cuba, which I can use to generate a .conf file for WireGuard. This file would allow me (and potentially others) to turn Cuba’s restricted national network into international internet by securely tunneling through the VPS.
The goal is to bypass the severe content filtering and network restrictions that ETECSA enforces, especially on mobile connections. Tools like Tor or basic Cloudflare tunnels don’t work reliably here, so this VPS is really the only practical way to make this project accessible from inside Cuba.
Presumably you could do your project on any VPS to which you can get access, so this thread is not your only hope.
As mentioned in the OP, there are no present plans to offer this server without identity verification. It would be great if I could provide free VPSes without identity verification. But past efforts to do that haven't worked.
As things stand, I have no way of knowing who you really are and, indeed, whether you really are in Cuba, or not.
I made you a friendly offer to hang around LES for a few months, engage actively in the discussions here, and then apply again. That offer still stands, but you are close to ruining it. Please stop applying in this thread. If I see you around LES, being helpful, for six months, I probably will invite you to join us on the server. If you apply again before six months, I probably will stop replying to you.
Special thanks to @tmntwitw, @cmeerw, and @skorous for being so helpful! That's the Spirit!
Hey @Not_Oles 👋
This looks like an awesome initiative, thanks to you and Hosteroid for offering this!
I'm from Nepal, 21 y/o student and a small-time hosting provider
I tinker a lot with Linux servers, containers, and networking stuff for fun (and learning ofc).
Would love to use the HLCS box to mess around with things like:
containers (LXC/systemd-nspawn mainly)
test out lesser-used distros or BSD builds
build and share small CLI tools
maybe host mirrors of free software tools used in our region
I’m very much into white hat and open source only. No plans of running anything shady or business-y — just love learning and sharing what I find with others.
Also happy to verify with ID or extra info via PM/email if needed.
Cheers 🙌
Hi @namence_pro!
Thanks for your message! Welcome!
I see that you have been with us here at LES for a few weeks.I checked your account and saw 1 thread asking for a reselling platform in addition to your post here in this thread. Well, everybody has to start at the beginning. What I always am hoping to see are posts helping others here, posts with engaging discussion, and a level of participation in the LES community which helps others.
You are welcome to send me whatever you think might be helpful. Maybe it might be better to hold off a little while, though, until you have been active here a little longer? But, please feel free to go ahead and send whatever you want.
Probably you noticed that hlcs is running OpenBSD at the moment. What's your interest in OpenBSD? I guess not LXC or systemd-nspawn.
Best wishes! Thanks again! Thanks to @Hosteroid for our nice Community Server!
I've been trying not to do too much on hlcs, because I wanted the server to be available for other LESbians. But, things seem quiet.
Does anybody have something they want to run on the server? @cmeerw?
If yes, please review the How To Apply section of the OP. Maybe we can get your project started!
What I might like to try on hlcs is bring hlcs up to OpenBSD-current, install the sources, recompile and reinstall everything, and then follow some of the source changes. I was doing this for a while on another server, and I have been re-compiling NetBSD on yet another. I will go ahead with e-compiling and following OpenBSD-current on hlcs unless @cmeerw or @babywhale or somebody else proposes a different idea.
Thanks to @Hosteroid for the beautiful server! Thanks to @cmeerw for great sysadmin work! Best wishes!
I am busy with other things this week. At some point I want to re-run tilemaker to see if it crashes the server again under OpenBSD (but that can also be done under OpenBSD-current).
Okay, thanks @cmeerw! I am going to try moving hlcs to OpenBSD-current. Any time you want to revert to Debian or to change anything, please feel free to go ahead without asking. Just please post here so I know what's happening.
In case anybody is interested in how to upgrade OpenBSD to OpenBSD-current and then re-compiling everything from source, I will post a few notes as I try.
From the OpenBSD FAQ item called Following -current and using snapshots:
The OpenBSD manual pages are online. Here is a link to sysupgrade 8: https://man.openbsd.org/sysupgrade.8
Let's go try "sysupgrade -s" and see what happens! Thanks again @cmeerw and @Hosteroid!
Here's the output from
sysmerge -s.Haha, hlcs rebooted back into Linux!
Let's go see if I can fix it.
Might take a while! 
Here we are logged in to the server console. From the console, I might be able to access the boot loader and reboot into OpenBSD. More soon, or maybe later. . . .
Okay, the grub menu in the console only seems to show Debian as a boot option. Maybe I nuked OpenBSD? Maybe there is another way to boot OpenBSD when it is dual bootable with Debian? Thanks for any ideas!
Sorry, didn't get around to properly adding OpenBSD to grub, but I did mention some time ago how to boot OpenBSD:
Just did the reboot to OpenBSD:
Thanks! That's so great.
When you have time, may I please ask how you did the reboot? If I recompile and reinstall everything, I need to reboot afterwards, twice each time, once for the new kernel and once again for the new userland.
I need to be able to do the reboot myself so I don't have to bother you. 
No rush. Meanwhile, maybe tomorrow I can installing the sources and try compiling, but not installing.
Thanks again!
In grub, press
cand thenEdit: There should be a way to add it to the grub menu (maybe even just an update-grub in Debian would do that?)
Actually, I have now added an
OpenBSDmenu entry in grub (with thatchainloader (hd0,msdos3)+1in/etc/grub.d/40_custom) and set grub to boot that by default (in/etc/default/grub)I figured that the magic might be something with the grub command line! I have heard of the chain loader but never have used it.
Thanks! Very helpful!
Now I can get in as tom and as root.
And reboot works automagically! Plus, we're running 7.7-current!
As of right now,
/use/srcis empty.So next up, we should be able to have tons of fun adding the sources, looking at a few of the source changes, and re-compiling!
If anybody else wants to get in on the OpenBSD fun, or to do something else on hlcs, even with another OS, please check the How To Apply section in the OP and let us know. Thanks to @Hosteroid for the lovely server!
Thanks to @cmeerw for excellent, friendly, and fast system administration!
Thanks to everybody at OpenBSD! 
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!
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 -sit's not clear to me, yet, howetcis protected. Or ifetcis 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
sysupgrademan page and documentation to see what I can find about howsysupgrade -streats/etc. Anything else, please let me know. Apologies for any inconvenience! Thanks!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/etcwhensysupgradeis used.The OpenBSD Following -current and using snapshots FAQ also doesn't seem to say anything about
/etc.When I previously used
sysupgradeat 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!
@cmeerw Okay to name the unprivileged CVS user "ucvsu"?
Sure.
Guys, @cmeerw Does this seem reasonable?
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!
Shouldn't the compile steps ideally be done under an unprivileged user, and then only switch to root for
make installandreboot?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. . . .
Hosteroid says,
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/passwdand/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
doasconfiguration. 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 have no idea whats going on here anymore... and the messages are too long to be worth the time to read. Summarize?
@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!
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.
Made the additional needed directories:
Maybe the sources now are present on hlcs!
To me, it's really nice to have the sources immediately at hand, just a
cdaway! 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?
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. . . .
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!
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!
Could be another case where the
ulimitneeds to be adjusted?I have done
ulimit -d 25165824in that tmux session and done anothermake buildBTW, to get all 8 threads,
sysctl hw.smt=1is 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 32425444or 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!
Just tried running that command in a normal shell, and that seems to work. BTW,
/usr/bin/time -lreportsSo 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!
Trying, without tmux,
I will post again to let you know what happens. . . . Thanks!
Nope!
Sorry, I meant that just running that
llvm-tblgenfrom 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 buildactually does:So it's not actually using the ulimit set in the root shell, but the one it gets for the
builduser - and that user has the defaultdatasize-max=1536Manddatasize-cur=1536M.There is an entry for
buildin/etc/login.conf:But the
builduser 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 have set the login class for the
builduser tobuildnow and restarted amake buildAt least we should get the OpenBSD build done before switching to anything else.