#994198 emacs notifies systemd from the wrong PID

Package:
emacs-bin-common
Source:
emacs
Description:
GNU Emacs editor's shared, architecture dependent files
Submitter:
Antoine Beaupre
Date:
2021-09-13 16:42:05 UTC
Severity:
minor
#994198#5
Date:
2021-09-13 16:39:09 UTC
From:
To:
I started using the systemd service to start emacs in my X session (!)
and I get this warning in systemd:

sep 13 12:33:04 curie systemd[168846]: Started Emacs text editor.
sep 13 12:33:04 curie systemd[168846]: emacs.service: Got notification message from PID 169490, but reception only permitted for main PID 169038

I'm not sure why that's happening, but it feels wrong. The actual
Emacs PID is 169038, and there is *no* PID 169490... How does Emacs
send those notifications anyways?

I *think* NotifyAccess=all might fix this issue, but that remains to
be tested.