Skip to content

Instantly share code, notes, and snippets.

View magenbrot's full-sized avatar
🎯
Focusing

Oliver Völker magenbrot

🎯
Focusing
View GitHub Profile
@magenbrot
magenbrot / docker-compose.yml
Created January 14, 2022 09:32
docker-compose.yml for running FreeIPA in docker (tested in Debian Bullseye) with cgroups v1
# Debian Bullseye uses cgroups v2, but there are various problems with systemd inside a docker container.
# I'll let docker run with cgroups v1 instead.
#
# Activate support for cgroups v1 in Debian Bullseye:
# echo "GRUB_CMDLINE_LINUX=systemd.unified_cgroup_hierarchy=false" > /etc/default/grub.d/cgroup.cfg
# update-grub && reboot
version: '3.6'
services:
freeipa:
@magenbrot
magenbrot / postinstall.sh
Created December 5, 2018 13:44
Piler util/postinstall.sh patched for Debian 9 (stretch) installation
#!/bin/bash
INDEXER=$(which indexer 2>/dev/null)
SEARCHD=$(which searchd 2>/dev/null)
CRON_ORIG="/tmp/crontab.piler.orig"
CRON_TMP="/tmp/crontab.piler"
PILERCONF_TMP="/tmp/config.piler.88"
SOCKET_HELPER_SCRIPT="aaa.pl"

Keybase proof

I hereby claim:

  • I am magenbrot on github.
  • I am magenbrot (https://keybase.io/magenbrot) on keybase.
  • I have a public key whose fingerprint is 8C30 04DB FC12 19A2 D1B7 9018 5E20 2581 29C6 0C05

To claim this, I am signing this object: