Opened 17 years ago
Closed 17 years ago
#83 closed defect (fixed)
qemu-dm-sipb should compute ROOT for itself
Reported by: | quentin | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Public Beta |
Component: | xen | Version: | |
Keywords: | Cc: |
Description
/usr/sbin/qemu-dm-sipb wasn't seeing the $ROOT environment variable because we had restarted xend. The xend init script sets ROOT=/path/to/foo. When run during boot, there is an environment variable called ROOT, so the ROOT=/path/to/foo line changes the environment variable's value. When run from ssh, there is no ROOT environment variable, so ROOT is only set within the init script and is not exported to child processes. I fixed it with:
ROOT=true /etc/init.d/xend restart
We should probably have qemu-dm-sipb recompute ROOT when it is run, using the same algorithm as the xend init script. It's not clear that ROOT is actually used by anything else.
Change History (1)
comment:1 Changed 17 years ago by andersk
- Resolution set to fixed
- Status changed from new to closed
You guys are all lame.