Compare commits

...

8 Commits

Author SHA1 Message Date
github-actions
bc3801f290 GitHub bot: changelog [nobuild] 2026-06-04 14:37:20 +00:00
Alexandre
1e66d635f3 Update config.yaml 2026-06-04 16:34:32 +02:00
GitHub Actions
a8dbdabc40 Revert "Update config.yaml"
This reverts commit cd5ce11c37.
2026-06-04 14:12:17 +00:00
Alexandre
cd5ce11c37 Update config.yaml 2026-06-04 16:09:35 +02:00
Alexandre
f77964e501 Update 99-run.sh 2026-06-04 16:09:26 +02:00
Alexandre
a8d67aa4a6 Merge pull request #2761 from alexbelgium/claude/ente-addon-review-lM4Zu
ente: fix SIGPIPE (exit 141) on startup from tr|head -c /dev/urandom …
2026-06-04 15:46:26 +02:00
Alexandre
fe00c57724 Merge pull request #2760 from alexbelgium/claude/ente-addon-review-lM4Zu
ente: fix apparmor name, expose accounts/auth/cast ports, harden DB config
2026-06-04 15:35:59 +02:00
Alexandre
d47d0e197d Update 99-run.sh 2026-06-04 15:32:32 +02:00
3 changed files with 5 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
## 4.4.22-7 (04-06-2026)
- Minor bugs fixed
## 4.4.22-6 (04-06-2026)
- Fix SIGPIPE (exit 141) on startup: tr piped to head -c against /dev/urandom
now suppresses the expected SIGPIPE under set -o pipefail

View File

@@ -131,6 +131,6 @@ schema:
slug: ente
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: "4.4.22-6"
version: "4.4.22-7"
video: true
webui: http://[HOST]:[PORT:3000]

View File

@@ -1,6 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
set -euo pipefail
# Internal MinIO credentials (not user-configurable; MinIO is 127.0.0.1 only)
MINIO_CRED_FILE="/config/minio-creds"
@@ -10,14 +9,14 @@ if [ -f "$MINIO_CRED_FILE" ]; then
MINIO_PASS="$(sed -n '2p' "$MINIO_CRED_FILE")"
# Regenerate if file is corrupted
if [ -z "$MINIO_USER" ] || [ -z "$MINIO_PASS" ]; then
MINIO_USER="minio_$(tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c 8 || true)"
MINIO_USER="minio_$(head -c 4 /dev/urandom | od -An -tx1 | tr -d ' \n')"
MINIO_PASS="$(head -c 24 /dev/urandom | base64 | tr -d '\n')"
printf '%s\n%s\n' "$MINIO_USER" "$MINIO_PASS" > "$MINIO_CRED_FILE"
chmod 600 "$MINIO_CRED_FILE"
fi
else
# Generate random credentials on first run
MINIO_USER="minio_$(tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c 8 || true)"
MINIO_USER="minio_$(head -c 4 /dev/urandom | od -An -tx1 | tr -d ' \n')"
MINIO_PASS="$(head -c 24 /dev/urandom | base64 | tr -d '\n')"
printf '%s\n%s\n' "$MINIO_USER" "$MINIO_PASS" > "$MINIO_CRED_FILE"
chmod 600 "$MINIO_CRED_FILE"