Re: Dar and anacron

Trevisi Roberto <[email protected]> Thu, 3 Apr 2025 22:00:09 +0200
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <CAGBoE9SN5p7XGDkpMs5cEbUqeLzT6y9mXt0A07SxAU289JkKQg@mail.gmail.com>
--===============6028708531142380265==
Content-Type: multipart/alternative; boundary="000000000000b3ecd00631e53953"

--000000000000b3ecd00631e53953
Content-Type: text/plain; charset="UTF-8"

In log I found this:

```
Arguments read from /usr/share/doc/dar/examples/dar_par.dcf :
 "-E"
 "/usr/share/doc/dar/examples/dar_par_create.duc "%p" "%b" %N %e %c 2"
```

The file dar_par.dcf:

```
if [ "$1" = "" -a "$2" = "" -a "$3" = "" -a "$4" = "" -a "$6" = "" ]; then
  echo "usage: $0 <path> <basename> <slice number> <extension> <context(not
used)> <redundancy ratio (%)>"
  echo "$0 builds Parchive redundancy file for the given slice"
  exit 1
fi

# change according to you need
PAR=par2

echo "creating PAR file for file $1/$2.$3.dar ..."

exec $PAR c -r$6 -n1 "$1/$2.$3.$4"
# script returned code it those of par
```

is it possible that par2 calls another instance of dar ?


Il giorno gio 3 apr 2025 alle ore 15:38 Denis Corbin <[email protected]> ha
scritto:

> Well,
>
> what is sure is that the message "No terminal found for user
> interaction[...]" cannot show if you add -Q option to dar:
> - I've double checked the code,
> - traced the information passing from CLI input parsing, down to the
> location where the message is coded,
> - tested with cron (ok not anacron, which I have no on my system), could
> receive an email with the message without -Q option, and verify that
> adding -Q option removes the message and cron do not sent the email
> anymore (unless some other error showed).
>
> I have really no idea about what's wrong in you context, moreover if
> adding -Q option lead you see no messages in the logs while anacron
> still reports a email with that message!
>
> I would try using cron to see if this is anacron related or not...
>
> Regards,
> Denis
>
> On 03/04/2025 14:26, Trevisi Roberto wrote:
> > The two commands in the scripts that run dar_static are:
> > ---------
> >   /usr/bin/env dar_static -Q -vm -vf -z -D -R / -c "$file" \
> >     par2 compress-exclusion --cache-directory-tagging \
> >     -P boot/efi -P dev -P proc -P run \
> >     -P sys -P tmp -P var/tmp -P var/cache -P root/.cache \
> >     -P home/rob/.cache -P home/rob/snap/firefox/common/.cache \
> >     -P media -P cdrom -P mnt -P lost+found &>> "$logfile" &&
> > ----------
> > /usr/bin/env dar_static -Q -vm -t "$file" par2 &>> "$logfile" &&
> > ----------
> >
> > The line in /etc/crontab is
> > 15 20 dar_full_backup  /bin/bash /usr/local/bin/full_live-
> > dar_backup_ubuntu.sh
> >
> > enclose the /etc/darrc, there is no "-E" option I don't execute external
> > commands
> > I don't have ~/.darrc
> >
> >
> > Roberto
> >
> > Il giorno gio 3 apr 2025 alle ore 09:49 Denis Corbin <[email protected]
> > <mailto:[email protected]>> ha scritto:
> >
> >     On 02/04/2025 22:04, Trevisi Roberto wrote:
> >      > Hi,
> >      >
> >      > I am new in bash scripting but if I redirect
> >      > STDOUT and STDERR to /dev/null I lose the log. Is it so ?
> >
> >     correct.
> >
> >      >
> >      > In any way the log now does not show that message
> >
> >     I could not reproduce the problem: without -Q, I get the warning as
> >     expected, while adding this option suppresses this message, also as
> >     expected.
> >
> >     Can you use explicit path to dar in your crontab/anacron?
> >     I suspect you are not calling dar directly but are calling a wrapper
> >     script that calls twice dar but only pass -Q argument to the first...
> >
> >     this would explain what you observed, having 2 waning without -Q and
> >     only one with -Q.
> >
> >     Another possibility is that you run dar twice, the second time from
> -E
> >     argument passed from /etc/darrc or ~/.darrc. I suggest testing the
> >     addition of -N option to avoid dar reading these files...
> >
> >     my 2 cents
> >
> >      >
> >      >
> >      > Regards
> >      > Roberto
> >      >
> >      > On Wed, Apr 2, 2025, 19:02 Neil Darlow via Dar-support <dar-
> >      > [email protected]
> >     <mailto:[email protected]> <mailto:dar- <mailto:dar->
> >      > [email protected]
> >     <mailto:[email protected]>>> wrote:
> >      >
> >      >     Hi,
> >      >
> >      >     Have you tried appending:
> >      >
> >      >      >/dev/null 2>&1
> >      >
> >      >     to your dar invocations to prevent any dar output from
> triggering
> >      >     anacron to send the email?
> >      >
> >      >     Regards,
> >      >     Neil Darlow
> >      >
> >      >
> >      >     On 2 April 2025 14:08:45 BST, Trevisi Roberto
> >     <[email protected] <mailto:[email protected]>
> >      >     <mailto:[email protected] <mailto:[email protected]>>> wrote:
> >      >
> >      >         the dar_static version is 2.7.13
> >      >
> >      >         Il giorno mer 2 apr 2025 alle ore 15:07 Trevisi Roberto
> >      >         <[email protected] <mailto:[email protected]>
> >     <mailto:[email protected] <mailto:[email protected]>>> ha scritto:
> >      >
> >      >             Ciao Denis,
> >      >
> >      >             you were right, there is a second dar command in the
> >     script
> >      >             to test the created file (-t)
> >      >             I put the "-Q" option to the second instance too, but
> the
> >      >             anacron email with that message
> >      >             is sent anyway.
> >      >
> >      >             I redirect all to a log file and, the strange thing
> >     is that
> >      >             before I put the first "-Q" option
> >      >             correctly I found two messages in log file, when I
> >     put the
> >      >             first "-Q" option correctly I
> >      >             found one message in log file, now that I put the
> >     second "-
> >      >             Q" option correctly the
> >      >             message there is no more in the log file, but anacron
> >     sends
> >      >             the email
> >      >             with that message anyway
> >      >
> >      >
> >      >             Roberto
> >      >
> >      >             Il giorno mar 1 apr 2025 alle ore 19:34 Denis Corbin
> >      >             <[email protected] <mailto:[email protected]>
> >     <mailto:[email protected] <mailto:[email protected]>>> ha scritto:
> >      >
> >      >                 On 01/04/2025 18:52, Trevisi Roberto wrote:
> >      >                  > Hi Denis,
> >      >
> >      >                 Buongiorno Roberto,
> >      >
> >      >                  >
> >      >                  > anacron keeps sending the email with the
> message
> >      >                  >
> >      >                  > the dar command in the script is:
> >      >                  >
> >      >                  > /usr/bin/env dar_static -vm -vf -Q -z -D -R /
> -c
> >      >                 "$file" \
> >      >                  >     par2 compress-exclusion --cache-directory-
> >     tagging
> >      >                 -P boot/efi -P dev
> >      >                  > -P proc -P run \
> >      >                  >     -P sys -P tmp -P var/tmp -P var/cache -P
> >      >                 root/.cache \
> >      >                  >     -P home/user/.cache -P
> home/user/snap/firefox/
> >      >                 common/.cache \
> >      >                  >     -P media -P cdrom -P mnt -P lost+found &>>
> >      >                 "$logfile" &&
> >      >                  >
> >      >                  > I tried to put the "-Q" option immediately
> after
> >      >                 "dar_static" and, as above,
> >      >                  > after the verbose options, but in both cases
> >     anacron
> >      >                 sends the email
> >      >
> >      >                 if -Q is passed to dar, dar just skips the
> display of
> >      >                 the message,
> >      >                 whatever is the context. Anacron has no power to
> >     change
> >      >                 that.
> >      >
> >      >                 I have double check that the information from
> >     command-
> >      >                 line down to the
> >      >                 code triggering this message is properly
> propagated
> >      >                 (version 2.7.17, but
> >      >                 this par has not changed since 2.7.0 at least
> >     this the
> >      >                 behavior is
> >      >                 likely the same with any 2.7.x version).
> >      >
> >      >                 Can you check you don't have several lines
> >     calling dar
> >      >                 in you crontab
> >      >                 and/or anacron, for all users, and whether they
> >     all have
> >      >                 -Q option set?
> >      >
> >      >                 By the way, which dar_static version are you
> using?
> >      >                 'dar_static -V' will tell you...
> >      >
> >      >                  >
> >      >                  >
> >      >                  >
> >      >
> >      >                 Ciao,
> >      >                 Denis
> >      >
> >      >     --
> >      >     Sent from my Android device with K-9 Mail.
> >      >
> >      >
> >
> >
>
>

--000000000000b3ecd00631e53953
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">In log I found this:<div><br></div><div>```</div><div>Argu=
ments read from /usr/share/doc/dar/examples/dar_par.dcf :<br>=C2=A0&quot;-E=
&quot;<br>=C2=A0&quot;/usr/share/doc/dar/examples/dar_par_create.duc &quot;=
%p&quot; &quot;%b&quot; %N %e %c 2&quot;<br></div><div>```</div><div><br></=
div><div>The file=C2=A0dar_par.dcf:</div><div><br></div><div>```</div><div>=
if [ &quot;$1&quot; =3D &quot;&quot; -a &quot;$2&quot; =3D &quot;&quot; -a =
&quot;$3&quot; =3D &quot;&quot; -a &quot;$4&quot; =3D &quot;&quot; -a &quot=
;$6&quot; =3D &quot;&quot; ]; then<br>=C2=A0 echo &quot;usage: $0 &lt;path&=
gt; &lt;basename&gt; &lt;slice number&gt; &lt;extension&gt; &lt;context(not=
 used)&gt; &lt;redundancy ratio (%)&gt;&quot;<br>=C2=A0 echo &quot;$0 build=
s Parchive redundancy file for the given slice&quot;<br>=C2=A0 exit 1<br>fi=
<br><br># change according to you need<br>PAR=3Dpar2<br><br>echo &quot;crea=
ting PAR file for file $1/$2.$3.dar ...&quot;<br><br>exec $PAR c -r$6 -n1 &=
quot;$1/$2.$3.$4&quot;<br># script returned code it those of par<br></div><=
div>```</div><div><br></div><div>is it possible that par2 calls another ins=
tance of dar ?</div><div>=C2=A0</div></div><br><div class=3D"gmail_quote gm=
ail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">Il giorno gio 3 =
apr 2025 alle ore 15:38 Denis Corbin &lt;<a href=3D"mailto:[email protected]=
r">[email protected]</a>&gt; ha scritto:<br></div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20=
4,204);padding-left:1ex">Well,<br>
<br>
what is sure is that the message &quot;No terminal found for user <br>
interaction[...]&quot; cannot show if you add -Q option to dar:<br>
- I&#39;ve double checked the code,<br>
- traced the information passing from CLI input parsing, down to the <br>
location where the message is coded,<br>
- tested with cron (ok not anacron, which I have no on my system), could <b=
r>
receive an email with the message without -Q option, and verify that <br>
adding -Q option removes the message and cron do not sent the email <br>
anymore (unless some other error showed).<br>
<br>
I have really no idea about what&#39;s wrong in you context, moreover if <b=
r>
adding -Q option lead you see no messages in the logs while anacron <br>
still reports a email with that message!<br>
<br>
I would try using cron to see if this is anacron related or not...<br>
<br>
Regards,<br>
Denis<br>
<br>
On 03/04/2025 14:26, Trevisi Roberto wrote:<br>
&gt; The two commands in the scripts that run dar_static are:<br>
&gt; ---------<br>
&gt;=C2=A0 =C2=A0/usr/bin/env dar_static -Q -vm -vf -z -D -R / -c &quot;$fi=
le&quot; \<br>
&gt;=C2=A0 =C2=A0 =C2=A0par2 compress-exclusion --cache-directory-tagging \=
<br>
&gt;=C2=A0 =C2=A0 =C2=A0-P boot/efi -P dev -P proc -P run \<br>
&gt;=C2=A0 =C2=A0 =C2=A0-P sys -P tmp -P var/tmp -P var/cache -P root/.cach=
e \<br>
&gt;=C2=A0 =C2=A0 =C2=A0-P home/rob/.cache -P home/rob/snap/firefox/common/=
.cache \<br>
&gt;=C2=A0 =C2=A0 =C2=A0-P media -P cdrom -P mnt -P lost+found &amp;&gt;&gt=
; &quot;$logfile&quot; &amp;&amp;<br>
&gt; ----------<br>
&gt; /usr/bin/env dar_static -Q -vm -t &quot;$file&quot; par2 &amp;&gt;&gt;=
 &quot;$logfile&quot; &amp;&amp;<br>
&gt; ----------<br>
&gt; <br>
&gt; The line in /etc/crontab is<br>
&gt; 15 20 dar_full_backup =C2=A0/bin/bash /usr/local/bin/full_live- <br>
&gt; dar_backup_ubuntu.sh<br>
&gt; <br>
&gt; enclose the /etc/darrc, there is no &quot;-E&quot; option I don&#39;t =
execute external <br>
&gt; commands<br>
&gt; I don&#39;t have ~/.darrc<br>
&gt; <br>
&gt; <br>
&gt; Roberto<br>
&gt; <br>
&gt; Il giorno gio 3 apr 2025 alle ore 09:49 Denis Corbin &lt;<a href=3D"ma=
ilto:[email protected]" target=3D"_blank">[email protected]</a> <br>
&gt; &lt;mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">dar.=
[email protected]</a>&gt;&gt; ha scritto:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0On 02/04/2025 22:04, Trevisi Roberto wrote:<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; Hi,<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; I am new in bash scripting but if I redirect<=
br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; STDOUT and STDERR to /dev/null I lose the log=
. Is it so ?<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0correct.<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; In any way the log now does not show that mes=
sage<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0I could not reproduce the problem: without -Q, I ge=
t the warning as<br>
&gt;=C2=A0 =C2=A0 =C2=A0expected, while adding this option suppresses this =
message, also as<br>
&gt;=C2=A0 =C2=A0 =C2=A0expected.<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0Can you use explicit path to dar in your crontab/an=
acron?<br>
&gt;=C2=A0 =C2=A0 =C2=A0I suspect you are not calling dar directly but are =
calling a wrapper<br>
&gt;=C2=A0 =C2=A0 =C2=A0script that calls twice dar but only pass -Q argume=
nt to the first...<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0this would explain what you observed, having 2 wani=
ng without -Q and<br>
&gt;=C2=A0 =C2=A0 =C2=A0only one with -Q.<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0Another possibility is that you run dar twice, the =
second time from -E<br>
&gt;=C2=A0 =C2=A0 =C2=A0argument passed from /etc/darrc or ~/.darrc. I sugg=
est testing the<br>
&gt;=C2=A0 =C2=A0 =C2=A0addition of -N option to avoid dar reading these fi=
les...<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0my 2 cents<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; Regards<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; Roberto<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; On Wed, Apr 2, 2025, 19:02 Neil Darlow via Da=
r-support &lt;dar-<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; <a href=3D"mailto:[email protected]=
et" target=3D"_blank">[email protected]</a><br>
&gt;=C2=A0 =C2=A0 =C2=A0&lt;mailto:<a href=3D"mailto:[email protected]=
rge.net" target=3D"_blank">[email protected]</a>&gt; &lt;mailto=
:<a href=3D"mailto:dar-" target=3D"_blank">dar-</a> &lt;mailto:<a href=3D"m=
ailto:dar-" target=3D"_blank">dar-</a>&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; <a href=3D"mailto:[email protected]=
et" target=3D"_blank">[email protected]</a><br>
&gt;=C2=A0 =C2=A0 =C2=A0&lt;mailto:<a href=3D"mailto:[email protected]=
rge.net" target=3D"_blank">[email protected]</a>&gt;&gt;&gt; wr=
ote:<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0Hi,<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0Have you tried appending:<=
br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 &gt;/dev/null 2&gt;&amp;1=
<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0to your dar invocations to=
 prevent any dar output from triggering<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0anacron to send the email?=
<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0Regards,<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0Neil Darlow<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0On 2 April 2025 14:08:45 B=
ST, Trevisi Roberto<br>
&gt;=C2=A0 =C2=A0 =C2=A0&lt;<a href=3D"mailto:[email protected]" target=3D"=
_blank">[email protected]</a> &lt;mailto:<a href=3D"mailto:[email protected]=
m" target=3D"_blank">[email protected]</a>&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0&lt;mailto:<a href=3D"mail=
to:[email protected]" target=3D"_blank">[email protected]</a> &lt;mailto:<a=
 href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&=
gt;&gt;&gt; wrote:<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0the dar_stat=
ic=C2=A0version is=C2=A02.7.13<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Il giorno me=
r 2 apr 2025 alle ore 15:07 Trevisi Roberto<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a> &lt;m=
ailto:<a href=3D"mailto:[email protected]" target=3D"_blank">jcclww2@gmail.=
com</a>&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0&lt;mailto:<a href=3D"mailto:[email protected]" tar=
get=3D"_blank">[email protected]</a> &lt;mailto:<a href=3D"mailto:jcclww2@g=
mail.com" target=3D"_blank">[email protected]</a>&gt;&gt;&gt; ha scritto:<b=
r>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0Ciao Denis,<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0you were right, there is a second dar command in the<br>
&gt;=C2=A0 =C2=A0 =C2=A0script<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0to test the created file (-t)<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0I put the &quot;-Q&quot; option to the second instance too, but the<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0anacron email with that message<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0is sent anyway.<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0I redirect all to a log file and, the strange thing<br>
&gt;=C2=A0 =C2=A0 =C2=A0is that<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0before I put the first &quot;-Q&quot; option<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0correctly I found two messages in log file, when I<br>
&gt;=C2=A0 =C2=A0 =C2=A0put the<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0first &quot;-Q&quot; option correctly I<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0found one message in log file, now that I put the<br>
&gt;=C2=A0 =C2=A0 =C2=A0second &quot;-<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0Q&quot; option correctly the<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0message there is no more in the log file, but anacron<br>
&gt;=C2=A0 =C2=A0 =C2=A0sends<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0the email<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0with that message anyway<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0Roberto<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0Il giorno mar 1 apr 2025 alle ore 19:34 Denis Corbin<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">dar.linux@fre=
e.fr</a> &lt;mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">=
[email protected]</a>&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0&lt;mailto:<a href=3D"mailto:[email protected]" tar=
get=3D"_blank">[email protected]</a> &lt;mailto:<a href=3D"mailto:dar.linux=
@free.fr" target=3D"_blank">[email protected]</a>&gt;&gt;&gt; ha scritto:<b=
r>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0On 01/04/2025 18:52, Trevisi Roberto wrote:<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt; Hi Denis,<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0Buongiorno Roberto,<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt; anacron keeps sending the email with=C2=A0the messag=
e<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt; the dar command in the script is:<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt; /usr/bin/env dar_static -vm -vf -Q -z -D -R / -c<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0&quot;$file&quot; \<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0par2 compress-exclusion --cache-d=
irectory-<br>
&gt;=C2=A0 =C2=A0 =C2=A0tagging<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0-P boot/efi -P dev<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt; -P proc -P run \<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0-P sys -P tmp -P var/tmp -P var/c=
ache -P<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0root/.cache \<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0-P home/user/.cache -P home/user/=
snap/firefox/<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0common/.cache \<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0-P media -P cdrom -P mnt -P lost+=
found &amp;&gt;&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0&quot;$logfile&quot; &amp;&amp;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt; I tried to put the &quot;-Q&quot; option immediately=
 after<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0&quot;dar_static&quot; and, as above,<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt; after the verbose options, but in both cases<br>
&gt;=C2=A0 =C2=A0 =C2=A0anacron<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0sends the email<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0if -Q is passed to dar, dar just skips the display of<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0the message,<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0whatever is the context. Anacron has no power to<br>
&gt;=C2=A0 =C2=A0 =C2=A0change<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0that.<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0I have double check that the information from<br>
&gt;=C2=A0 =C2=A0 =C2=A0command-<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0line down to the<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0code triggering this message is properly propagated<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0(version 2.7.17, but<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0this par has not changed since 2.7.0 at least<br>
&gt;=C2=A0 =C2=A0 =C2=A0this the<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0behavior is<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0likely the same with any 2.7.x version).<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0Can you check you don&#39;t have several lines<br>
&gt;=C2=A0 =C2=A0 =C2=A0calling dar<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0in you crontab<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0and/or anacron, for all users, and whether they<br>
&gt;=C2=A0 =C2=A0 =C2=A0all have<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0-Q option set?<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0By the way, which dar_static version are you using?<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0&#39;dar_static -V&#39; will tell you...<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0Ciao,<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0Denis<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0--<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 =C2=A0Sent from my Android devic=
e with K-9 Mail.<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt; <br>
&gt; <br>
<br>
</blockquote></div>

--000000000000b3ecd00631e53953--


--===============6028708531142380265==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============6028708531142380265==--