[Bug 1977642] Re: mailfromd.service: State 'stop-sigterm' timed out. Killing.
> To say the truth, I fear that I simply missed a > Type=forking > in the mailfromd.service. I did not even try this ;-) But please check also https://bugs.launchpad.net/ubuntu/+source/mailfromd/+bug/1977641 mailfromd does not work. There seems to be a problem with the symbols. mu_stream_getline and other functions have become inline and moved into header files. But mailfromd was not compiled against these new headers, so it still believes they are in the libs. Resulting in undefined symbol: mu_stream_getline -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1977642 Title: mailfromd.service: State 'stop-sigterm' timed out. Killing. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mailfromd/+bug/1977642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1977642] Re: mailfromd.service: State 'stop-sigterm' timed out. Killing.
did use type=exec in unit -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1977642 Title: mailfromd.service: State 'stop-sigterm' timed out. Killing. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mailfromd/+bug/1977642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1977642] [NEW] mailfromd.service: State 'stop-sigterm' timed out. Killing.
Public bug reported: EXPECTED mailfromd should stay running WHAT HAPPENS Jun 04 12:19:13 base-generic-a mailfromd[180100]: mailfromd started Jun 04 12:20:43 base-generic-a systemd[1]: mailfromd.service: State 'stop-sigterm' timed out. Killing. Jun 04 12:20:43 base-generic-a systemd[1]: mailfromd.service: Killing process 180100 (mailfromd) with signal SIGKILL. Jun 04 12:20:43 base-generic-a systemd[1]: mailfromd.service: Failed with result 'timeout'. This happens after each 90 secs. WHAT I DID ...but this is definitely not the way it should be: changed mailfromd.service to be like this: [Service] Type=simple ExecStartPre=/usr/bin/install -m 755 -o mailfromd -g mailfromd -d /run/mailfromd ExecStart=/usr/sbin/mailfromd --pidfile /run/mailfromd/mailfromd.pid --user mailfromd --foreground Set Type to "simple" Changed mailfromd to run in foreground Now it seems to work. Btw, running within the 90 secs timeframe I was unable to stop the service. Now, I can. VERSIONS lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04 LTS Release: 22.04 Codename: jammy ii mailfromd 8.13-1 amd64 General-Purpose Mail Filter ii libmailutils-dev 1:3.14-1 amd64 development files for GNU mailutils ii libmailutils8:amd64 1:3.14-1 amd64 GNU Mail abstraction library ii mailutils-common 1:3.14-1 all common files for GNU mailutils ** Affects: mailfromd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1977642 Title: mailfromd.service: State 'stop-sigterm' timed out. Killing. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mailfromd/+bug/1977642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1977641] Re: mailfromd: undefined symbol: mu_stream_getline
mu_stream_getline and others have changed to inline (changelog). It seems as if not all dependent packages have been recompiled after this change. Simple recompilation of mailfromd with the new headers did the job. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1977641 Title: mailfromd: undefined symbol: mu_stream_getline To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mailfromd/+bug/1977641/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1977641] [NEW] mailfromd: undefined symbol: mu_stream_getline
Public bug reported: EXPECTED mailfromd works WHAT HAPPENS systemctl start mailfromd gives the following error: Jun 04 09:53:06 base-generic-a mailfromd[2515]: /usr/sbin/mailfromd: symbol lookup error: /usr/sbin/mailfromd: undefined symbol: mu_stream_getline Jun 04 09:53:06 base-generic-a systemd[1]: mailfromd.service: Main process exited, code=exited, status=127/n/a Jun 04 09:53:06 base-generic-a systemd[1]: mailfromd.service: Failed with result 'exit-code'. VERSIONS lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 22.04 LTS Release:22.04 Codename: jammy ii mailfromd 8.13-1 amd64General-Purpose Mail Filter ii libmailutils-dev 1:3.14-1 amd64development files for GNU mailutils ii libmailutils8:amd64 1:3.14-1 amd64GNU Mail abstraction library ii mailutils-common 1:3.14-1 all common files for GNU mailutils ** Affects: mailfromd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1977641 Title: mailfromd: undefined symbol: mu_stream_getline To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mailfromd/+bug/1977641/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs