Hi Alex, /sbin/initctl is part of upstart package. I install systems with traditional System-V-like startup scripts so this file is not present. It causes installDebianPackage function to fail because disableStartStopDaemon fails. I noticed that this changed was introduced as a result of Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/xen-tools/+bug/997063 so I guess it was not tested on systems not using upstart...
Kind regards, Patryk On Wed, Oct 2, 2013 at 5:48 PM, Axel Beckert <[email protected]> wrote: > Hi Patryk, > > Patryk Ściborek wrote: > > Currently disableStartStopDaemon function in /usr/lib/xen-tools/common.sh > > fails if there is no /sbin/initctl file. This breaks installation with > > error similar to: > > > > mv: cannot stat `/tmp/tmp.AmEHYLPoar/sbin/initctl': No such file or > > directory > > > > I patched this function to disable starter only it it's present. My patch > > is attached. > > Thanks for the bug report and patch. But can you elaborate a little > bit more in which cases there is no /sbin/initctl file? Is this a > systemd thing? > > Regards, Axel > -- > ,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/ > : :' : | Debian Developer, ftp.ch.debian.org Admin > `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE > `- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 >

