Merge ~ahasenack/ubuntu/+source/postfix:postfix-postconf-segfault-1753470 into ubuntu/+source/postfix:ubuntu/devel
Status: | Merged | ||||
---|---|---|---|---|---|
Merge reported by: | Christian Ehrhardt | ||||
Merged at revision: | 73cb543efe06a340021cbf538d3ca88abfd96bd8 | ||||
Proposed branch: | ~ahasenack/ubuntu/+source/postfix:postfix-postconf-segfault-1753470 | ||||
Merge into: | ubuntu/+source/postfix:ubuntu/devel | ||||
Diff against target: |
56 lines (+34/-0) 3 files modified
debian/changelog (+8/-0) debian/patches/fix-postconf-segfault.diff (+25/-0) debian/patches/series (+1/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christian Ehrhardt (community) | Approve | ||
Canonical Server | Pending | ||
Review via email: mp+345296@code.launchpad.net |
Commit message
* debian/
when map file cannot be read. Thanks to Viktor Dukhovni <postfix-
<email address hidden>>. (LP: #1753470)
Description of the change
Steps to reproduce:
sudo apt install postfix
echo "virtual_alias_maps = pgsql:/
sudo truncate -s 0 /etc/postfix/
sudo chmod 0600 /etc/postfix/
postconf <--- segfaults as a regular user who cannot read the valiases.cf file
PPA with a fixed package:
sudo add-apt-repository -y -u ppa:ahasenack/
sudo apt dist-upgrade
postconf <--- outputs the configuration, ignoring the EACCES error
The patch from Viktor at https:/
- Confirmed the error exists and is reproducible
- Confirmed the test build in the ppa fixes the issue
- changelog ok
- version number ok
- Thanks for already having a Debian bug and upstream discussion
- patch LGTM as well (it is not yet upstream but as close as it can be)
Keep in mind that we might need to adapt if upstream changes its mind on it. test/prep/ SRU-review ... until then you'll know if upstream changed the approach to fix it.
But for Cosmic this should be fine where we can re-roll fast and OTOH before the SRU to Bionic happens we have a few days of push/build/
Ack for the MP here +1