[Bug 1753470] Re: Postconf segfaults every 5 minutes
It's not forgotten, in fact, I have the ideal candidate to work on this bug :) -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1753470 Title: Postconf segfaults every 5 minutes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1753470] Re: Postconf segfaults every 5 minutes
** Tags added: bitesize -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1753470 Title: Postconf segfaults every 5 minutes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1753470] Re: Postconf segfaults every 5 minutes
** Changed in: postfix (Ubuntu Bionic) Milestone: None => bionic-updates ** Changed in: postfix (Ubuntu Bionic) Status: New => Triaged ** Changed in: postfix (Ubuntu Bionic) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1753470 Title: Postconf segfaults every 5 minutes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1753470] Re: Postconf segfaults every 5 minutes
** Bug watch added: Debian Bug tracker #898271 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898271 ** Also affects: postfix (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898271 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1753470 Title: Postconf segfaults every 5 minutes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1753470] Re: Postconf segfaults every 5 minutes
** Changed in: postfix (Ubuntu) Assignee: (unassigned) => Andreas Hasenack (ahasenack) ** Changed in: postfix (Ubuntu) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1753470 Title: Postconf segfaults every 5 minutes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1753470] Re: Postconf segfaults every 5 minutes
Thanks Scott, I did email postfix-users with subject "NULL pointer deref in pcf_check_dbms_client() with unreadable map file", but I'm not subscribed. Checking the archive at https://marc.info/?l=postfix- users=1=201805=2 doesn't show my message, so I guess I should subscribe. Or perhaps it's just held up for moderation? -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1753470 Title: Postconf segfaults every 5 minutes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1753470] Re: Postconf segfaults every 5 minutes
And this is new in 3.3.0. I was also looking for some git/svn/bzr/cvs repository to check the history of these changes, but couldn't find it. -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1753470 Title: Postconf segfaults every 5 minutes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1753470] Re: Postconf segfaults every 5 minutes
The crash happens in vstream_fileno(fp), because fp is a null pointer: if ((fp = vstream_fopen(cf_file, O_RDONLY, 0)) == 0 && errno != EACCES) { msg_warn("open \"%s\" configuration \"%s\": %m", dp->db_type, cf_file); myfree(dict_spec); return; } if (fstat(vstream_fileno(fp), ) == 0 && !S_ISREG(st.st_mode)) { msg_warn("open \"%s\" configuration \"%s\": not a regular file", dp->db_type, cf_file); myfree(dict_spec); (void) vstream_fclose(fp); return; } vstream_fopen() did return 0 and errno was set to EACCES, I don't know why that check is excluding the permission problem. I emailed upstream (couldn't find a bugtracker for it). -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1753470 Title: Postconf segfaults every 5 minutes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1753470] Re: Postconf segfaults every 5 minutes
** Changed in: postfix (Ubuntu) Importance: Medium => Low -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to postfix in Ubuntu. https://bugs.launchpad.net/bugs/1753470 Title: Postconf segfaults every 5 minutes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1753470] Re: Postconf segfaults every 5 minutes
Agreed, and I can still reproduce this in bionic with postfix 3.3.0-1: ubuntu@bionic-postfix:~$ postconf virtual_alias_map Segmentation fault (core dumped) ubuntu@bionic-postfix:~$ dpkg-query -W postfix postfix 3.3.0-1 ubuntu@bionic-postfix:~$ ll /etc/postfix/valiases.cf -rw-r- 1 root root 169 May 7 14:08 /etc/postfix/valiases.cf ubuntu@bionic-postfix:~$ ** Changed in: postfix (Ubuntu) Status: Expired => Triaged ** Changed in: postfix (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to postfix in Ubuntu. https://bugs.launchpad.net/bugs/1753470 Title: Postconf segfaults every 5 minutes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1753470] Re: Postconf segfaults every 5 minutes
Do you have mail in the queue? -> sudo mailq Do you have another 5min cron job that is perhaps failing and therefore sending an email? Can you see any ownership and permissions problems in the postfix directories? Try "sudo postfix check", and maybe do a quick manual inspection in /var/spool, /var/lib, /var/mail directories Do you have users and groups coming from a network source, like ldap, nis, ad, and maybe the postfix user or group is mixed with that? Can you try running that postconf command as the postfix user, or as root if your previous attempt was as postfix or a regular user? Something like "sudo -u postfix -H postconf -h queue_directory" Thanks -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to postfix in Ubuntu. https://bugs.launchpad.net/bugs/1753470 Title: Postconf segfaults every 5 minutes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1753470] Re: Postconf segfaults every 5 minutes
Thanks for filing this bug in Ubuntu. Do you know what is making this call every 5min? I couldn't locate a cronjob about it. You seem to have other services also failing to start: -- Logs begin at Tue 2018-02-27 14:59:49 EET, end at Mon 2018-03-05 14:25:05 EET. -- Mar 05 14:19:03 hostname systemd[1]: Failed to start AppArmor initialization. Mar 05 14:19:04 hostname systemd[1]: Failed to start AppArmor initialization. Mar 05 14:19:07 hostname iscsid[1778]: iSCSI daemon with pid=1781 started! Mar 05 14:19:07 hostname systemd[1]: Failed to start LSB: Start or stop stunnel 4.x (TLS tunnel for network daemons). Mar 05 14:19:12 hostname systemd[1]: Failed to start Service for snap application canonical-livepatch.canonical-livepatchd. I will need a few more logs to properly diagnose this. Could you please attach the output of: - dmesg - cat /var/log/syslog - free -h Thanks ** Changed in: postfix (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to postfix in Ubuntu. https://bugs.launchpad.net/bugs/1753470 Title: Postconf segfaults every 5 minutes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs