Page MenuHomeDevCentral

Update EXIM containers uid/gid
ClosedPublic

Authored by dereckson on Mar 25 2023, 14:07.
Tags
None
Referenced Files
F3753281: D2918.id7434.diff
Mon, Nov 18, 00:39
F3753164: D2918.id7434.diff
Sun, Nov 17, 23:37
F3753163: D2918.id7433.diff
Sun, Nov 17, 23:37
Unknown Object (File)
Sat, Nov 16, 18:36
Unknown Object (File)
Sat, Nov 16, 18:32
Unknown Object (File)
Wed, Nov 13, 06:59
Unknown Object (File)
Tue, Nov 12, 04:49
Unknown Object (File)
Thu, Nov 7, 23:17
Subscribers
None

Details

Summary

The exim process now uses Debian-exim account under uid/gid 101.

Ref T1805.

Test Plan

docker logs sentry_smtp

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
exim
Build Status
Buildable 4599
Build 4871: arc lint + arc unit

Event Timeline

dereckson created this revision.
Complector
$ salt docker-002 state.sls roles/paas-docker/containers/exim
docker-002:
----------
          ID: /srv/exim/sentry_smtp
    Function: file.directory
      Result: True
     Comment: Directory /srv/exim/sentry_smtp updated
     Started: 14:08:15.648086
    Duration: 466.741 ms
     Changes:
              ----------
              /srv/exim/sentry_smtp:
                  ----------
                  group:
                      101
                  user:
                      101
              group:
                  101
              user:
                  101
----------
          ID: /srv/exim/sentry_smtp/spool
    Function: file.directory
      Result: True
     Comment: Directory /srv/exim/sentry_smtp/spool updated
     Started: 14:08:16.115024
    Duration: 4.355 ms
     Changes:
              ----------
              /srv/exim/sentry_smtp/spool:
                  ----------
                  group:
                      101
                  user:
                      101
              group:
                  101
              user:
                  101
----------
          ID: /srv/exim/sentry_smtp/log
    Function: file.directory
      Result: True
     Comment: Directory /srv/exim/sentry_smtp/log updated
     Started: 14:08:16.119537
    Duration: 4.736 ms
     Changes:
              ----------
              /srv/exim/sentry_smtp/log:
                  ----------
                  group:
                      101
                  user:
                      101
              group:
                  101
              user:
                  101
[…]

Works like a charm, but by the way sentry_smtp logs every mail dialog (excepted mail content), not sure we want that to stdout (and so docker logs).

This revision is now accepted and ready to land.Mar 25 2023, 14:16
This revision was automatically updated to reflect the committed changes.