postfix init script copies smtp_tls_CApath /etc/ssl/certs to /var/spool/postfix/etc/ssl/certs/etc/ssl/certs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postfix (Debian) |
Fix Released
|
Unknown
|
|||
postfix (Ubuntu) |
Fix Released
|
Undecided
|
LaMont Jones |
Bug Description
The postfix init script copies the files in smtp_tls_CApath to a location within the chroot using this line of code:
find "$ca_path" -print0 | cpio -0pdL "$dest_dir"
where ca_path=$(postconf -h smtp_tls_CApath) and dest_dir=
When smtp_tls_
PS: the part that copies the smtp_tls_CAfile below also seems a bit odd, why is it using ca_path when calculating dest_dir? Have not checked if this is really a bug as I don't use the smtp_tls_CAfile setting.
if test -f "$ca_file"; then
dest_
mkdir --parent "$dest_dir"
cp -L "$ca_file" "$dest_dir"
fi
ProblemType: Bug
Architecture: i386
Date: Wed Aug 17 09:59:32 2011
Dependencies:
adduser 3.112ubuntu1
base-files 5.0.0ubuntu20.
base-passwd 3.5.22
coreutils 7.4-2ubuntu3
debconf 1.5.28ubuntu4
debconf-i18n 1.5.28ubuntu4
debianutils 3.2.2
dpkg 1.15.5.6ubuntu4.5
findutils 4.4.2-1ubuntu1
gcc-4.4-base 4.4.3-4ubuntu5
libacl1 2.2.49-2
libattr1 1:2.4.44-1
libc-bin 2.11.1-0ubuntu7.8
libc6 2.11.1-0ubuntu7.8
libdb4.8 4.8.24-1ubuntu1
libgcc1 1:4.4.3-4ubuntu5
liblocale-
libncurses5 5.7+20090803-
libpam-modules 1.1.1-2ubuntu5.3
libpam0g 1.1.1-2ubuntu5.3
libsasl2-2 2.1.23.
libselinux1 2.0.89-4
libssl0.9.8 0.9.8k-7ubuntu8.6
libstdc++6 4.4.3-4ubuntu5
libtext-
libtext-iconv-perl 1.7-2
libtext-
lsb-base 4.0-0ubuntu8
lzma 4.43-14ubuntu2
ncurses-bin 5.7+20090803-
netbase 4.35ubuntu3
openssl 0.9.8k-7ubuntu8.6
passwd 1:4.1.4.
perl-base 5.10.1-8ubuntu2.1
sed 4.2.1-6
sensible-utils 0.0.1ubuntu3
ssl-cert 1.0.23ubuntu2
tzdata 2011g-0ubuntu0.
zlib1g 1:1.2.3.
DistroRelease: Ubuntu 10.04
Package: postfix 2.8.1-1~lucid1
PackageArchitec
ProcEnviron: SHELL=/bin/bash
ProcVersionSign
SourcePackage: postfix
Tags: lucid
Uname: Linux 2.6.32-
Changed in postfix (Ubuntu): | |
status: | New → Confirmed |
Changed in postfix (Debian): | |
status: | Unknown → New |
Changed in postfix (Ubuntu): | |
assignee: | nobody → LaMont Jones (lamont) |
status: | Confirmed → Fix Committed |
Changed in postfix (Debian): | |
status: | New → Fix Released |
Changing the line to
(cd "$ca_path" && find . -print0 | cpio -0pdL "$dest_dir")
seems to do the trick.