Public bug reported:

I get the following errors with /etc/init.d/xendomains in xen-utils-3.3
backported to hardy (has been in the legacy hardy xen-utils-3.2 packages
before as well):

Shutting down Xen domains:cut: cut: No such file or directory
/etc/init.d/xendomains: line 313: test: =: unary operator expected
 Domain-0(save).Error: 'xm save' requires between 2 and 3 arguments.

Usage: xm save [-c] <Domain> <CheckpointFile>

Save a domain state to restore later.
  -c, --checkpoint               Leave domain running after creating
                                 snapshot

!(shut).Error: No domain parameter given
/etc/init.d/xendomains: line 305:  3093 Terminated              watchdog_xm save
!cut: cut: No such file or directory
/etc/init.d/xendomains: line 187:  3103 Terminated              watchdog_xm 
shutdown
/etc/init.d/xendomains: line 313: test: =: unary operator expected
 miredo2(save)/etc/init.d/xendomains: line 305:  3103 Terminated              
watchdog_xm shutdown
.Error: 'xm save' requires between 2 and 3 arguments.

Usage: xm save [-c] <Domain> <CheckpointFile>

Save a domain state to restore later.
  -c, --checkpoint               Leave domain running after creating
                                 snapshot

!(shut).Error: No domain parameter given
/etc/init.d/xendomains: line 305:  3119 Terminated              watchdog_xm save
!cut: cut: No such file or directory
/etc/init.d/xendomains: line 187:  3129 Terminated              watchdog_xm 
shutdown
/etc/init.d/xendomains: line 271: test: =: unary operator expected
 SHUTDOWN_ALL .cut: cut: No such file or directory
/etc/init.d/xendomains: line 271: test: =: unary operator expected
.cut: cut: No such file or directory
/etc/init.d/xendomains: line 271: test: =: unary operator expected
.cut: cut: No such file or directory
/etc/init.d/xendomains: line 271: test: =: unary operator expected
.cut: cut: No such file or directory
/etc/init.d/xendomains: line 271: test: =: unary operator expected
.cut: cut: No such file or directory
/etc/init.d/xendomains: line 271: test: =: unary operator expected
.Domain miredo2 terminated
cut: cut: No such file or directory
/etc/init.d/xendomains: line 271: test: =: unary operator expected
.All domains terminated
/etc/init.d/xendomains: line 305:  3129 Terminated              watchdog_xm 
shutdown
/etc/init.d/xendomains: line 305:  3149 Terminated              watchdog_xm 
shutdown 1
 *   [done]

all those errors are caused by a single obvious error in the init script
(see the "cut: cut: no Such file or directory"). Patch attached

** Affects: xen-3.3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
xendomains init script errors
https://bugs.launchpad.net/bugs/297889
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