On Sun, 3 Dec 2023 00:06:23 +0100 =?UTF-8?B?UHJldcOfZSwgSGlsbWFy?=
<hill...@web.de> wrote:
> On 02.12.2023 08:30, Johannes Schauer Marin Rodrigues wrote:
> > Quoting Hilmar Preusse (2023-12-01 23:10:36)
>
> Hi,
>
> >> I run sbuild as following:
> >>
> >> sbuild --no-run-lintian --arch-all --dist=sid *.dsc -d 
> >> unstable-amd64-sbuild
> >>
> >> , where unstable-amd64-sbuild references a chroot. Updating the chroot is 
> >> done:
> >>
> >> sudo sbuild-update -udcar unstable-amd64-sbuild
> >>
> >> Both commands generate weird messages in /var/log/syslog like this:
> >>
> >> 2023-12-01T09:36:52.230653+01:00 haka2 schroot[3182]: [unstable-
> >> amd64-sbuild-327cf8c2-30d1-4469-aa7b-9bc3653dbc45 chroot] (root->root) 
> >> Running
> >> command: "perl -e #012    use strict;#012
> >>     use warnings;#012    use POSIX;#012    <snip>

> > it may also be an issue with schroot, no? I do not think sbuild at any point
> > tells schroot to write anything to syslog.

I think this is done by the calls to debug, eg here:

https://salsa.debian.org/debian/sbuild/-/blob/main/lib/Sbuild/Chroot.pm?ref_type=heads#L811
debug("Running command: ", join(" ", @$command), "\n");

debug() is defined at
https://salsa.debian.org/debian/sbuild/-/blob/main/lib/Sbuild.pm?ref_type=heads#L336

to print to STDERR, which systemd will then connect to the journal (i
don't know how this last bit works, i think
it happens from schroot  - but the lines to write are generated by sbuild)

Reply via email to