# Linux Patch Manager — Dev LXC Testing Report **Date:** 2026-04-28 **Environment:** LXC 131 (linux-patch-manager-dev) on MoonProx13 **OS:** Ubuntu 24.04 LTS **IP:** 192.168.0.247 **Snapshot:** `pre-install` (clean Ubuntu 24.04 + echo user + SSH key + sudo) --- ## Issues Found & Fixed ### BUG-1: setup.sh Missing PostgreSQL Schema GRANT Statements **Severity:** Critical (service cannot start) **File:** `scripts/setup.sh` **Root Cause:** PostgreSQL 15+ removed automatic CREATE/USAGE grants on the `public` schema. The setup script created the database and user but never granted schema permissions. **Fix:** Added GRANT statements after database creation (lines 111-116): ```bash # Grant schema permissions (PostgreSQL 15+ requires explicit grants) sudo -u postgres psql -v ON_ERROR_STOP=1 -d ${DB_NAME} <