Page MenuHomeDevCentral

Update EXIM containers uid/gid
ClosedPublic

Authored by dereckson on Mar 25 2023, 14:07.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 04:36
Unknown Object (File)
Fri, Dec 13, 02:26
Unknown Object (File)
Sat, Dec 7, 18:52
Unknown Object (File)
Sun, Dec 1, 08:03
Unknown Object (File)
Wed, Nov 27, 15:16
Unknown Object (File)
Mon, Nov 25, 05:44
Unknown Object (File)
Mon, Nov 25, 00:20
Unknown Object (File)
Thu, Nov 21, 19:32
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 Not Applicable
Unit
Tests Not Applicable

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.