On Sat, 2008-03-01 at 20:00 +0100, Petter Reinholdtsen wrote:
> Package: kexec-tools
> Version: 20080227-1
> Severity: important
> Tags:     patch
> User:     [EMAIL PROTECTED]
> Usertags: incorrect-dependency
> 
> When upgrading kexec while dependency based boot sequencing is
> enabled, it failed to install with this error:
> 
>   Setting up kexec-tools (20080227-1) ...
>   Installing new version of config file /etc/init.d/kexec ...
>   Installing new version of config file /etc/init.d/kexec-load ...
>   insserv: Service autofs has to be enabled for service kexec-load
>   insserv: exiting now!
>   dpkg: error processing kexec-tools (--configure):
>    subprocess post-installation script returned error exit status 1
> 
> The reason is that the init.d script have a hard dependency on autofs,
> which is not installed in my chroot.  As autofs isn't a dependency of
> the package, I believe the dependency should be s soft dependency
> instead.
> 
> This patch change the autofs dependency to a soft dependency.
> 
> --- /etc/init.d/kexec-load      2008-02-27 18:42:32.000000000 +0100
> +++ /tmp/kexec-load     2008-03-01 19:57:54.000000000 +0100
> @@ -2,7 +2,8 @@
>  ### BEGIN INIT INFO
>  # Provides:            kexec-load
>  # Required-Start:
> -# Required-Stop:       $remote_fs autofs kexec
> +# Required-Stop:       $remote_fs kexec
> +# Should-Stop:         autofs
>  # Default-Start:
>  # Default-Stop:                6
>  # Short-Description: Load kernel image with kexec
> 
> 

yes, you are absolutely right. I will fix it right away.

-- 
===================
Khalid Aziz
[EMAIL PROTECTED]




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

Reply via email to