Skip to content

error message duplication #335

@kolyshkin

Description

@kolyshkin

When -d is specified for crun run, some errors got duplicated:

# crun --systemd-cgroup run xxx
2020-04-17T06:53:17.000170557Z: sd-bus call: No such device or address

# crun --systemd-cgroup run -d xxx
2020-04-17T06:53:21.000210517Z: sd-bus call: No such device or address
2020-04-17T06:53:21.000210890Z: sd-bus call: No such device or address

From strace:

pid 25814] close(3)                    = 0
[pid 25817] read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\0"..., 4096) = 62
[pid 25817] close(3 <unfinished ...>
[pid 25814] write(2, "\33[1;31m2020-04-17T06:55:55.00079"..., 822020-04-17T06:55:55.000792131Z: sd-bus call: No such device or address
 <unfinished ...>
[pid 25817] <... close resumed>)        = 0
[pid 25814] <... write resumed>)        = 82
[pid 25817] write(2, "\33[1;31m2020-04-17T06:55:55.00079"..., 822020-04-17T06:55:55.000792087Z: sd-bus call: No such device or address
) = 82
[pid 25814] exit_group(1 <unfinished ...>
[pid 25817] exit_group(1 <unfinished ...>

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