EDIT: Problem solved, by changing the VM OS from alpinelinux to fedora-server
---
So far I spent almost my whole afternoon trying to get #UptimeKuma running as a #rootless #podman #container on a #alpinelinux #VM to successfully ping some machines to be monitored.
And so far I’m loosing the battle. If anyone has an idea or a pointer to a possible solution, I would be very happy.
Bueno, ya he eliminado todas las entradas del DNS con subdominios y solo he dejado dos wildcard, uno para lo expuesto y otro para lo interno
Para lo expuesto lo paso por npm (no me gusta que no tenga waf o mas opciones de seguridad), y para lo interno traefik tirando de las labels de los contendores
Por el camino he borrado todos los tunnels de cloudflare.
Siguiente paso, crear todos los usuarios y montar contenedores por tematica en usuarios aislados
I had created a new #podman #rootless storage directory under /var/lib/containers/user/<name>, and _until now_ this worked without issue. Which was sheer luck it seems.
Now tried to start a container that uses musl, and it failed hard with
Error relocating /lib/ld-musl-x86_64.so.1: RELRO protection failed: No error
Some googling pointed me to #selinux again... adding the right context to the directories helps :D
So
(block traefik
(blockinherit container)
(allow process user_tmp_t ( sock_file ( write )))
(allow process container_runtime_t ( unix_stream_socket ( connectto )))
(allow process http_port_t ( tcp_socket ( name_bind )))
(allow process node_t ( tcp_socket ( node_bind )))
(allow process self ( tcp_socket ( listen )))
)
allows both access to the socket, and access to port 80/443.
Also, allowing a #rootless #podman #container to access to rootless #podman.sock file was fairly easy.
The following #selinux policy seems to allow that:
(block podman-socket
(blockinherit container)
(allow process user_tmp_t ( sock_file ( write )))
(allow process container_runtime_t ( unix_stream_socket ( connectto )))
)
Still half wondering why it needs write?
TIL about #udica
Working on an emulator? A while ago, I wrote a little proof-of-concept for rootless display of a back buffer on Mac OS X: https://github.com/uliwitness/RootlessForEmulators It's Objective-C, but the general approach still works.
#Introduction #Him #1955 #Dysfunctional #Family #Formative #Books #SciFi #Heinlein #Lessing #Politics #Internationalist #European #Socialist #LSE #SocAnth #Weslyan #Rootless #Tramp #Traveller #Love #NotHate #Cook #Gardener #MetaPhysics #Jungian #Holistic #Android #SOSNHS #ToriesOut #AGC #Photography #Radio3 #Tag #MUWF "More undoubtedly will follow"
A little tip if you’re running in a rootless container on an immutable OS (like Fedora Silverblue) and have a tool (say Helix Editor – command: hx) installed in your “user” account but want to do, e.g.,
sudo hx /etc/hostname
Which would result in:
sudo: hx: command not found
Instead do:
(Fish) > sudo (which hx) /etc/hostname
(Bash) > sudo `which hx` /etc/hostname
Enjoy! :)
RT @muayyadalsadi@twitter.com
with latest podman (commit 349e69) and podman-compose, you can run unmodified complex #docker-compose.yml files, like those of @ansible@twitter.com awx (#PostgreSQL, #RabbitMQ, and #python web application and task executor) all #rootless! @rhatdan@twitter.com
https://github.com/muayyad-alsadi/podman-compose
: https://twitter.com/muayyadalsadi/status/1105047189880012800
Keine sauberen Kaffeetassen mehr #workaround #rootless #coffee