@mpts@mastodon.social
@mpts@mastodon.social avatar

mpts

@mpts@mastodon.social

#FreeBSD committer and Core Team member (core.12).

#osdev #dtrace #ebpf #performance #zfs

This profile is from a federated server and may be incomplete. Browse more on the original instance.

raichoo, to bass
@raichoo@chaos.social avatar

Spontaneous gig tomorrowโ€ฆ strings are "relatively" fresh but I'm thinking about changing them anyway. #bass #bassguitar

mpts,
@mpts@mastodon.social avatar

@raichoo How often do bass players change strings? I thought you basically change them once the thinnest one breaks ๐Ÿ˜…

mpts,
@mpts@mastodon.social avatar

@raichoo Fascinating! Thanks a lot for clarifying that.

rvstaveren, to FreeBSD Dutch
@rvstaveren@mastodon.online avatar

Just a thoughtโ€ฆ Wouldnโ€™t it be nice if capsicum in #FreeBSD could be used in such way that you didnโ€™t need to alter binaries, but from e.g. daemon(8) which would jail your binaries with the restricted capabilities

mpts,
@mpts@mastodon.social avatar

@rvstaveren There you go:

https://papers.freebsd.org/2020/bsdcan/stone-oblivious_sandboxing_capsicum_ebpf/

It is called oblivious sandboxing AFAIK.

Ryan Stone has worked on it at one point. I don't remember the details though.

#FreeBSD #FOSS #security #osdev #infosec

jpmens, to random
@jpmens@mastodon.social avatar

deleted_by_author

  • Loading...
  • mpts,
    @mpts@mastodon.social avatar

    @jpmens That would be cool.

    jpmens, (edited ) to random
    @jpmens@mastodon.social avatar

    deleted_by_author

  • Loading...
  • mpts,
    @mpts@mastodon.social avatar

    @jpmens @max @abimelechbeutelbilch When introducing a pipe here you spawn at least one process more than you would when redirecting to /dev/null. Nice trick for interactive sessions though!

    mpts, to FreeBSD
    @mpts@mastodon.social avatar

    The other day I have also committed an update to the sync(8) manual page, which documents that running sync three times in a row hasn't been necessary since the 80s.

    https://cgit.freebsd.org/src/commit/?id=177ba183076bd6fe6b29b1d657b954cca256506b

    It's fascinating that you still see those triple syncs all over people's shell scripts.

    lobocode, to FreeBSD

    I started a simple project called checkrc that validates the /etc/rc.conf file on #FreeBSD. I'm still a beginner in C programming, but I'm giving it a shot with something usful:

    https://github.com/scovl/checkrc

    The project is still a work in progress, right at the beginning, so don't expect too much yet. But I'll be working on it every day. :blobfoxcofecute: :blobfoxcomputerowonotice: One day I'll be great!

    mpts,
    @mpts@mastodon.social avatar

    @lobocode Just a note: rc.conf(5) is technically a shell script and some people actually use sh features in rc.conf.

    mpts, to macos
    @mpts@mastodon.social avatar

    Has anyone successfully mounted on #macOS #NFS or #Samba shares hosted on a #FreeBSD server?

    If I use NFSv3, then all my shares are full of #AppleDouble files (i.e., with the "._" prefix).

    If I use #NFSv4, then "git fetch" just hangs forever and never finishes.

    If I use #Samba, then either 1) everything is 755 but I cannot delete files xD or 2) (after applying https://askubuntu.com/a/1126633/413683) the permissions are correct, but something is wrong with my .git: ad_convert: Failed to convert [.git].

    :(

    owa, to apple
    @owa@mastodon.social avatar
    mpts, (edited )
    @mpts@mastodon.social avatar

    @owa @darkpatterns It's in the options of every browser app. Also, you get a huge pop-up forcing you to select the default browser with the recent iOS update. It seems quite reasonable to me.

    EDIT: Actually, you only get the pop-up if you open Safari.

    mpts, to FreeBSD
    @mpts@mastodon.social avatar
    wojtek, to iOS

    Oh what joy. Seems like #Mail.app on #iOS no longer allows sending uncompressed 2.2 MB JPEGs.
    My #SMTP server advertises 250-SIZE 157286400 (accepts messages up to 150 MB) and base64-encoded 2.2 MB binary would weigh roughly ~2.86 MB.

    What non-3rd party options are there to transfer pics from #iPhone to #FreeBSD laptop nowadays?

    mpts,
    @mpts@mastodon.social avatar

    @wojtek I set up miniserve and upload stuff from the phone to the computer using its web UI.

    https://github.com/svenstaro/miniserve

    stefano, to FreeBSD
    @stefano@bsd.cafe avatar

    This is strange: last October I created a FreeBSD VNET jail and defined a wireguard interface and a vxnet interface. It was working. Today I started the jail and it doesn't work anymore:

    /sbin/ifconfig vxlan create vxlanid 77 vxlanlocal 10.77.0.1 vxlanremote 10.77.0.2 inet 10.77.1.1/24
    ifconfig: SIOCIFCREATE2 (vxlan): Invalid argument

    What could be wrong?

    #FreeBSD #vxnet

    mpts,
    @mpts@mastodon.social avatar

    @stefano Could it be that the root user in the jail no longer has the permissions to change networking configuration?

    mpts, to FreeBSD
    @mpts@mastodon.social avatar

    If you are upgrading to #FreeBSD14 right now, make sure to read the late announcements from the current #FreeBSD Release Engineering Lead, Colin Percival.

    https://www.daemonology.net/blog/2023-11-21-late-breaking-FreeBSD-14-breakage.html

    kzimmermann, to FreeBSD
    @kzimmermann@fosstodon.org avatar

    % freebsd-version -ku
    14.0-RELEASE
    14.0-RELEASE
    % uname -rms
    FreeBSD 14.0-RELEASE arm64

    Hello, #FreeBSD 14 :freebsd:

    Update was smooth, if a little time-consuming on the Pi, and everything seems to be working correctly, which is awesome! Let's do more testing and find out :)

    mpts,
    @mpts@mastodon.social avatar

    @kzimmermann What are your plans regarding mixer(8)?

    mcfly, to random German
    @mcfly@milliways.social avatar

    And that's why we stopped using it....

    mpts,
    @mpts@mastodon.social avatar
    darth, to FreeBSD
    @darth@silversword.online avatar

    deleted_by_author

  • Loading...
  • mpts,
    @mpts@mastodon.social avatar

    @WagesOf @darth I'm running #FreeBSD on #Lenovo #T480 and most of the things just work.

    mpts,
    @mpts@mastodon.social avatar

    @darth @WagesOf Some people use the improved #WiFi support provided by the #wifibox project with great success: https://github.com/pgj/freebsd-wifibox

    The idea is that you run a #Linux VM and let the Linux drivers operate your wireless card.

    It's a pretty cool solution in my opinion.

    mntmn, to random
    @mntmn@mastodon.social avatar

    rpi5 cpu is 4x a76 at 16nm. a311d cpu is 4x a73 + 2x a53 at 12nm. rk3588 is 4x a76 + 4x a55 at 8nm.

    mpts,
    @mpts@mastodon.social avatar

    @mntmn Does that translate to "rpi5 cpu is not as dense as it could be"?

    mpts,
    @mpts@mastodon.social avatar

    @mntmn Thanks!

    ramin_hal9001, to FreeBSD
    @ramin_hal9001@emacs.ch avatar

    WTF? You can use #Nix on #FreeBSD now?!?!

    It's the sysutils/nix package... er, "port" or whatever. This could be awesome, because I would be able to have reproducible builds an an operating system that provides #ZFS support, which on #Linux is possible but still a bit experimental. And also you can make use of #BSD "jails" or "zones" as app containers, which on #Linux is not possible at all. (And no Docker doesn't even come close to providing the isolation and security features that BSD jails provides.)

    But still, so many questions...

    • so when you install stuff using Nix, does it still build it using the Clang compiler that FreeBSD uses for the rest of it's stuff? Or does it force you to use the #GCC from Nix Packages?
    • Is there an easy way to configure which compiler you want to use for building all of your stuff?
    • Or (and I hope this is not the case, but) does it make use of some kind of BSD comparability layer for Linux kind of like what WSL2 does on Windows? I wouldn't think so, but it is possible that this is how it works.
    • Is it possible to build Nix packages into BSD jail? I know Nix provides support for creating Docker containers, but is there support for jails?
    • Is there a Nix expression that can construct a Nix derivation from a BSD "port" itself? I would assume so, but then, not necessarily.
    mpts,
    @mpts@mastodon.social avatar

    @zirias @ramin_hal9001 Hey, I did some initial work on the #Nix port for #FreeBSD and brought it into the FreeBSD Ports Collection.

    There is some momentum in the community to get Nix working on FreeBSD.

    Here's a Nix maintainer saying that:

    > Thanks to @qyliss effort, BSD cross compilation in Nixpkgs is now quite mature.

    (https://github.com/NixOS/nix/pull/8887)

    The future of Nix on FreeBSD looks very promising.

    #NixOS

    notjustbikes, to random
    @notjustbikes@notjustbikes.com avatar

    Every time I try to book an international train in Europe it's full or near capacity. They sell out within days of becoming available.

    Demand is way up, but supply has been the same for year. We need more trains!!

    https://nltimes.nl/2023/07/21/international-trains-reaching-limits-railway-holiday-gains-popularity

    mpts,
    @mpts@mastodon.social avatar
    mpts, to random
    @mpts@mastodon.social avatar

    @mntmn Is there a profile on the ?

    mpts,
    @mpts@mastodon.social avatar

    @mntmn Do you know if anyone from the community is working on porting #FreeBSD to #MNTReform? I guess it is too early to ask about #MNTPocketReform as the first batch is not out yet AFAIK.

    mpts,
    @mpts@mastodon.social avatar

    @mntmn Thanks! I was thinking if porting to could be a nice project to learn more about the architecture (and programming in general).

    mpts,
    @mpts@mastodon.social avatar

    @mntmn Thanks to the common ancestry, the code usually ports nicely from one #BSD to another. It does require some work though. Which is what would make it interesting :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • JUstTest
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • GTA5RPClips
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • lostlight
  • All magazines