[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#945862: /etc/cron.daily/apt-compat: Use "sleep" later in the script



Package: apt
Version: 1.8.4
Severity: minor

Dear Maintainer,

   * What led up to the situation?

  The "sleep" funtion was shown in the output of "ps".

###

  Do not put the script to a sleep, if it is afterwards not going to do
its job.

  Therefor call "random_sleep" after "check_power || exit 0".

N.B. Other bug reports about the file are #829443 and #898312.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.3.9-3 (SMP w/2 CPU cores)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), LANGUAGE=is_IS.iso88591 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages apt depends on:
ii  adduser                 3.118
ii  debian-archive-keyring  2019.1
ii  gpgv                    2.2.17-3
ii  libapt-pkg5.0           1.8.4
ii  libc6                   2.29-3
ii  libgcc1                 1:9.2.1-19
ii  libgnutls30             3.6.10-5
ii  libseccomp2             2.4.2-2
ii  libstdc++6              9.2.1-19

Versions of packages apt recommends:
ii  ca-certificates  20190110

Versions of packages apt suggests:
pn  apt-doc                      <none>
pn  aptitude | synaptic | wajig  <none>
ii  dpkg-dev                     1.19.7
ii  gnupg                        2.2.17-3
pn  powermgmt-base               <none>

-- Configuration Files:
/etc/cron.daily/apt-compat changed [not included]

-- no debconf information

-- 
Bjarni I. Gislason


Reply to: