Package: xmail
Version: 1.21-4

xmail's postinst invokes (via a snippet inserted by debhelper) its
daemon via invoke-rc.d, which in turn calls policy-rc.d, and that has
the option of preventing any daemons from starting. If this happens, the
following later postinst snippet becomes an infinite loop:

        if [ "$1" = "configure" ]; then
        
                if [ -z "$2" ] || [ "$2" = "$CUR_VER" ]; then
                    #Make sure xmail starts
                    while [ ! -d /var/lib/xmail/spool/22/22/ ] ; do
                        sleep 1;
                    done

"$2" can be empty if this is an initial installation, meaning that the
inner if's condition is true. Since there is no daemon starting up, the
while loop's condition will always remain true.

-- 
Debian is a beast that speaks with many voices -- R.B.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to