Activity log for bug #1753470

Date Who What changed Old value New value Message
2018-03-05 12:35:08 Ari Sovijärvi bug added bug
2018-03-06 13:28:45 Andreas Hasenack postfix (Ubuntu): status New Incomplete
2018-03-06 13:28:51 Andreas Hasenack bug added subscriber Andreas Hasenack
2018-03-07 07:06:01 Ari Sovijärvi attachment added df.txt https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+attachment/5071337/+files/df.txt
2018-03-07 07:07:12 Ari Sovijärvi attachment added syslog.txt https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+attachment/5071338/+files/syslog.txt
2018-03-07 07:07:43 Ari Sovijärvi attachment added dmesg.txt https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+attachment/5071339/+files/dmesg.txt
2018-05-07 04:17:22 Launchpad Janitor postfix (Ubuntu): status Incomplete Expired
2018-05-07 14:09:37 Andreas Hasenack postfix (Ubuntu): status Expired Triaged
2018-05-07 14:09:41 Andreas Hasenack postfix (Ubuntu): importance Undecided Medium
2018-05-07 14:25:01 Andreas Hasenack postfix (Ubuntu): importance Medium Low
2018-05-07 14:25:08 Andreas Hasenack bug added subscriber Ubuntu Server
2018-05-09 14:11:34 Launchpad Janitor merge proposal linked https://code.launchpad.net/~ahasenack/ubuntu/+source/postfix/+git/postfix/+merge/345296
2018-05-09 14:12:06 Andreas Hasenack postfix (Ubuntu): assignee Andreas Hasenack (ahasenack)
2018-05-09 14:12:09 Andreas Hasenack postfix (Ubuntu): status Triaged In Progress
2018-05-09 14:12:20 Andreas Hasenack nominated for series Ubuntu Bionic
2018-05-10 13:16:23 Launchpad Janitor postfix (Ubuntu): status In Progress Fix Released
2018-05-10 13:35:42 Andreas Hasenack bug watch added https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898271
2018-05-10 13:35:42 Andreas Hasenack bug task added postfix (Debian)
2018-05-10 13:41:40 Steve Kowalik bug task added postfix (Ubuntu Bionic)
2018-05-10 13:42:07 Andreas Hasenack postfix (Ubuntu Bionic): milestone bionic-updates
2018-05-10 13:42:13 Andreas Hasenack postfix (Ubuntu Bionic): status New Triaged
2018-05-10 13:42:17 Andreas Hasenack postfix (Ubuntu Bionic): importance Undecided Low
2018-05-10 14:16:07 Bug Watch Updater postfix (Debian): status Unknown New
2018-05-13 15:52:57 syedmoosa affects postfix (Ubuntu) update (Ubuntu)
2018-05-14 05:07:57 Scott Kitterman affects update (Ubuntu) postfix (Ubuntu)
2018-06-12 18:03:10 Andreas Hasenack tags amd64 apport-bug bionic amd64 apport-bug bionic bitesize
2018-08-08 01:39:09 Christian Schrötter bug added subscriber Christian Schrötter
2018-08-14 09:07:00 Matthias Lohr bug added subscriber Matthias Lohr
2018-08-16 18:41:29 Karl Stenerud postfix (Ubuntu Bionic): assignee Karl (kstenerud)
2018-08-16 18:45:10 Karl Stenerud postfix (Ubuntu Bionic): status Triaged In Progress
2018-08-16 21:30:16 Launchpad Janitor merge proposal linked https://code.launchpad.net/~kstenerud/ubuntu/+source/postfix/+git/postfix/+merge/353267
2018-08-17 18:36:37 Karl Stenerud description Fresh install of 18.04 server. Every 5 minutes postconf segfaults: Mar 5 14:30:05 hostname-here kernel: [ 672.082204] postconf[12975]: segfault at 40 ip 0000564d613ff053 sp 00007ffc39e19b90 error 4 in postconf[564d613e7000+25000] Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault at 40 ip 000055b29d0f8053 sp 00007fff72f4b740 error 4 in postconf[55b29d0e0000+25000] According to Apport log, the crash is caused by following command line: postconf -h queue_directory Running the command in shell however works as expected and lists the default spool directory (/var/spool/postfix). ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: postfix 3.3.0-1 ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3 Uname: Linux 4.15.0-10-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 Date: Mon Mar 5 14:26:27 2018 SourcePackage: postfix UpgradeStatus: No upgrade log present (probably fresh install) [Original Description] Fresh install of 18.04 server. Every 5 minutes postconf segfaults: Mar 5 14:30:05 hostname-here kernel: [ 672.082204] postconf[12975]: segfault at 40 ip 0000564d613ff053 sp 00007ffc39e19b90 error 4 in postconf[564d613e7000+25000] Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault at 40 ip 000055b29d0f8053 sp 00007fff72f4b740 error 4 in postconf[55b29d0e0000+25000] According to Apport log, the crash is caused by following command line: postconf -h queue_directory Running the command in shell however works as expected and lists the default spool directory (/var/spool/postfix). ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: postfix 3.3.0-1 ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3 Uname: Linux 4.15.0-10-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 Date: Mon Mar 5 14:26:27 2018 SourcePackage: postfix UpgradeStatus: No upgrade log present (probably fresh install) [Impact] Postfix segfaults when it can't read a map file. Any users without access to the file will get a core dump when running postfix. This fix checks that the file was successfully opened before doing any other checks. [Test Case] lxc launch ubuntu:bionic builder lxc exec builder bash apt dist-upgrade apt install -y postfix echo "query = SELECT real_address from tempmail where time_expires>now() and temp_address='%s'; user = username-here password = password-here dbname = postfix hosts = ip-here" >/etc/postfix/valiases.cf chmod 0600 /etc/postfix/valiases.cf echo "virtual_alias_maps = pgsql:/etc/postfix/valiases.cf" >> /etc/postfix/main.cf useradd test su - test /usr/sbin/postconf virtual_alias_map [Regression Potential] The only change is to short-circuit the error checking code early if the file cannot be opened for any reason. This should not cause regressions, as the alternative is to crash when it attempts to read a bad file descriptor.
2018-08-17 18:52:17 Karl Stenerud description [Original Description] Fresh install of 18.04 server. Every 5 minutes postconf segfaults: Mar 5 14:30:05 hostname-here kernel: [ 672.082204] postconf[12975]: segfault at 40 ip 0000564d613ff053 sp 00007ffc39e19b90 error 4 in postconf[564d613e7000+25000] Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault at 40 ip 000055b29d0f8053 sp 00007fff72f4b740 error 4 in postconf[55b29d0e0000+25000] According to Apport log, the crash is caused by following command line: postconf -h queue_directory Running the command in shell however works as expected and lists the default spool directory (/var/spool/postfix). ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: postfix 3.3.0-1 ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3 Uname: Linux 4.15.0-10-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 Date: Mon Mar 5 14:26:27 2018 SourcePackage: postfix UpgradeStatus: No upgrade log present (probably fresh install) [Impact] Postfix segfaults when it can't read a map file. Any users without access to the file will get a core dump when running postfix. This fix checks that the file was successfully opened before doing any other checks. [Test Case] lxc launch ubuntu:bionic builder lxc exec builder bash apt dist-upgrade apt install -y postfix echo "query = SELECT real_address from tempmail where time_expires>now() and temp_address='%s'; user = username-here password = password-here dbname = postfix hosts = ip-here" >/etc/postfix/valiases.cf chmod 0600 /etc/postfix/valiases.cf echo "virtual_alias_maps = pgsql:/etc/postfix/valiases.cf" >> /etc/postfix/main.cf useradd test su - test /usr/sbin/postconf virtual_alias_map [Regression Potential] The only change is to short-circuit the error checking code early if the file cannot be opened for any reason. This should not cause regressions, as the alternative is to crash when it attempts to read a bad file descriptor. [Impact] Postfix segfaults when it can't read a map file. Any users without access to the file will get a core dump when running postfix. This fix checks that the file was successfully opened before doing any other checks. [Test Case] lxc launch ubuntu:bionic builder lxc exec builder bash apt dist-upgrade apt install -y postfix echo "query = SELECT real_address from tempmail where time_expires>now() and temp_address='%s'; user = username-here password = password-here dbname = postfix hosts = ip-here" >/etc/postfix/valiases.cf chmod 0600 /etc/postfix/valiases.cf echo "virtual_alias_maps = pgsql:/etc/postfix/valiases.cf" >> /etc/postfix/main.cf useradd test su - test /usr/sbin/postconf virtual_alias_map [Regression Potential] The only change is to short-circuit the error checking code early if the file cannot be opened for any reason. This should not cause regressions, as the alternative is to crash when it attempts to read a bad file descriptor. [Original Description] Fresh install of 18.04 server. Every 5 minutes postconf segfaults: Mar 5 14:30:05 hostname-here kernel: [ 672.082204] postconf[12975]: segfault at 40 ip 0000564d613ff053 sp 00007ffc39e19b90 error 4 in postconf[564d613e7000+25000] Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault at 40 ip 000055b29d0f8053 sp 00007fff72f4b740 error 4 in postconf[55b29d0e0000+25000] According to Apport log, the crash is caused by following command line: postconf -h queue_directory Running the command in shell however works as expected and lists the default spool directory (/var/spool/postfix). ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: postfix 3.3.0-1 ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3 Uname: Linux 4.15.0-10-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 Date: Mon Mar 5 14:26:27 2018 SourcePackage: postfix UpgradeStatus: No upgrade log present (probably fresh install)
2018-08-17 18:54:31 Karl Stenerud description [Impact] Postfix segfaults when it can't read a map file. Any users without access to the file will get a core dump when running postfix. This fix checks that the file was successfully opened before doing any other checks. [Test Case] lxc launch ubuntu:bionic builder lxc exec builder bash apt dist-upgrade apt install -y postfix echo "query = SELECT real_address from tempmail where time_expires>now() and temp_address='%s'; user = username-here password = password-here dbname = postfix hosts = ip-here" >/etc/postfix/valiases.cf chmod 0600 /etc/postfix/valiases.cf echo "virtual_alias_maps = pgsql:/etc/postfix/valiases.cf" >> /etc/postfix/main.cf useradd test su - test /usr/sbin/postconf virtual_alias_map [Regression Potential] The only change is to short-circuit the error checking code early if the file cannot be opened for any reason. This should not cause regressions, as the alternative is to crash when it attempts to read a bad file descriptor. [Original Description] Fresh install of 18.04 server. Every 5 minutes postconf segfaults: Mar 5 14:30:05 hostname-here kernel: [ 672.082204] postconf[12975]: segfault at 40 ip 0000564d613ff053 sp 00007ffc39e19b90 error 4 in postconf[564d613e7000+25000] Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault at 40 ip 000055b29d0f8053 sp 00007fff72f4b740 error 4 in postconf[55b29d0e0000+25000] According to Apport log, the crash is caused by following command line: postconf -h queue_directory Running the command in shell however works as expected and lists the default spool directory (/var/spool/postfix). ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: postfix 3.3.0-1 ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3 Uname: Linux 4.15.0-10-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 Date: Mon Mar 5 14:26:27 2018 SourcePackage: postfix UpgradeStatus: No upgrade log present (probably fresh install) [Impact] Postfix segfaults when it can't read a map file. Any users without access to the file will get a core dump when running postfix. This fix checks that the file was successfully opened before doing any other checks. [Test Case] # lxc launch ubuntu:bionic builder # lxc exec builder bash $ apt dist-upgrade $ apt install -y postfix $ echo "query = SELECT real_address from tempmail where time_expires>now() and temp_address='%s'; user = username-here password = password-here dbname = postfix hosts = ip-here" >/etc/postfix/valiases.cf chmod 0600 /etc/postfix/valiases.cf $ echo "virtual_alias_maps = pgsql:/etc/postfix/valiases.cf" >> /etc/postfix/main.cf $ useradd test $ su - test This command, run as user "test", will segfault: # /usr/sbin/postconf virtual_alias_map [Regression Potential] The only change is to short-circuit the error checking code early if the file cannot be opened for any reason. This should not cause regressions, as the alternative is to crash when it attempts to read a bad file descriptor. [Original Description] Fresh install of 18.04 server. Every 5 minutes postconf segfaults: Mar 5 14:30:05 hostname-here kernel: [ 672.082204] postconf[12975]: segfault at 40 ip 0000564d613ff053 sp 00007ffc39e19b90 error 4 in postconf[564d613e7000+25000] Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault at 40 ip 000055b29d0f8053 sp 00007fff72f4b740 error 4 in postconf[55b29d0e0000+25000] According to Apport log, the crash is caused by following command line: postconf -h queue_directory Running the command in shell however works as expected and lists the default spool directory (/var/spool/postfix). ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: postfix 3.3.0-1 ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3 Uname: Linux 4.15.0-10-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 Date: Mon Mar 5 14:26:27 2018 SourcePackage: postfix UpgradeStatus: No upgrade log present (probably fresh install)
2018-08-17 18:55:49 Karl Stenerud description [Impact] Postfix segfaults when it can't read a map file. Any users without access to the file will get a core dump when running postfix. This fix checks that the file was successfully opened before doing any other checks. [Test Case] # lxc launch ubuntu:bionic builder # lxc exec builder bash $ apt dist-upgrade $ apt install -y postfix $ echo "query = SELECT real_address from tempmail where time_expires>now() and temp_address='%s'; user = username-here password = password-here dbname = postfix hosts = ip-here" >/etc/postfix/valiases.cf chmod 0600 /etc/postfix/valiases.cf $ echo "virtual_alias_maps = pgsql:/etc/postfix/valiases.cf" >> /etc/postfix/main.cf $ useradd test $ su - test This command, run as user "test", will segfault: # /usr/sbin/postconf virtual_alias_map [Regression Potential] The only change is to short-circuit the error checking code early if the file cannot be opened for any reason. This should not cause regressions, as the alternative is to crash when it attempts to read a bad file descriptor. [Original Description] Fresh install of 18.04 server. Every 5 minutes postconf segfaults: Mar 5 14:30:05 hostname-here kernel: [ 672.082204] postconf[12975]: segfault at 40 ip 0000564d613ff053 sp 00007ffc39e19b90 error 4 in postconf[564d613e7000+25000] Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault at 40 ip 000055b29d0f8053 sp 00007fff72f4b740 error 4 in postconf[55b29d0e0000+25000] According to Apport log, the crash is caused by following command line: postconf -h queue_directory Running the command in shell however works as expected and lists the default spool directory (/var/spool/postfix). ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: postfix 3.3.0-1 ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3 Uname: Linux 4.15.0-10-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 Date: Mon Mar 5 14:26:27 2018 SourcePackage: postfix UpgradeStatus: No upgrade log present (probably fresh install) [Impact] Postfix segfaults when it can't read a map file. Any users without access to the file will get a core dump when running postfix. This fix checks that the file was successfully opened before doing any other checks. [Test Case] # lxc launch ubuntu:bionic builder # lxc exec builder bash $ apt dist-upgrade $ apt install -y postfix $ touch /etc/postfix/valiases.cf $ chmod 0600 /etc/postfix/valiases.cf $ echo "virtual_alias_maps = pgsql:/etc/postfix/valiases.cf" >> /etc/postfix/main.cf $ useradd test $ su - test This command, run as user "test", will segfault: # /usr/sbin/postconf virtual_alias_map [Regression Potential] The only change is to short-circuit the error checking code early if the file cannot be opened for any reason. This should not cause regressions, as the alternative is to crash when it attempts to read a bad file descriptor. [Original Description] Fresh install of 18.04 server. Every 5 minutes postconf segfaults: Mar 5 14:30:05 hostname-here kernel: [ 672.082204] postconf[12975]: segfault at 40 ip 0000564d613ff053 sp 00007ffc39e19b90 error 4 in postconf[564d613e7000+25000] Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault at 40 ip 000055b29d0f8053 sp 00007fff72f4b740 error 4 in postconf[55b29d0e0000+25000] According to Apport log, the crash is caused by following command line: postconf -h queue_directory Running the command in shell however works as expected and lists the default spool directory (/var/spool/postfix). ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: postfix 3.3.0-1 ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3 Uname: Linux 4.15.0-10-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 Date: Mon Mar 5 14:26:27 2018 SourcePackage: postfix UpgradeStatus: No upgrade log present (probably fresh install)
2018-08-17 18:56:24 Karl Stenerud description [Impact] Postfix segfaults when it can't read a map file. Any users without access to the file will get a core dump when running postfix. This fix checks that the file was successfully opened before doing any other checks. [Test Case] # lxc launch ubuntu:bionic builder # lxc exec builder bash $ apt dist-upgrade $ apt install -y postfix $ touch /etc/postfix/valiases.cf $ chmod 0600 /etc/postfix/valiases.cf $ echo "virtual_alias_maps = pgsql:/etc/postfix/valiases.cf" >> /etc/postfix/main.cf $ useradd test $ su - test This command, run as user "test", will segfault: # /usr/sbin/postconf virtual_alias_map [Regression Potential] The only change is to short-circuit the error checking code early if the file cannot be opened for any reason. This should not cause regressions, as the alternative is to crash when it attempts to read a bad file descriptor. [Original Description] Fresh install of 18.04 server. Every 5 minutes postconf segfaults: Mar 5 14:30:05 hostname-here kernel: [ 672.082204] postconf[12975]: segfault at 40 ip 0000564d613ff053 sp 00007ffc39e19b90 error 4 in postconf[564d613e7000+25000] Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault at 40 ip 000055b29d0f8053 sp 00007fff72f4b740 error 4 in postconf[55b29d0e0000+25000] According to Apport log, the crash is caused by following command line: postconf -h queue_directory Running the command in shell however works as expected and lists the default spool directory (/var/spool/postfix). ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: postfix 3.3.0-1 ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3 Uname: Linux 4.15.0-10-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 Date: Mon Mar 5 14:26:27 2018 SourcePackage: postfix UpgradeStatus: No upgrade log present (probably fresh install) [Impact] Postfix segfaults when it can't read a map file. Any users without access to the file will get a core dump when running postfix. This fix checks that the file was successfully opened before doing any other checks. [Test Case] # lxc launch ubuntu:bionic builder # lxc exec builder bash $ apt dist-upgrade $ apt install -y postfix $ touch /etc/postfix/valiases.cf $ chmod 0600 /etc/postfix/valiases.cf $ echo "virtual_alias_maps = pgsql:/etc/postfix/valiases.cf" >> /etc/postfix/main.cf $ useradd test $ su - test This command, run as user "test", will segfault: # /usr/sbin/postconf virtual_alias_map [Regression Potential] The only change is to short-circuit the error checking code early if the file cannot be opened for any reason. This should not cause regressions, as the alternative is to crash when it attempts to read a bad file descriptor. [Original Description] Fresh install of 18.04 server. Every 5 minutes postconf segfaults: Mar 5 14:30:05 hostname-here kernel: [ 672.082204] postconf[12975]: segfault at 40 ip 0000564d613ff053 sp 00007ffc39e19b90 error 4 in postconf[564d613e7000+25000] Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault at 40 ip 000055b29d0f8053 sp 00007fff72f4b740 error 4 in postconf[55b29d0e0000+25000] According to Apport log, the crash is caused by following command line: postconf -h queue_directory Running the command in shell however works as expected and lists the default spool directory (/var/spool/postfix). ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: postfix 3.3.0-1 ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3 Uname: Linux 4.15.0-10-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 Date: Mon Mar 5 14:26:27 2018 SourcePackage: postfix UpgradeStatus: No upgrade log present (probably fresh install)
2018-08-17 18:56:49 Karl Stenerud description [Impact] Postfix segfaults when it can't read a map file. Any users without access to the file will get a core dump when running postfix. This fix checks that the file was successfully opened before doing any other checks. [Test Case] # lxc launch ubuntu:bionic builder # lxc exec builder bash $ apt dist-upgrade $ apt install -y postfix $ touch /etc/postfix/valiases.cf $ chmod 0600 /etc/postfix/valiases.cf $ echo "virtual_alias_maps = pgsql:/etc/postfix/valiases.cf" >> /etc/postfix/main.cf $ useradd test $ su - test This command, run as user "test", will segfault: # /usr/sbin/postconf virtual_alias_map [Regression Potential] The only change is to short-circuit the error checking code early if the file cannot be opened for any reason. This should not cause regressions, as the alternative is to crash when it attempts to read a bad file descriptor. [Original Description] Fresh install of 18.04 server. Every 5 minutes postconf segfaults: Mar 5 14:30:05 hostname-here kernel: [ 672.082204] postconf[12975]: segfault at 40 ip 0000564d613ff053 sp 00007ffc39e19b90 error 4 in postconf[564d613e7000+25000] Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault at 40 ip 000055b29d0f8053 sp 00007fff72f4b740 error 4 in postconf[55b29d0e0000+25000] According to Apport log, the crash is caused by following command line: postconf -h queue_directory Running the command in shell however works as expected and lists the default spool directory (/var/spool/postfix). ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: postfix 3.3.0-1 ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3 Uname: Linux 4.15.0-10-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 Date: Mon Mar 5 14:26:27 2018 SourcePackage: postfix UpgradeStatus: No upgrade log present (probably fresh install) [Impact] Postfix segfaults when it can't read a map file. Any users without access to the file will get a core dump when running postfix. This fix checks that the file was successfully opened before doing any other checks. [Test Case] # lxc launch ubuntu:bionic tester # lxc exec tester bash $ apt dist-upgrade $ apt install -y postfix $ touch /etc/postfix/valiases.cf $ chmod 0600 /etc/postfix/valiases.cf $ echo "virtual_alias_maps = pgsql:/etc/postfix/valiases.cf" >> /etc/postfix/main.cf $ useradd test $ su - test This command, run as user "test", will segfault: # /usr/sbin/postconf virtual_alias_map [Regression Potential] The only change is to short-circuit the error checking code early if the file cannot be opened for any reason. This should not cause regressions, as the alternative is to crash when it attempts to read a bad file descriptor. [Original Description] Fresh install of 18.04 server. Every 5 minutes postconf segfaults: Mar 5 14:30:05 hostname-here kernel: [ 672.082204] postconf[12975]: segfault at 40 ip 0000564d613ff053 sp 00007ffc39e19b90 error 4 in postconf[564d613e7000+25000] Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault at 40 ip 000055b29d0f8053 sp 00007fff72f4b740 error 4 in postconf[55b29d0e0000+25000] According to Apport log, the crash is caused by following command line: postconf -h queue_directory Running the command in shell however works as expected and lists the default spool directory (/var/spool/postfix). ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: postfix 3.3.0-1 ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3 Uname: Linux 4.15.0-10-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 Date: Mon Mar 5 14:26:27 2018 SourcePackage: postfix UpgradeStatus: No upgrade log present (probably fresh install)
2018-08-17 18:59:32 Karl Stenerud description [Impact] Postfix segfaults when it can't read a map file. Any users without access to the file will get a core dump when running postfix. This fix checks that the file was successfully opened before doing any other checks. [Test Case] # lxc launch ubuntu:bionic tester # lxc exec tester bash $ apt dist-upgrade $ apt install -y postfix $ touch /etc/postfix/valiases.cf $ chmod 0600 /etc/postfix/valiases.cf $ echo "virtual_alias_maps = pgsql:/etc/postfix/valiases.cf" >> /etc/postfix/main.cf $ useradd test $ su - test This command, run as user "test", will segfault: # /usr/sbin/postconf virtual_alias_map [Regression Potential] The only change is to short-circuit the error checking code early if the file cannot be opened for any reason. This should not cause regressions, as the alternative is to crash when it attempts to read a bad file descriptor. [Original Description] Fresh install of 18.04 server. Every 5 minutes postconf segfaults: Mar 5 14:30:05 hostname-here kernel: [ 672.082204] postconf[12975]: segfault at 40 ip 0000564d613ff053 sp 00007ffc39e19b90 error 4 in postconf[564d613e7000+25000] Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault at 40 ip 000055b29d0f8053 sp 00007fff72f4b740 error 4 in postconf[55b29d0e0000+25000] According to Apport log, the crash is caused by following command line: postconf -h queue_directory Running the command in shell however works as expected and lists the default spool directory (/var/spool/postfix). ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: postfix 3.3.0-1 ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3 Uname: Linux 4.15.0-10-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 Date: Mon Mar 5 14:26:27 2018 SourcePackage: postfix UpgradeStatus: No upgrade log present (probably fresh install) [Impact] Postfix segfaults when it can't read a map file. Any users without access to the file will get a core dump when running postfix. This fix checks that the file was successfully opened before doing any other checks. [Test Case] # lxc launch ubuntu:bionic tester # lxc exec tester bash $ apt dist-upgrade $ apt install -y postfix $ touch /etc/postfix/valiases.cf $ chmod 0600 /etc/postfix/valiases.cf $ echo "virtual_alias_maps = pgsql:/etc/postfix/valiases.cf" >> /etc/postfix/main.cf $ su - ubuntu This command, run as user "ubuntu", will segfault: # /usr/sbin/postconf virtual_alias_map [Regression Potential] The only change is to short-circuit the error checking code early if the file cannot be opened for any reason. This should not cause regressions, as the alternative is to crash when it attempts to read a bad file descriptor. [Original Description] Fresh install of 18.04 server. Every 5 minutes postconf segfaults: Mar 5 14:30:05 hostname-here kernel: [ 672.082204] postconf[12975]: segfault at 40 ip 0000564d613ff053 sp 00007ffc39e19b90 error 4 in postconf[564d613e7000+25000] Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault at 40 ip 000055b29d0f8053 sp 00007fff72f4b740 error 4 in postconf[55b29d0e0000+25000] According to Apport log, the crash is caused by following command line: postconf -h queue_directory Running the command in shell however works as expected and lists the default spool directory (/var/spool/postfix). ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: postfix 3.3.0-1 ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3 Uname: Linux 4.15.0-10-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 Date: Mon Mar 5 14:26:27 2018 SourcePackage: postfix UpgradeStatus: No upgrade log present (probably fresh install)
2018-08-17 19:05:00 Karl Stenerud description [Impact] Postfix segfaults when it can't read a map file. Any users without access to the file will get a core dump when running postfix. This fix checks that the file was successfully opened before doing any other checks. [Test Case] # lxc launch ubuntu:bionic tester # lxc exec tester bash $ apt dist-upgrade $ apt install -y postfix $ touch /etc/postfix/valiases.cf $ chmod 0600 /etc/postfix/valiases.cf $ echo "virtual_alias_maps = pgsql:/etc/postfix/valiases.cf" >> /etc/postfix/main.cf $ su - ubuntu This command, run as user "ubuntu", will segfault: # /usr/sbin/postconf virtual_alias_map [Regression Potential] The only change is to short-circuit the error checking code early if the file cannot be opened for any reason. This should not cause regressions, as the alternative is to crash when it attempts to read a bad file descriptor. [Original Description] Fresh install of 18.04 server. Every 5 minutes postconf segfaults: Mar 5 14:30:05 hostname-here kernel: [ 672.082204] postconf[12975]: segfault at 40 ip 0000564d613ff053 sp 00007ffc39e19b90 error 4 in postconf[564d613e7000+25000] Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault at 40 ip 000055b29d0f8053 sp 00007fff72f4b740 error 4 in postconf[55b29d0e0000+25000] According to Apport log, the crash is caused by following command line: postconf -h queue_directory Running the command in shell however works as expected and lists the default spool directory (/var/spool/postfix). ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: postfix 3.3.0-1 ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3 Uname: Linux 4.15.0-10-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 Date: Mon Mar 5 14:26:27 2018 SourcePackage: postfix UpgradeStatus: No upgrade log present (probably fresh install) [Impact] Postfix segfaults when it can't read a map file. Any users without access to the file will get a core dump when running postfix. This fix checks that the file was successfully opened before doing any other checks. [Test Case] $ lxc launch ubuntu:bionic tester $ lxc exec tester bash # apt dist-upgrade # apt install -y postfix # touch /etc/postfix/valiases.cf # chmod 0600 /etc/postfix/valiases.cf # echo "virtual_alias_maps = pgsql:/etc/postfix/valiases.cf" >> /etc/postfix/main.cf # su - ubuntu This command, run as user "ubuntu", will segfault: $ /usr/sbin/postconf virtual_alias_map [Regression Potential] The only change is to short-circuit the error checking code early if the file cannot be opened for any reason. This should not cause regressions, as the alternative is to crash when it attempts to read a bad file descriptor. [Original Description] Fresh install of 18.04 server. Every 5 minutes postconf segfaults: Mar 5 14:30:05 hostname-here kernel: [ 672.082204] postconf[12975]: segfault at 40 ip 0000564d613ff053 sp 00007ffc39e19b90 error 4 in postconf[564d613e7000+25000] Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault at 40 ip 000055b29d0f8053 sp 00007fff72f4b740 error 4 in postconf[55b29d0e0000+25000] According to Apport log, the crash is caused by following command line: postconf -h queue_directory Running the command in shell however works as expected and lists the default spool directory (/var/spool/postfix). ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: postfix 3.3.0-1 ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3 Uname: Linux 4.15.0-10-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 Date: Mon Mar 5 14:26:27 2018 SourcePackage: postfix UpgradeStatus: No upgrade log present (probably fresh install)
2018-08-22 13:40:49 Robie Basak postfix (Ubuntu Bionic): status In Progress Fix Committed
2018-08-22 13:40:50 Robie Basak bug added subscriber Ubuntu Stable Release Updates Team
2018-08-22 13:40:52 Robie Basak bug added subscriber SRU Verification
2018-08-22 13:40:55 Robie Basak tags amd64 apport-bug bionic bitesize amd64 apport-bug bionic bitesize verification-needed verification-needed-bionic
2018-08-22 14:23:56 Simon Déziel tags amd64 apport-bug bionic bitesize verification-needed verification-needed-bionic amd64 apport-bug bionic bitesize verification-done verification-done-bionic
2018-09-06 09:04:44 Launchpad Janitor postfix (Ubuntu Bionic): status Fix Committed Fix Released
2018-09-06 09:04:52 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2018-12-10 13:27:15 Bug Watch Updater postfix (Debian): status New Fix Released