[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: please hint policyd-weight 0.1.14-beta-6 for etch



On Thu, Dec 21, 2006 at 10:46:42AM +0100, Jan Wagner wrote:

> please consider upgrade to 0.1.14-beta-6 as it solves the problem that it 
> should be started before / stoped after postfix (+ fixing upgrade path) and 
> removed DNSBL of ordb.org from default config (see 
> http://www.ordb.org/news/?id=38).

> diff -Nur policyd-weight-0.1.14-beta.orig/debian/postinst policyd-weight-0.1.14-beta/debian/postinst
> --- policyd-weight-0.1.14-beta.orig/debian/postinst	2006-12-21 10:31:15.000000000 +0100
> +++ policyd-weight-0.1.14-beta/debian/postinst	2006-12-21 10:31:56.000000000 +0100
> @@ -41,6 +41,13 @@
>  				--shell /bin/false	\
>  				$NUSER
>  		fi
> +		
> +		# be shure we get new startscript
> +		if [ -n "$2" ] && dpkg --compare-versions "$2" lt "0.1.14-beta-6"; then
> +			if [ -L /etc/rc2.d/S40policyd-weight ] || [ -L /etc/rc2.d/S20policyd-weight ] ; then
> +				update-rc.d -f policyd-weight remove >/dev/null
> +			fi
> +		fi
>  
>  		# Set up home directory.
>  		if [ -d $NHOME ]; then

This still does not respect certain local changes by the admin.  Just
because the link in /etc/rc2.d has been left alone doesn't mean that the
symlinks for *all* the runlevels have been left alone.

I'm going ahead with unblocking it anyway; despite being a policy
violation, this package wasn't in sarge so this is not release-critical,
and better to have a policy-violating change before the release than to
have one that impacts users when upgrading from etch to lenny.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/



Reply to: