View | Details | Raw Unified | Return to bug 64435
Collapse All | Expand All

(-)SuSEconfig.postfix.orig (-1 / +9 lines)
Lines 72-84 Link Here
72
	if [ -d etc ]; then
72
	if [ -d etc ]; then
73
	    echo "removing postfix chroot environment..."
73
	    echo "removing postfix chroot environment..."
74
	fi
74
	fi
75
	rm -rvf etc lib usr var
75
	if grep /var/spool/postfix/proc /proc/mounts &> /dev/null; then
76
	    umount /var/spool/postfix/proc
77
	fi
78
	rm -rvf etc lib usr var proc
76
    elif [ "$(echo "$POSTFIX_UPDATE_CHROOT_JAIL" | tr 'A-Z' 'a-z' )" != "no" ]; then
79
    elif [ "$(echo "$POSTFIX_UPDATE_CHROOT_JAIL" | tr 'A-Z' 'a-z' )" != "no" ]; then
77
	echo "checking postfix chroot environment..."
80
	echo "checking postfix chroot environment..."
78
	
81
	
79
	if rpm -q pam_ldap &> /dev/null; then
82
	if rpm -q pam_ldap &> /dev/null; then
80
	    cpifnewer /etc/openldap/ldap.conf etc/openldap
83
	    cpifnewer /etc/openldap/ldap.conf etc/openldap
81
	fi
84
	fi
85
86
	mkdir -p /var/spool/postfix/proc
87
	if ! grep /var/spool/postfix/proc /proc/mounts &> /dev/null; then
88
	    mount -o ro -t proc proc /var/spool/postfix/proc
89
	fi
82
	
90
	
83
	# PAM
91
	# PAM
84
	cpifnewer "/etc/pam.d/*" etc/pam.d
92
	cpifnewer "/etc/pam.d/*" etc/pam.d

Return to bug 64435