Now here's another foot-self-shoot:

Adding users to Ghost means inviting them. By email and by email only. In order to compensate for this bad design decision, the infrastructure below Ghost should actually allow you to send emails. It seems the Ghost (debian-10-turnkey-ghost_16.0-1_amd64.tar.gz) TKL doesn't.

Postfix runs, but no email is sent (or ever arrives). Trying to catch a culprit I stumbled across these log messages in the container:


[18506.669114] audit: type=1400 audit(1599595121.949:33): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="lxc-container-default-with-nesting" pid=61847 comm="apparmor_parser"
[18822.796426] perl[76236]: segfault at 7ffd0f72efe8 ip 00007f74488b0b79 sp 00007ffd0f72eff0 error 6 in Storable.so[7f74488a7000+13000]
[18822.796440] Code: 90 41 56 41 55 41 54 55 48 89 f5 53 48 89 fb 48 83 ec 20 4c 8b 67 08 64 48 8b 04 25 28 00 00 00 48 89 44 24 18 31 c0 4c 89 e7 <e8> 02 68 ff ff 48 85 c0 0f 84 e9 01 00 00 48 8b 15 02 d4 00 00 48
[18822.853157] perl[76238]: segfault at 7fffd6bf7ff8 ip 0000556f063bcc14 sp 00007fffd6bf8000 error 6 in perl[556f0630c000+142000]
[18822.853171] Code: 84 00 00 00 00 00 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 7c d4 ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 55 48 89 f0 <53> 48 89 f3 48 c1 e8 0a 48 c1 eb 03 48 31 c3 48 89 f0 48 c1 e8 14

does not look overly assuring. Any ideas how to get a working mail system?

 

Forum: 
Jeremy Davis's picture

Unfortunately it appears that the damn forums have eaten your post... :(

I'm sure you posted enough info for me to help but unfortunately I can't see it so could you be so kind as to try reposting it?

The info that would be particularly useful would be:

  • How email sending is configured on your server (e.g. system-wide or ghost specific) and how you configured it (I don't need step-by-step; just a general overview)?
  • If you're using system-wide email config, have you tried sending a test email from the commandline? If so does that work? Throw the same error?
  • The exact error message you are getting and where it is displayed (e.g. within ghost logs, system logs, etc)?

gna gna... :-/

I stumbled across this when trying to find out why no mail was sent from the container

[18822.796426] perl[76236]: segfault at 7ffd0f72efe8 ip 00007f74488b0b79 sp 00007ffd0f72eff0 error 6 in Storable.so[7f74488a7000+13000]
[18822.796440] Code: 90 41 56 41 55 41 54 55 48 89 f5 53 48 89 fb 48 83 ec 20 4c 8b 67 08 64 48 8b 04 25 28 00 00 00 48 89 44 24 18 31 c0 4c 89 e7 <e8> 02 68 ff ff 48 85 c0 0f 84 e9 01 00 00 48 8b 15 02 d4 00 00 48
[18822.853157] perl[76238]: segfault at 7fffd6bf7ff8 ip 0000556f063bcc14 sp 00007fffd6bf8000 error 6 in perl[556f0630c000+142000]
[18822.853171] Code: 84 00 00 00 00 00 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 7c d4 ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 55 48 89 f0 <53> 48 89 f3 48 c1 e8 0a 48 c1 eb 03 48 31 c3 48 89 f0 48 c1 e8 14 

The reason for the mail failures is different, but this should be checked anyway - I think.

 

Jeremy Davis's picture

Unfortunately, that doesn't contain much useful info. Just that 2 different perl processes had segfaults. My guess is that it was Webmin, but that's purely a guess and it could literally be any perl process...

Unless we can narrow down what happened and when (e.g. perhaps you did something around that time?) then this will be impossibly hard to pin down.

Add new comment