The documentation is a bit unclear about this, but you should end your
command with a "." (dot). The dot is mandatory:

p...@workmate$ update-rc.d -n mysql start 99 1 2 3 .
System startup links for /etc/init.d/mysql already exist.

p...@workmate$ update-rc.d -n mysql start 99 1 2 3
Use of uninitialized value $level in string ne at update-rc.d line etc etc

I agree that the script doesn't handle it very well when the final dot
is missing. This should be fixed. I suggest the patch which I attached
to this bug (diff against 2.86.ds1-61ubuntu1 jaunty)

I'll create a debdiff shortly and ask someone to sponsor it into jaunty.
Afterwards, I'll inform the Debian guys.

** Attachment added: "update-rc.d.diff"
   http://launchpadlibrarian.net/21251504/update-rc.d.diff

-- 
update-rc.d: Use of uninitialized value
https://bugs.launchpad.net/bugs/312764
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