Difference between revisions of "FAQ"

From CRIU
Jump to navigation Jump to search
Line 7: Line 7:
 
* <b>Q</b>: Why my [[ZDTM Test Suite|test]] cannot do privileged operation, though I run zdtm.py as root?
 
* <b>Q</b>: Why my [[ZDTM Test Suite|test]] cannot do privileged operation, though I run zdtm.py as root?
 
* <b>A</b>: That's because zdtm.py runs all sub-tests from non-existing non-root user. If you need root prio in your sub-test add <code>'flags': 'suid'</code> into test's .desc file.
 
* <b>A</b>: That's because zdtm.py runs all sub-tests from non-existing non-root user. If you need root prio in your sub-test add <code>'flags': 'suid'</code> into test's .desc file.
 +
 +
 +
* <b>Q</b>: Is it possible to do [[live migration]] from one server to another with changing the IP address?
 +
* <b>A</b>: Quick answer is -- if breaking the connections is OK, then yes. In details it's described [[change IP address|in this article]].
  
 
[[Category: HOWTO]]
 
[[Category: HOWTO]]
 
[[Category: Under the hood]]
 
[[Category: Under the hood]]

Revision as of 11:35, 2 September 2016

The intention of this page is to hold answers to frequently (and no so frequently) asked questions as well as some random data spread among developers' heads ;-)

  • Q: Why CRIU dumps parts of read-only mappings that map the code section of a binary? For instance, there is a mapping at, say 0x400000, that maps the code of /usr/bin/something. After dump there will be at least a page at 0x400000 in the pagemap
  • A: The code section may have been COWed, for instance during dynamic load of the shared libraries.


  • Q: Why my test cannot do privileged operation, though I run zdtm.py as root?
  • A: That's because zdtm.py runs all sub-tests from non-existing non-root user. If you need root prio in your sub-test add 'flags': 'suid' into test's .desc file.


  • Q: Is it possible to do live migration from one server to another with changing the IP address?
  • A: Quick answer is -- if breaking the connections is OK, then yes. In details it's described in this article.