FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: open-dkim - Use numerical uid and gid for chown by ap-wtioit · Pull Request #4517 · docker-mailserver/docker-mailserver · GitHub

fix: open-dkim - Use numerical uid and gid for chown - #4517

Merged
casperklein merged 2 commits into
docker-mailserver:masterfrom
ap-wtioit:master-fix_add_dkim_github
Jul 10, 2025
Merged

fix: open-dkim - Use numerical uid and gid for chown#4517
casperklein merged 2 commits into
docker-mailserver:masterfrom
ap-wtioit:master-fix_add_dkim_github

Conversation

ap-wtioit commented Jul 7, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

Description

Use numerical uid and gid for chown as they should always work even when the uid and gid have no names in /etc/...

in case the owner user does not exist in the image we get the following error:

open-dkim: Creating DKIM private key '/tmp/docker-mailserver/opendkim/keys/subdomain.example.com/mail.private'
chown: invalid user: 'UNKNOWN:UNKNOWN'

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (non-breaking change that does improve existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (README.md or the documentation under docs/)
  • If necessary, I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have added information about changes made in this PR to CHANGELOG.md

Info @wt-io-it

in case the owner user does not exist in the image to prevent:
```
open-dkim: Creating DKIM private key '/tmp/docker-mailserver/opendkim/keys/subdomain.example.com/mail.private'
    chown: invalid user: 'UNKNOWN:UNKNOWN'
```
ap-wtioit force-pushed the master-fix_add_dkim_github branch from 930f302 to 8f7eb8f Compare July 7, 2025 07:57
polarathene added this to the v15.1.0 milestone Jul 7, 2025
polarathene changed the title open-dkim: use numerical uid and gid for chown fix: open-dkim - Use numerical uid and gid for chown Jul 7, 2025
casperklein enabled auto-merge (squash) July 10, 2025 22:14
casperklein merged commit 337ae07 into docker-mailserver:master Jul 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL