[Pkg-xen-devel] Bug#655714: Bug#655714: xcp-squeezed: fails to	install due to	insserv rejecting the script header
    Thomas Goirand 
    zigo at debian.org
       
    Fri Jan 13 14:35:07 UTC 2012
    
    
  
On 01/13/2012 09:13 PM, Holger Levsen wrote:
>   Setting up xcp-squeezed (1.3-13) ...
>   insserv: Service xend has to be enabled to start service xcp-squeezed
>   insserv: exiting now!
>   update-rc.d: error: insserv rejected the script header
>   dpkg: error processing xcp-squeezed (--configure):
Hi Holger,
Thanks for this bug report, but I wonder if it's not just a false
positive, because on the environment you ran the test, xend can't start,
because it needs access to xendfs (eg: /proc/xen).
The dependencies in the init.d script for xcp-squeezed are:
# Provides:          xcp-squeezed
# Required-Start:    $remote_fs $syslog xend
# Required-Stop:     $remote_fs $syslog
so basically, it just requires xend. Then, from /etc/init.d/xend:
xenfs_setup()
{
        [ -e "/proc/xen/capabilities" ] && return 0
        log_progress_msg "xenfs"
        [ -d "/proc/xen" ] || return 1
        mount -t xenfs xenfs /proc/xen || return 1
        return 0
}
[ ... ]
case "$1" in
  start)
        log_daemon_msg "Starting $DESC"
        modules_setup
        xenfs_setup
So, xend fails to start, because you're doing a test with puiparts,
which I really do expect to fail (eg: xend will never be able to start
in a chroot).
Let me know if you think I'm wrong here, and if I'm badly reading the
puipart report.
Thomas Goirand (zigo)
    
    
More information about the Pkg-xen-devel
mailing list