Posts
4385
Following
315
Followers
462
Software Engineer at Opinsys Oy
Entrepreneur at Siltakatu Solutions Oy

OpenPGP: 3AB05486C7752FE1

Star trekissä oli vuorossa legendaarinan natsijakso. Tämähän oli yllättävän hyvin kirjoitettu, odotin jotain paljon pöhkömpää.

1
1
1

Jarkko Sakkinen

After fighting with container nesting, I think that this concept would still make sense:

https://lwn.net/Articles/723477/

It's not discussed in the cover letter but obviously this would be much better tool for "full user space nesting" than namespace based containers.

I.e., kind of between Podman and Kata Containers as an infrastructure.
1
0
0

Jarkko Sakkinen

Edited 1 month ago

my #build #container framework:

sudo unshare \
  --fork \
  --mount \
  --uts \
  sh -c "
    mkdir -p $ROOTFS/proc
    mkdir -p $ROOTFS/sys
    mkdir -p $ROOTFS/dev
    mount -t sysfs /sys $ROOTFS/sys
    mount -t proc /proc $ROOTFS/proc
    mount --rbind /dev $ROOTFS/dev
    hostname $MACHINE
    su $USER
    export PUAVO_CACHE_PROXY=$PUAVO_CACHE_PROXY
    sudo unshare --root $ROOTFS $CMDLINE
  "

Nests nicely with #Docker and #Podman :-)

1
0
1

Jarkko Sakkinen

Edited 1 month ago
I wonder if I could apply for Nobel for this one:

https://bsky.app/profile/jarkk0.bsky.social/post/3lmkaiqxdb22o
0
0
1

Jarkko Sakkinen

As a small scale investor I get great benefit from Trump's stock market manipulation.

That's what it is all about ... It's an evil plot basically.

#economy
1
0
0

Jarkko Sakkinen

Time for yet another LSM upstream meeting :-) My favorite meeting of the month.
0
0
1

Jarkko Sakkinen

I think the bright side in the current times is that the relationship towards both Sweden and Estonia has been tightened up, and I can feel that there is more mutual respect towards each other :-)

🇪🇪 🇸🇪 🇫🇮
0
0
2

Jarkko Sakkinen

I dared to apply this to my -next:

https://lore.kernel.org/keyrings/Z_e9CVsmiXD3QYkg@kernel.org/

It's a good timing, given that we are at -rc1. key_put() is exactly type of code where:

1. You need to be extremely conservative.
2. Still there's a chance for breakage.
3. struct key is widely accessed kernel object in various context's. Thus, it is practically impossible to consider every possible use case.

I'll put this to my v6.16 PR if it turns out to not cause too much devastation :-)

#linux #kernel #keyring
0
0
0

Jarkko Sakkinen

0
0
0

Jarkko Sakkinen

2
0
0

Jarkko Sakkinen

Flying to Berlin in near future to meet up friends from Tallinn :-) It's cheaper than train + boat.
0
0
1

Jarkko Sakkinen

literally me
0
2
1

Jarkko Sakkinen

"marvel's mignight suns" is a cool game but why they have to talk so much, and why i need to hang out.

i don't hang out IRL either 🤷
0
0
0

Jarkko Sakkinen

thank you mr showerhead for giving this freedom my US comrades (pun intended).

https://www.whitehouse.gov/presidential-actions/2025/04/maintaining-acceptable-water-pressure-in-showerheads/
0
0
0

Jarkko Sakkinen

Edited 2 months ago

container hack for build: unshare + chroot. unshare guarantees unmounts, given a ephemeral file system namespace :-)

#!/bin/sh

set -eu

rootfs_dir=$1
adm_user=$2

if [ "$#" -eq 3 ]; then
  proxy_address=""
  cmdline=$3
else
  proxy_address=$3
  cmdline=$4
fi

sudo unshare --mount --pid --fork sh -c "
  mount --bind /sys '$rootfs_dir/sys'
  mount --bind /dev '$rootfs_dir/dev'
  mount -t proc proc '$rootfs_dir/proc'
  mount -t devpts devpts '$rootfs_dir/dev/pts'
  chroot '$rootfs_dir' su - '$adm_user' -c 'export PUAVO_CACHE_PROXY=\"$proxy_address\"; $cmdline'
"
0
1
1

Jarkko Sakkinen

Anyone interested on keyring:

https://web.git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/commit/?h=keys-graveyard

If this would work out then possibly also radiate to /proc/keys.

I.e. it could also similarly "knock for reference" but that is not within scope of this patch.

#linux #kernel #keyring
1
0
0

Happy International Asexuality Day!

0
6
3

My fourth Obnam 3 development session. Put into place the scaffolding to add chunk encryption, but didn't have the time to actually implement the encryption.

Small steps and tea is the way to reach goals while having fun.

(Obnam 3 is my Sunday project to experiment with implementing fundamental components for backup software.)

https://obnam.org/blog/2025/obnam3-04

1
1
0
Show older