Systemd

UID(s), GID(s), and systemd

October 28, 2021
Containers
Systemd, Podman

Recently was fiddling more with systemd+podman deployments and was wondering why I didn’t get output when running journalctl --user. This had been bothering me for a long time. I’d open another shell up and watch the journal as root on a system when I was trying to debug a “daemonized rootless-as-non-root” deployment. The goal of putting all context for an application deployment into a user slice was mired with a need to watch the root journal… ...

Painless CIFS targets via systemd

April 17, 2017
Linux
Systemd, CIFS, Samba

With Linux as my primary environment daily, I need to be able to consume CIFS shares in a variety of different environments. Systemd has some amenities that allow you to continue using the conventional file system table but with helpful coordination that doesn’t require user intervention. Some assumptions: You are running ArchLinux, or some distribution that is consuming systemd without mucking to deeply in the internals You understand how to manage mount points via the fstab You understand the basics of networking You understand the basics of user identification As I move around to different networks I prefer to be able to dynamically mount/un-mount CIFS targets transparently without manual intervention. ...