severity 581351 grave kthxbye On Wed, May 12, 2010 at 13:17:37 +0200, Michael Meskes wrote:
> mich...@feivel:~$ sudo /etc/init.d/postfix restart
> Stopping Postfix Mail Transport Agent: postfix.
> Starting Postfix Mail Transport Agent: postfix.
> mich...@feivel:~$ sudo dpkg -i dash_0.5.5.1-4_amd64.deb
> (Reading database ... 172319 files and directories currently installed.)
> Preparing to replace dash 0.5.5.1-3 (using dash_0.5.5.1-4_amd64.deb) ...
> Unpacking replacement dash ...
> Setting up dash (0.5.5.1-4) ...
> Processing triggers for man-db ...
> Processing triggers for menu ...
> mich...@feivel:~$ sudo /etc/init.d/postfix restart
> Stopping Postfix Mail Transport Agent: postfix.
> Starting Postfix Mail Transport Agent: postfixunknown type for
> $config_directory:d:root:-:755:u in /usr/lib/postfix/postfix-files1
> postfix/postfix-script: warning: unable to create missing queue directories
> postfix/postfix-script: fatal: Postfix integrity check failed!
> failed!
>
Seems like broken IFS handling in read, postfix's post-install script
does:
test -n "$create" && {
exec <$daemon_directory/postfix-files || exit 1
while IFS=: read path type owner group mode flags junk
do
IFS="$BACKUP_IFS"
set_permission=
# Skip comments. Skip shared files, if updating a secondary instance.
[snip]
# Skip hard links and symbolic links.
case $type in
[hl]) continue;;
[df]) ;;
*) echo unknown type $type for $path in
$daemon_directory/postfix-files1>&2; exit 1;;
esac
[...]
And apparently the whole colon-separated line from postfix-files ends up
in $path instead of being split in the various variables.
Cheers,
Julien
signature.asc
Description: Digital signature

