[Bug 1182493] Re: Log scripts (pre-mount, post-mount) output to logfile

Serge Hallyn 1182493 at bugs.launchpad.net
Sun May 26 04:17:19 UTC 2013


*** This bug is a duplicate of bug 1182085 ***
    https://bugs.launchpad.net/bugs/1182085

Sorry, comment #2 seems to contradict the description.  In the
description you say neither stdout nor stderr go to the file.  In
comment #2 at the end you say stderr is not going to the file.

lxc is using the c popen which does indeed not redirect stderr.  We
could have the run_buffer() function try to add '2>&1' to the command,
but it may be better to have the caller do that.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1182493

Title:
  Log scripts (pre-mount, post-mount) output to logfile

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1182493/+subscriptions



More information about the Ubuntu-server-bugs mailing list