Severity: serious
Version: 3.0pl1-190

Some user in the German Usenet told the following:

Original post:
https://pi-dach.dorfdsl.de/rocksolid/article-flat.php?id=2417&group=de.comp.os.unix.linux.misc#2417

Translated:

> when looking at the patch:

> +                 snprintf(unit_buf, 255, "cron job uid=%d: %s",
> +                          e->uid, e->cmd);
> +                 snprintf(cmd_buf, 511,
> +                          "systemd-run --scope --user --unit=%s %s",
> +                          unit_buf, e->cmd);

> This has never worked and won't, but explains the problem.
> If cron detects, that it runs on systemd and runs the command
> 'a b c' with uid 12, it calls

>     systemd-run --scope --user --unit=cron job uid=12 a b c a b c
> 
> Without quoting, without overflow handling.

> It tries to run "job uid=12 ..." and complains that this doesn't
> exist.



-- 
kind regards
Marco

Send unsolicited bulk mail to 1730540724mu...@stinkedores.dorfdsl.de

Reply via email to