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

Didier Roche didrocks at ubuntu.com
Thu May 23 15:52:57 UTC 2013


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

are you sure it's a duplicate?

I tried lxc.loglevel = 1, and I do get the script output:
      lxc-start 1369324274.003 INFO     lxc_conf - Executing script '/var/lib/lxc/foo/scripts/pre-mount.sh' for container 'foo', config section 'lxc'
      lxc-start 1369324274.268 DEBUG    lxc_conf - script output: The user `ubuntu' is already a member of `video'.

      lxc-start 1369324274.606 DEBUG    lxc_conf - script output:
Generating locales...


But not stderr (the -x is set in the pre-mount script)

-- 
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