Page MenuHomeDevCentral

Update EXIM containers uid/gid
ClosedPublic

Authored by dereckson on Mar 25 2023, 14:07.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 06:59
Unknown Object (File)
Tue, Nov 12, 04:49
Unknown Object (File)
Thu, Nov 7, 23:17
Unknown Object (File)
Thu, Nov 7, 22:27
Unknown Object (File)
Thu, Nov 7, 18:17
Unknown Object (File)
Sat, Nov 2, 07:14
Unknown Object (File)
Fri, Oct 25, 15:59
Unknown Object (File)
Thu, Oct 24, 23:53
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.