[lxc-devel] [lxc/lxc] b149f3: confile: add config_value_empty()

GitHub noreply at github.com
Sat Jul 1 06:31:01 UTC 2017


  Branch: refs/heads/stable-2.0
  Home:   https://github.com/lxc/lxc
  Commit: b149f339c2723beb174f55292d92f4d5062333a2
      https://github.com/lxc/lxc/commit/b149f339c2723beb174f55292d92f4d5062333a2
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: add config_value_empty()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 81bda9cae07a297ced935c18127083ddbc5a5df6
      https://github.com/lxc/lxc/commit/81bda9cae07a297ced935c18127083ddbc5a5df6
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_string_item()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: c48ed4ff7759de574c13b792d990524f0cb3cd67
      https://github.com/lxc/lxc/commit/c48ed4ff7759de574c13b792d990524f0cb3cd67
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_network()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 65d083860574573ae252cb4fe1ed5f8f0032b909
      https://github.com/lxc/lxc/commit/65d083860574573ae252cb4fe1ed5f8f0032b909
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_network_type()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: af44fe5057d47d514d90e26c50986fd95d3c9a7f
      https://github.com/lxc/lxc/commit/af44fe5057d47d514d90e26c50986fd95d3c9a7f
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_network_hwaddr()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 62dfdc83643ff229c1a966abf2c67d3def1ce1b7
      https://github.com/lxc/lxc/commit/62dfdc83643ff229c1a966abf2c67d3def1ce1b7
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_network_ipv4()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 732acf32b69abc1d3fa7ad6a6ac8c9729df206ba
      https://github.com/lxc/lxc/commit/732acf32b69abc1d3fa7ad6a6ac8c9729df206ba
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_network_ipv4_gateway()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: ca8c9a2fa33e14f26a36a1fe034d009649bc083b
      https://github.com/lxc/lxc/commit/ca8c9a2fa33e14f26a36a1fe034d009649bc083b
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_network_ipv6()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 5a13de15aa76184ce80ca139ff6ef7c5dfdd9e0c
      https://github.com/lxc/lxc/commit/5a13de15aa76184ce80ca139ff6ef7c5dfdd9e0c
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_network_ipv6_gateway()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 4396f360bc02ba047b3ad072daa0a69f8a6932d8
      https://github.com/lxc/lxc/commit/4396f360bc02ba047b3ad072daa0a69f8a6932d8
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_hook()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 3e663c61e105c57b099a84a3bb2ac792780bbcc6
      https://github.com/lxc/lxc/commit/3e663c61e105c57b099a84a3bb2ac792780bbcc6
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_group()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 025baa228f6042bf081e5e5c2094bc89052224c2
      https://github.com/lxc/lxc/commit/025baa228f6042bf081e5e5c2094bc89052224c2
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_environment()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 4433b41ab7e7c5fe21b82bfa8f51bb832fbae69d
      https://github.com/lxc/lxc/commit/4433b41ab7e7c5fe21b82bfa8f51bb832fbae69d
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_loglevel()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 5e78a88acd8e42f0e7377c4166b8305e6d24a8ee
      https://github.com/lxc/lxc/commit/5e78a88acd8e42f0e7377c4166b8305e6d24a8ee
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_cgroup()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: a4fcc23d4b859f26aa80f1d0370446aeac03f985
      https://github.com/lxc/lxc/commit/a4fcc23d4b859f26aa80f1d0370446aeac03f985
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_idmap()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: cfa8c3e7066c0a51c4bef11c318332720f2e3a7e
      https://github.com/lxc/lxc/commit/cfa8c3e7066c0a51c4bef11c318332720f2e3a7e
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_fstab()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: c463d1ac6c765c8be70b1a5c83d89e52ddcbd797
      https://github.com/lxc/lxc/commit/c463d1ac6c765c8be70b1a5c83d89e52ddcbd797
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_mount_auto()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 8742f64599d0995ede0a8a0123574c00ad473fc3
      https://github.com/lxc/lxc/commit/8742f64599d0995ede0a8a0123574c00ad473fc3
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_mount()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: c82f4146b6006308215b5a4d55a0a8270ed42523
      https://github.com/lxc/lxc/commit/c82f4146b6006308215b5a4d55a0a8270ed42523
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_cap_keep()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 0b057790f5382aef9f2b485f7771ecd259751d0e
      https://github.com/lxc/lxc/commit/0b057790f5382aef9f2b485f7771ecd259751d0e
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_cap_drop()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: f39b797697913ac72075ddfc10f63faa6676a05d
      https://github.com/lxc/lxc/commit/f39b797697913ac72075ddfc10f63faa6676a05d
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_init_uid()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 0133efba87bb40191f53c2f4bfca210db54d4c00
      https://github.com/lxc/lxc/commit/0133efba87bb40191f53c2f4bfca210db54d4c00
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_init_gid()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 78b08ba82228becb2ea90cfe521b93ceb7bac3a2
      https://github.com/lxc/lxc/commit/78b08ba82228becb2ea90cfe521b93ceb7bac3a2
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_personality()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 18c979cf0228ce50012335dd6d476402d5c388a1
      https://github.com/lxc/lxc/commit/18c979cf0228ce50012335dd6d476402d5c388a1
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_start()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: b1ba810003dc8e0d32fb79eca3633d3391e4267c
      https://github.com/lxc/lxc/commit/b1ba810003dc8e0d32fb79eca3633d3391e4267c
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_monitor()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 762a6ce5c8970b483440d4983d95d7a783054504
      https://github.com/lxc/lxc/commit/762a6ce5c8970b483440d4983d95d7a783054504
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_tty()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 304d248929b1ec04a43fff2444328b3f1dd6a287
      https://github.com/lxc/lxc/commit/304d248929b1ec04a43fff2444328b3f1dd6a287
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_ttydir()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 61a3dcd2de9cd7a086b9e9621d57c6e3b44cba75
      https://github.com/lxc/lxc/commit/61a3dcd2de9cd7a086b9e9621d57c6e3b44cba75
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_lsm_aa_incomplete()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: ae0a8da5110ada5f7d1aa44e1d81d906af282565
      https://github.com/lxc/lxc/commit/ae0a8da5110ada5f7d1aa44e1d81d906af282565
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_autodev()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 9438b04290bb0cfa0f5feeebf2eec06920f50bee
      https://github.com/lxc/lxc/commit/9438b04290bb0cfa0f5feeebf2eec06920f50bee
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: sig_num()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 94fed3185e2e6732ff8469c096c71d8e0b59dd6c
      https://github.com/lxc/lxc/commit/94fed3185e2e6732ff8469c096c71d8e0b59dd6c
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_haltsignal()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 4342b36bfefb9ffa754b41a3d0cc4f7217344353
      https://github.com/lxc/lxc/commit/4342b36bfefb9ffa754b41a3d0cc4f7217344353
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_haltsignal()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: c7c1145d75d4832ce5a095f6a2b7b7e739f06d73
      https://github.com/lxc/lxc/commit/c7c1145d75d4832ce5a095f6a2b7b7e739f06d73
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_rebootsignal()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: c98dd7bcaed345fce1f304856cd8d36757d436f6
      https://github.com/lxc/lxc/commit/c98dd7bcaed345fce1f304856cd8d36757d436f6
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_stopsignal()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: ef821d5a864325a1fc03c235a9d9ed9d9a52d93e
      https://github.com/lxc/lxc/commit/ef821d5a864325a1fc03c235a9d9ed9d9a52d93e
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_includefile()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 85a540f6d86860a75963cde87b5d884c7997bef4
      https://github.com/lxc/lxc/commit/85a540f6d86860a75963cde87b5d884c7997bef4
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_rootfs_backend()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: b0fed911d90fd06dcfab95328d0c61e171ba9316
      https://github.com/lxc/lxc/commit/b0fed911d90fd06dcfab95328d0c61e171ba9316
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_utsname()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 3287116f0ab0e11eb4ef5eef1d47373f92ac2eaa
      https://github.com/lxc/lxc/commit/3287116f0ab0e11eb4ef5eef1d47373f92ac2eaa
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_ephemeral()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: e098551a05cac387aa70697f6047f53aac6782b7
      https://github.com/lxc/lxc/commit/e098551a05cac387aa70697f6047f53aac6782b7
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: clear lxc.include

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: ccab7162d8f16e3a3ae4771c0b2f56490b063bd6
      https://github.com/lxc/lxc/commit/ccab7162d8f16e3a3ae4771c0b2f56490b063bd6
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 843d122142867175e7c9e5522b893139f18c20cc
      https://github.com/lxc/lxc/commit/843d122142867175e7c9e5522b893139f18c20cc
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: improve write_id_mapping()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 3789ea730e90ea49d9a236df7f578b280e16b06d
      https://github.com/lxc/lxc/commit/3789ea730e90ea49d9a236df7f578b280e16b06d
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/utils.c
    M src/lxc/utils.h

  Log Message:
  -----------
  utils: add run_command

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 4d4ffa3cdc5cbf9f8a882ba3290a344ec31df1ba
      https://github.com/lxc/lxc/commit/4d4ffa3cdc5cbf9f8a882ba3290a344ec31df1ba
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: rework lxc_map_ids()

Especially, in case the new{g,u}idmap is used we should try to gather
std{err,out} on error to better debug what is going on.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: e74739274ee0551f6d593df964b9bd04ad6f1ccb
      https://github.com/lxc/lxc/commit/e74739274ee0551f6d593df964b9bd04ad6f1ccb
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: allow writing uid mappings with euid != 0

In case unprivileged users run containers via execute() or a start*() there are
valid cases where they may only want to map their own {g,u}id. Let's not block
them from doing so by requiring geteuid() == 0.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 01b4373b2d7100de421df0c2982dc93dbb99f666
      https://github.com/lxc/lxc/commit/01b4373b2d7100de421df0c2982dc93dbb99f666
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: use run_command for lxc-usernsexec

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 08a46538f5e4d8a1fd573d77fa07076f5a4933cc
      https://github.com/lxc/lxc/commit/08a46538f5e4d8a1fd573d77fa07076f5a4933cc
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  network: don't delete net devs we didn't create

When we didn't create a net dev we should make sure that we don't delete it.  We
can simply check whether we have index for it. If not, we didn't create it.

Closes #1600.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 5b5293815db550b44645f379276664bff73bf24c
      https://github.com/lxc/lxc/commit/5b5293815db550b44645f379276664bff73bf24c
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: do not write out trailing spaces

So far do_append_unexp_config_line() wrote out a trailing space each time the
config item value was empty. This is a problem a) when we later on parse the
written out config file we need to remove trailing spaces and b).

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 11a7571a833ca310461834168b74c3f8b4d1b997
      https://github.com/lxc/lxc/commit/11a7571a833ca310461834168b74c3f8b4d1b997
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_init_uid()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 86fec54b986ec9d5b024df08e7e63c782fae7f80
      https://github.com/lxc/lxc/commit/86fec54b986ec9d5b024df08e7e63c782fae7f80
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_init_gid()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: be8c9cb346b7c6215eaf86517d436afe9d1b971a
      https://github.com/lxc/lxc/commit/be8c9cb346b7c6215eaf86517d436afe9d1b971a
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_pts()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: e60ed84f3f746a7dd6e2b968fd48fae7041df8dd
      https://github.com/lxc/lxc/commit/e60ed84f3f746a7dd6e2b968fd48fae7041df8dd
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_start()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 0e503a970224a9ef9d053eb9cc9ce6f42921c838
      https://github.com/lxc/lxc/commit/0e503a970224a9ef9d053eb9cc9ce6f42921c838
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_monitor()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: baae4c5744c6c5ec4dfd352b92107edd8a7be01d
      https://github.com/lxc/lxc/commit/baae4c5744c6c5ec4dfd352b92107edd8a7be01d
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_tty()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: f3e0099da198f16946fef4325dc8a4ad187ef946
      https://github.com/lxc/lxc/commit/f3e0099da198f16946fef4325dc8a4ad187ef946
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_kmsg()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 666f0f456b71ae78a2136d5fca25b8ae7e4521bc
      https://github.com/lxc/lxc/commit/666f0f456b71ae78a2136d5fca25b8ae7e4521bc
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_lsm_aa_incomplete()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 86f52910be68b08220e434d9c49d53d746c5c8d5
      https://github.com/lxc/lxc/commit/86f52910be68b08220e434d9c49d53d746c5c8d5
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_loglevel()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: dc36a30a388114caafca7bc6d7d2e4ffc042534e
      https://github.com/lxc/lxc/commit/dc36a30a388114caafca7bc6d7d2e4ffc042534e
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_autodev()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: beae9740e667506203673ef4112bf50583f92d3a
      https://github.com/lxc/lxc/commit/beae9740e667506203673ef4112bf50583f92d3a
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_haltsignal()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 93ee435a41c10bb85844c3572a0f4dfc29be3cc4
      https://github.com/lxc/lxc/commit/93ee435a41c10bb85844c3572a0f4dfc29be3cc4
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_rebootsignal()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: a32dbcd9ccc8fdf6739771f239c1dbf7d269d82f
      https://github.com/lxc/lxc/commit/a32dbcd9ccc8fdf6739771f239c1dbf7d269d82f
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_stopsignal()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 17444bef474ec94e427251f2b183e11df39ab7f6
      https://github.com/lxc/lxc/commit/17444bef474ec94e427251f2b183e11df39ab7f6
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_fstab()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 21304bdd4eb3faa99d8b069531012e9855b15c12
      https://github.com/lxc/lxc/commit/21304bdd4eb3faa99d8b069531012e9855b15c12
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_includefile()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 7116262596b7fdb1cc97548f1213b49cfd9c1928
      https://github.com/lxc/lxc/commit/7116262596b7fdb1cc97548f1213b49cfd9c1928
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_utsname()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 61e3ec8ff15d0c2b05b937804aa267cc82fbb261
      https://github.com/lxc/lxc/commit/61e3ec8ff15d0c2b05b937804aa267cc82fbb261
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: config_ephemeral()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: b84663a8c5d55bb0e73bd54712934a244de88bbc
      https://github.com/lxc/lxc/commit/b84663a8c5d55bb0e73bd54712934a244de88bbc
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/utils.c
    M src/lxc/utils.h

  Log Message:
  -----------
  utils: add lxc_safe_ulong()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 70325efb909c2d1ca598d3efd84f5059f1e622fd
      https://github.com/lxc/lxc/commit/70325efb909c2d1ca598d3efd84f5059f1e622fd
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: properly parse lxc.idmap entries

scanf() really isn't appropriate for this.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/ac6a17b9c053...70325efb909c


More information about the lxc-devel mailing list