Thank you for taking the time to report this issue and help to improve
Ubuntu.

What method of installation are you using that results in this code
failing during a CD install?  The installer needs to be diverting
/sbin/initctl and replacing it with /bin/true to indicate that this is
inside an installation chroot and that errors should be ignored; we
should *not* be ignoring all errors from invoke-rc.d.

> For comparison, this is how samba handles the same:

> # Automatically added by dh_installinit
> if [ -e "/etc/init/smbd.conf" ]; then
>         # start fails if already running
>         start smbd || :
> fi
> # End automatically added section

Yes, that's buggy.  It may have been done this way to work around a
similar issue for that package, but it's the wrong fix.

> The || : causes the failure to be silently ignored, which is the correct 
> response if the current
> environment does not support starting of services. The services will be 
> started in due time
> when the installation is completely done, after the final reboot.

Right, it's the correct response if the current environment doesn't
support starting of services, but it's the wrong response when the
environment *does* support it and the start comand has failed anyway.

So if this error triggers for you in the installer, then it's an
installer bug.

** Changed in: nfs-utils (Ubuntu)
       Status: New => Incomplete

-- 
nfs-common's postinst script fails if no upstart running
https://bugs.launchpad.net/bugs/666528
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to