github doctor-io/homeio v1.6.27
Homeio v1.6.27

4 hours ago

Summary

  • preferences-service: hostname update now falls back from hostnamectlhostname → silent skip when SYS_ADMIN is missing; timezone update falls back from timedatectl → file write → silent skip on EACCES; /etc/hosts write silently skipped on EACCES (root-owned in containers)
  • security-service: UFW unavailable returns null (defaults to firewallEnabled: false) instead of throwing; systemctl unavailable returns false for Fail2Ban instead of throwing
  • All paths verified with unit tests and a live Docker container running as non-root without SYS_ADMIN

Test plan

  • npx vitest run lib/server/modules/system/__tests__/preferences-service.test.ts — 6/6 pass (includes new test for EACCES on timezone file using chmod 444)
  • npx vitest run lib/server/modules/system/__tests__/security-service.test.ts — 6/6 pass
  • npm run lint — 0 errors
  • Docker integration: docker compose up, register, login, PUT /api/v1/system/preferences with hostname + timezone → returns 200 instead of previous 500 EACCES

🤖 Generated with Claude Code

Don't miss a new homeio release

NewReleases is sending notifications on new releases.