Email or username:

Password:

Forgot your password?
11 posts total
Solène :flan_hacker:

The digital versions of the books

- The book of PF by @pitrh
- Absolute OpenBSD by @mwl
- Absolute FreeBSD also by @mwl

are available as a bundle for 1€ at humblebundle.com/books/dive-in , click on "5 item bundle".

This bundle is available until June 10th 2024, there are no way to know when they will appear again.

Peter N. M. Hansteen

@solene @mwl It's worth mentioning that this bundle is available until June 10th 2024 only.

It's possible one or more of those titles will appear in future bundles too, but I for one have no way to tell.

Daniele Tricoli
@solene thanks, got it! I was planning to install FreeBSD soon: this bundle happened at a perfect time! :flan_hurrah:

@pitrh @mwl
Solène :flan_hacker:

It's now officially possible to use the #IPFS protocol to pull / push #Nix packages :flan_hurrah:

github.com/NixOS/rfcs/pull/133

Show previous comments
Tomodachi94

@solene How can I take advantage of Nix over IPFS?

🚲

@solene sadly IPFS couldn’t start consistently after the latest update for me :blobpensive:

Solène :flan_hacker:

Any idea how to make an OpenVPN in Network Manager work with #SELinux ?

I have this in audit.log

type=AVC msg=audit(1680707456.828:170): avc: denied { search } for pid=5839 comm="openvpn" name="home" dev="dm-1" ino=256 scontext=system_u:system_r:openvpn_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=dir permissive=0

and this error in journalctl

Apr 05 17:11:20 t470 nm-openvpn[5907]: Cannot pre-load keyfile (/home/solene/.cert/ta.key)

if I disable SELinux it works well...

Show previous comments
Roberto Alfieri

@solene mmh, try with `sudo setsebool -P openvpn_enable_homedirs 1`

zoidb3rg

@solene I had in 2015 a similar issue. Here are my old notes, which solved the problem on Fedora.

-copy ca.crt, client.crt and client.key to ~/.cert
- restorecon -R -v ~/.cert

alternative: setenforce 0

source: ask.fedoraproject.org/en/quest

Solène :flan_hacker:

I just donated a little something to the OpenBSD foundation fundraising

openbsdfoundation.org/donation

As SSH server OpenSSH is developed as a part of OpenBSD, one may want to support its development through funding :flan_thumbs:

Solène :flan_hacker:

Yesterday, the OpenBSD webzine celebrated its first year! 🥳

webzine.puffy.cafe/

Andy Alderwick

@solene Aw, congrats! I do enjoy each publication when it comes out 😊

Solène :flan_hacker:

#NixOS people are serious about testing :flan_ooh:

Their testing automation is impressive! :flan_hearts:

Firefix is tested by opening a page (from valgrind man page), playing some sound, verifying some sound is played, closing a tab, display the developer tools. If anything fail, then the test fails

github.com/NixOS/nixpkgs/blob/

Openarena (Quake 3 open source reimplementation) is tested by running a server, connecting two players, verifying the clients connect to the server

github.com/NixOS/nixpkgs/blob/

Minecraft client is tested by running the client in a VM and use OCR to detect if it asks for creating an account

github.com/NixOS/nixpkgs/blob/

#NixOS people are serious about testing :flan_ooh:

Their testing automation is impressive! :flan_hearts:

Firefix is tested by opening a page (from valgrind man page), playing some sound, verifying some sound is played, closing a tab, display the developer tools. If anything fail, then the test fails

Solène :flan_hacker:

So, I switched my main server from a dual core atom + 4 GB of memory and 900 GB of disk, to an @OpenBSDAms VM with 1 Xeon core + 1 GB of memory and 50 GB of disk

I had to change a few things...

I thought munin was a lightweight monitoring solution, but not really.

- getting data requires running many commands for each value
- gathering data requires a lot of process on the server and take a lot of time and ~40 MB of memory per process
- rendering the graphs costs a lot of CPU and memory every 5 minutes
- using fast cgi for the graphs is a huge pain

I switched to collectd for collecting data, it uses nearly no CPU and 1 MB of memory :flan_aww:

sending data to a victoria metrics server using the graphite API, it doesn't use much data to transfer things as they can be transferred in bulk

victoria metrics uses like 20 MB of memory to handle 3 systems sending metrics, and almost no CPU

and data can be visualized with grafana which is the worse part of the stack, it draws 52 MB of memory and uses nearly no CPU.

The most boring thing was to create the dashboards on grafana, and that I can't find how to automatically detect the different instances in the datasets...

In the end, this stack is a lot more lightweight and scalable than munin :flan_disappointed:

So, I switched my main server from a dual core atom + 4 GB of memory and 900 GB of disk, to an @OpenBSDAms VM with 1 Xeon core + 1 GB of memory and 50 GB of disk

I had to change a few things...

I thought munin was a lightweight monitoring solution, but not really.

- getting data requires running many commands for each value
- gathering data requires a lot of process on the server and take a lot of time and ~40 MB of memory per process
- rendering the graphs costs a lot of CPU and memory every 5 minutes

A screenshot of a server monitoring dashboard made with Grafana, showing diagrams of system load, memory usage, CPU usage, uptime and swap.
Thomas

@solene c'est fini le serveur à la maison par VPN ?

Denis :flan_le_french:

@solene Have you upgraded to the latest VictoriaMetrics ? If so can you commit it ? :flan_beg:

Solène :flan_hacker:

I'm an hacker artist :flan_hacker: and I won't let anyone alienate my creativity :flan_set_fire:

Solène :flan_hacker:

I can sleep well because I have working backups. My laptop could be destroyed, I would not lose any data. Home may burn, same.

If you can't say the same, you should seriously think about doing backups, it's important when your world is digital.

Go Up