Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1003444: cyrus-imapd: Warning from cron.daily script - wrong options for xargs

10 views
Skip to first unread message

Stefan Nobis

unread,
Jan 10, 2022, 4:30:03 AM1/10/22
to
Package: cyrus-imapd
Version: 3.2.6-2+deb11u1
Severity: normal
Tags: patch

Dear Maintainer,

after upgrading from buster to bullseye I get warnings from cron about
the cyrus-imapd (version 3.2.6-2+deb11u1) cron.daily script:

xargs: warning: options --max-args and --replace/-I/-i are mutually exclusive, ignoring previous --max-args value

It seems in the script /etc/cron.daily/cyrus-imapd line 58

xargs --null -n 1 -r -i'{1}' \

should be changed to

xargs --null -r -I'{1}' \

where "-I" implies "-L 1" which is the correct replacement of "-n 1" in
the context of using the replacement mechanism of xargs.

Yadd

unread,
Jan 10, 2022, 5:50:03 PM1/10/22
to
Control: tags -1 + pending

Fixed here [1], thanks

[1] https://salsa.debian.org/debian/cyrus-imapd/-/commit/eb8088db
0 new messages