Skip to content
This repository was archived by the owner on Jun 18, 2020. It is now read-only.
This repository was archived by the owner on Jun 18, 2020. It is now read-only.

failing to parse toml multi-line string fields that have double quotes inside #163

@abom

Description

@abom

.startup.toml contains a multu-line field that contains double quoted string inside..

When the container starts, it gives invalid TOML syntax.

Contents of /var/cache/containers/<id>/container.log (thanks @muhamadazmy for pointing me to this!).

Version: development @Revision: 73b9b038f2c549d478adf7b97a1f3a2662c36f7e
2019/06/09 15:26:15 bootstrap D > setting up mounts
2019/06/09 15:26:15 manager D > initializing manager
2019/06/09 15:26:15 main I > Starting process manager
2019/06/09 15:26:15 main I > magic recieved .. continue coreX bootstraping
2019/06/09 15:26:15 bootstrap D > setting up hostname
2019/06/09 15:26:15 bootstrap I > Set hostname to corex
2019/06/09 15:26:15 bootstrap D > linkin mtab
2019/06/09 15:26:15 bootstrap D > startup services
2019/06/09 15:26:15 bootstrap E > failed to load plugins: open /.plugin.toml: no such file or directory
2019/06/09 15:26:15 bootstrap E > failed to startup container services: line 7: invalid TOML syntax

As 0-core uses https://github.com/naoina/toml, i tested it separately, and it gave the same error, while other toml parsers like https://github.com/BurntSushi/toml didn't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions