MariaDb ignoring world-writable config file #94

Closed
opened 2026-04-05 16:15:45 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @ryan7273 on 2/26/2026

Databasus version

3.16.3

Operating system and architecture

TrueNAS 25.10.2.1

Describe the bug (please write manually, do not ask AI to summarize)

What happened:
I tried to backup a MariaDB database and got the error
mariadb-dump failed: signal: illegal instruction (core dumped) – stderr: Warning: World-writable config file '/databasus-data/temp/mycnf_0a53abee-0711-4876-8d0e-f34d92e47c6a484352216/.my.cnf' is ignored

What I expected:
I expected it to backup the database. Everything in setup looks good. The connection passes the test.

Steps to reproduce

  1. I'm using TrueNAS Apps to run a docker compose file (included below) created by following the instructions on your website.
  2. Configure a MariaDB database
  3. Try to make a backup
  4. There doesn't seem to be a way for me to change the permissions on newly-created cnf files. I've tried setting the umask in the environment variables and also in the container startup commands, but it does not seem to have any impact.

Have you asked AI how to solve the issue?

  • Claude Sonnet 4.6 or newer
  • ChatGPT 5.2 or newer
  • No

Additional context / logs

compose file:

services:
  databasus:
    deploy:
      resources:
        limits:
          cpus: '1'
          memory: 600M
    environment:
      NVIDIA_VISIBLE_DEVICES: void
      TZ: America/New_York
      UMASK: '0640'
      UMASK_DIR: '0750'
    hostname: databasus
    image: databasus/databasus:latest
    platform: linux/amd64
    ports:
      - mode: ingress
        protocol: tcp
        published: 4005
        target: 4005
    privileged: False
    pull_policy: missing
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    stdin_open: False
    tty: False
    volumes:
      - bind:
          create_host_path: False
          propagation: rprivate
        read_only: False
        source: /mnt/PoolDemerzel/Demerzel/Backups/databasus
        target: /databasus-data
        type: bind
*Originally created by @ryan7273 on 2/26/2026* ## Databasus version 3.16.3 ## Operating system and architecture TrueNAS 25.10.2.1 ## Describe the bug (please write manually, do not ask AI to summarize) **What happened:** I tried to backup a MariaDB database and got the error `mariadb-dump failed: signal: illegal instruction (core dumped) – stderr: Warning: World-writable config file '/databasus-data/temp/mycnf_0a53abee-0711-4876-8d0e-f34d92e47c6a484352216/.my.cnf' is ignored` **What I expected:** I expected it to backup the database. Everything in setup looks good. The connection passes the test. ## Steps to reproduce 1. I'm using TrueNAS Apps to run a docker compose file (included below) created by following the instructions on your website. 2. Configure a MariaDB database 3. Try to make a backup 4. There doesn't seem to be a way for me to change the permissions on newly-created cnf files. I've tried setting the umask in the environment variables and also in the container startup commands, but it does not seem to have any impact. ## Have you asked AI how to solve the issue? <!-- Using AI to diagnose issues before filing a bug report helps narrow down root causes. --> - [x] Claude Sonnet 4.6 or newer - [x] ChatGPT 5.2 or newer - [ ] No ## Additional context / logs compose file: ``` services: databasus: deploy: resources: limits: cpus: '1' memory: 600M environment: NVIDIA_VISIBLE_DEVICES: void TZ: America/New_York UMASK: '0640' UMASK_DIR: '0750' hostname: databasus image: databasus/databasus:latest platform: linux/amd64 ports: - mode: ingress protocol: tcp published: 4005 target: 4005 privileged: False pull_policy: missing restart: unless-stopped security_opt: - no-new-privileges:true stdin_open: False tty: False volumes: - bind: create_host_path: False propagation: rprivate read_only: False source: /mnt/PoolDemerzel/Demerzel/Backups/databasus target: /databasus-data type: bind ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/databasus#94