wok diff postfix/receipt @ rev 2777

linux: Fix 'BUG: Int 14: CR2 ffd41000' on ASUS P5QL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 27 13:47:44 2009 +0200 (2009-04-27)
parents 79e6c7e5b6d3
children 051a78c03e10
line diff
     1.1 --- a/postfix/receipt	Fri Mar 06 10:53:07 2009 +0000
     1.2 +++ b/postfix/receipt	Mon Apr 27 13:47:44 2009 +0200
     1.3 @@ -75,13 +75,13 @@
     1.4  		chroot $1/ addgroup postdrop
     1.5  		status
     1.6  	fi
     1.7 -	chown postfix $1/var/spool/postfix/* $1/var/lib/postfix
     1.8 -	chgrp postdrop $1/var/spool/postfix/maildrop $1/var/spool/postfix/public \
     1.9 -			$1/usr/sbin/postdrop $1/usr/sbin/postqueue
    1.10 +	chroot $1/ sh -c 'chown postfix /var/spool/postfix/* /var/lib/postfix'
    1.11 +	chroot $1/ chgrp postdrop /var/spool/postfix/maildrop \
    1.12 +		/var/spool/postfix/public /usr/sbin/postdrop /usr/sbin/postqueue
    1.13  	chmod 2755 $1/usr/sbin/postdrop $1/usr/sbin/postqueue
    1.14  	chmod 2710 $1/var/spool/postfix/public
    1.15  	chmod 1730 $1/var/spool/postfix/maildrop
    1.16 -	postalias $1/etc/postfix/aliases
    1.17 +	chroot $1/ postalias /etc/postfix/aliases
    1.18  	cat <<EOF
    1.19  ----
    1.20  Warning: you still need to edit myorigin/mydestination/mynetworks