[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-12-10 Thread Bug Watch Updater
** Changed in: postfix (Debian)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-11-05 Thread Scott Kitterman
FYI, this is fixed in 3.3.1 upstream, so when that lands, this diff can
be dropped.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-09-06 Thread Launchpad Bug Tracker
This bug was fixed in the package postfix - 3.3.0-1ubuntu0.1

---
postfix (3.3.0-1ubuntu0.1) bionic; urgency=medium

  * debian/patches/fix-postconf-segfault.diff: Fix a postconf segfault
when map file cannot be read.  Thanks to Viktor Dukhovni . (LP: #1753470)

 -- Karl Stenerud   Thu, 16 Aug 2018
11:33:00 -0700

** Changed in: postfix (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-08-22 Thread Simon Déziel
SRU verification on Bionic:

root@bp1:~# dpkg -l| grep postfix
ii  postfix   3.3.0-1 amd64   High-performance mail transport agent
root@bp1:~# sudo -u ubuntu /usr/sbin/postconf virtual_alias_map
Segmentation fault

root@bp1:~# apt-get -qq update && apt-get install -V postfix
...
The following packages will be upgraded:
   postfix (3.3.0-1 => 3.3.0-1ubuntu0.1)
...
root@bp1:~# sudo -u ubuntu /usr/sbin/postconf virtual_alias_map
/usr/sbin/postconf: warning: virtual_alias_map: unknown parameter

So no more segfault! Thanks

** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-08-22 Thread Robie Basak
Hello Ari, or anyone else affected,

Accepted postfix into bionic-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/postfix/3.3.0-1ubuntu0.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, details of your
testing will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: postfix (Ubuntu Bionic)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-08-17 Thread Karl
** Description changed:

- [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 564d613ff053 sp 7ffc39e19b90 error 4 in 
postconf[564d613e7000+25000]
- Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault 
at 40 ip 55b29d0f8053 sp 7fff72f4b740 error 4 in 
postconf[55b29d0e+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] 
+ [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 564d613ff053 sp 7ffc39e19b90 error 4 in 
postconf[564d613e7000+25000]
+ Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault 
at 40 ip 55b29d0f8053 sp 7fff72f4b740 error 4 in 
postconf[55b29d0e+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)

** Description changed:

  [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
+ # lxc launch ubuntu:bionic builder
+ # lxc exec builder bash
  
- apt dist-upgrade
- apt install -y postfix
+ $ apt dist-upgrade
+ $ apt install -y postfix
  
- echo "query = SELECT real_address from tempmail where time_expires>now() and 
temp_address='%s';
+ $ 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
+ $ 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 564d613ff053 sp 7ffc39e19b90 error 4 in 
postconf[564d613e7000+25000]
  Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault 
at 40 ip 

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-08-17 Thread Karl
** Description changed:

+ [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 564d613ff053 sp 7ffc39e19b90 error 4 in 
postconf[564d613e7000+25000]
- Mar  5 14:30:06 hostname-here kernel: [  672.303499] postconf[13004]: 
segfault at 40 ip 55b29d0f8053 sp 7fff72f4b740 error 4 in 
postconf[55b29d0e+25000]
+ Mar 5 14:30:05 hostname-here kernel: [ 672.082204] postconf[12975]: segfault 
at 40 ip 564d613ff053 sp 7ffc39e19b90 error 4 in 
postconf[564d613e7000+25000]
+ Mar 5 14:30:06 hostname-here kernel: [ 672.303499] postconf[13004]: segfault 
at 40 ip 55b29d0f8053 sp 7fff72f4b740 error 4 in 
postconf[55b29d0e+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
+ 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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-08-16 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~kstenerud/ubuntu/+source/postfix/+git/postfix/+merge/353267

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-08-16 Thread Karl
** Changed in: postfix (Ubuntu Bionic)
 Assignee: (unassigned) => Karl (kstenerud)

** Changed in: postfix (Ubuntu Bionic)
   Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-08-14 Thread Andreas Hasenack
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
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-08-14 Thread Andreas Hasenack
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

2018-08-14 Thread Matthias Lohr
Anything new here? Still experiencing this problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-06-12 Thread Andreas Hasenack
** 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

2018-06-12 Thread Andreas Hasenack
** Tags added: bitesize

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-13 Thread Scott Kitterman
** Package changed: update (Ubuntu) => postfix (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-13 Thread syedmoosa
** Package changed: postfix (Ubuntu) => update (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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/update/+bug/1753470/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-10 Thread Bug Watch Updater
** Changed in: postfix (Debian)
   Status: Unknown => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-10 Thread Andreas Hasenack
** 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

2018-05-10 Thread Steve Kowalik
** Also affects: postfix (Ubuntu Bionic)
   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/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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-10 Thread Andreas Hasenack
** 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
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-10 Thread Andreas Hasenack
** 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

2018-05-10 Thread Andreas Hasenack
** 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
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-10 Thread Launchpad Bug Tracker
This bug was fixed in the package postfix - 3.3.0-1ubuntu1

---
postfix (3.3.0-1ubuntu1) cosmic; urgency=medium

  * debian/patches/fix-postconf-segfault.diff: Fix a postconf segfault
when map file cannot be read.  Thanks to Viktor Dukhovni . (LP: #1753470)

 -- Andreas Hasenack   Wed, 09 May 2018 09:51:09
-0300

** Changed in: postfix (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-09 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~ahasenack/ubuntu/+source/postfix/+git/postfix/+merge/345296

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-09 Thread Andreas Hasenack
** 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

2018-05-09 Thread Andreas Hasenack
** 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
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-07 Thread Scott Kitterman
On Monday, May 07, 2018 08:56:52 PM you wrote:
> 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?

I think you need to be subscribed.

Scott K

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-07 Thread Andreas Hasenack
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

2018-05-07 Thread Andreas Hasenack
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
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-07 Thread Scott Kitterman
On Monday, May 07, 2018 03:43:26 PM you wrote:
> I think the only contact to the developers is their postfix-devel 
> mailing list here:
> 
> http://www.postfix.org/lists.html

postfix-devel is generally for developers of postfix.  Users should use 
postfix-users (even for code issues like this).  The postfix developers are 
active on postfix-users.

Scott K

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-07 Thread Scott Kitterman
On Monday, May 07, 2018 04:47:07 PM you wrote:
> 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.

This is maintained by one of the primary postfix developers:

https://github.com/vdukhovni/postfix

It's the best you'll find publicly.

Scott K

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-07 Thread Scott Kitterman
On Monday, May 07, 2018 03:14:56 PM you wrote:
> 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).

There is no postfix bugtracker upstream.  Did you mail the postfix-users 
mailing list?  I don't recall seeing this.  That's the normal venue for 
reporting issues.

Scott K

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-07 Thread Andreas Hasenack
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

2018-05-07 Thread Andreas Hasenack
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
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-07 Thread Ari Sovijärvi
I think the only contact to the developers is their postfix-devel 
mailing list here:

http://www.postfix.org/lists.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-07 Thread Andreas Hasenack
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

2018-05-07 Thread Andreas Hasenack
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
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-07 Thread Andreas Hasenack
** Changed in: postfix (Ubuntu)
   Importance: Medium => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-07 Thread Andreas Hasenack
** 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

2018-05-07 Thread Andreas Hasenack
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

2018-05-07 Thread Andreas Hasenack
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
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-05-06 Thread Launchpad Bug Tracker
[Expired for postfix (Ubuntu) because there has been no activity for 60
days.]

** Changed in: postfix (Ubuntu)
   Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-03-07 Thread Ari Sovijärvi
I finally found the actual culprit. It's a Munin-plugin that gets
Postfix statistics, it calls postconf to figure out Postfix paths.

While the issue is now clear, I think the symptom is still out there,
you can crash postconf if you run it with a user that doesn't have
permissions to read every included file in main.cf.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-03-07 Thread Ari Sovijärvi
I think I got it now.

Postconf can't read valiases.cf as user Postfix. I changed the file
ownership and permission to allow group postfix to read it, which makes
running postconf as user postfix work now.

Curiously the segfault still happens every 5 minutes.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-03-07 Thread Ari Sovijärvi
After some "yank out lines until the issue stops" detective work, I
think I've traced the issue to be this line in Postfix's main.cf:

virtual_alias_maps = pgsql:/etc/postfix/valiases.cf

valiases.cf is very basic example of PostgreSQL based alias maps
configuration:

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

Postfix-pgsql is naturally installed and Postfix looks up aliases in the
database just fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-03-06 Thread Andreas Hasenack
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

2018-03-06 Thread Andreas Hasenack
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
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-03-06 Thread Ari Sovijärvi
The AppArmor error message appears to be related to already reported
but, and is unrelated. Stunnel was work-in-progress so that's not a
problem. Livepatchd doesn't start because 18.04 doesn't currently have
Live patch support yet.


** Attachment added: "df.txt"
   
https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+attachment/5071337/+files/df.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-03-06 Thread Ari Sovijärvi
** Attachment added: "syslog.txt"
   
https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+attachment/5071338/+files/syslog.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-03-06 Thread Ari Sovijärvi
The problem leaves no traces in any of the logs, but then again I can't
find anything that wouldn't work either. Postfix works just fine.
There's no crontab jobs or anything that would fire sending a message or
anything, besides sending messages works fine as well, with no error
messages. It's just these two messages every 5 minutes.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-03-06 Thread Ari Sovijärvi
** Attachment added: "dmesg.txt"
   
https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470/+attachment/5071339/+files/dmesg.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-03-06 Thread Andreas Hasenack
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
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1753470] Re: Postconf segfaults every 5 minutes

2018-03-06 Thread Andreas Hasenack
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