<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/debian/apt.systemd.daily, branch 1.8.0_alpha2</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.8.0_alpha2</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.8.0_alpha2'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2018-01-02T12:54:19Z</updated>
<entry>
<title>apt.daily: fix several "shellcheck" annotations</title>
<updated>2018-01-02T12:54:19Z</updated>
<author>
<name>Christian Göttsche</name>
<email>cgzones@googlemail.com</email>
</author>
<published>2018-01-02T12:54:19Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b20fd95ef94e302208018a148e98693b0f69c0e6'/>
<id>urn:sha1:b20fd95ef94e302208018a148e98693b0f69c0e6</id>
<content type='text'>
Various corrections, mostly quoting, which shouldn't be a problem for us
as we tend to act in "sane" environments, but just to be sure.

[commit message written by committer]

References: Debian bugreport #849636
</content>
</entry>
<entry>
<title>apt.daily: remove unused dbus signal for apt update</title>
<updated>2018-01-02T12:43:21Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2018-01-02T12:43:21Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=06a03c972b04159a6ae57cd9e4959eaa1d164d7b'/>
<id>urn:sha1:06a03c972b04159a6ae57cd9e4959eaa1d164d7b</id>
<content type='text'>
The signal was introduced with the introduction of the script itself,
but seems to have never got any user as all references to it I can find
are references to other code appearing in the cronjob.

It is also the wrong place nowadays as the cronjob is just one place an
update can be triggered by, so if notifications about an update being
run are desired it is better to use a hook which will be called by all
update calls (script, cron, user, …).

Removing this code solves also the problem of improving the check to
avoid running into problems with security systems like SELinux.

References: 0c1326826fd23ce859db8e923c37b7199c6da2c8
Closes: 849636
</content>
</entry>
<entry>
<title>Fix some more crashes when APT::Periodic options are set to always</title>
<updated>2017-07-12T21:59:35Z</updated>
<author>
<name>Paul Wise</name>
<email>pabs@debian.org</email>
</author>
<published>2017-07-12T21:30:25Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0f3f9e620e9b977ff72bbcbcc205a1e60ed5b836'/>
<id>urn:sha1:0f3f9e620e9b977ff72bbcbcc205a1e60ed5b836</id>
<content type='text'>
Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>Support seconds, minutes, hours and days for APT::Periodic intervals</title>
<updated>2017-07-12T13:27:02Z</updated>
<author>
<name>Paul Wise</name>
<email>pabs@debian.org</email>
</author>
<published>2017-04-07T00:19:59Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=1d9e29c9e2a5591b42a99a721b901fc003ed9149'/>
<id>urn:sha1:1d9e29c9e2a5591b42a99a721b901fc003ed9149</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support zero delay for the various APT::Periodic activities</title>
<updated>2017-07-12T13:26:45Z</updated>
<author>
<name>Paul Wise</name>
<email>pabs@debian.org</email>
</author>
<published>2017-04-07T00:18:17Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=ca90c388045b4498fe32e706bd1bdcf7a6ac8e17'/>
<id>urn:sha1:ca90c388045b4498fe32e706bd1bdcf7a6ac8e17</id>
<content type='text'>
[squashed:]

apt.systemd.daily: check_stamp: check for 'always' before numerical values

Prevents a crash when the configuration actually uses 'always':

apt.systemd.daily: 402: [: Illegal number: always
</content>
</entry>
<entry>
<title>apt.systemd.daily: Use unattend-ugrade --download-only if available</title>
<updated>2017-06-01T07:16:37Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2017-06-01T07:16:37Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=cedf80c55766868eadc7ed59a27537c9a5d91edf'/>
<id>urn:sha1:cedf80c55766868eadc7ed59a27537c9a5d91edf</id>
<content type='text'>
Using dry-run as in the previous commit is not really correct, as
it logs dpkg debugging output too. So, let's assume unattended-upgrade
gets a --download-only option and use that if it is available.

This lets us add the downloading part to unattended-upgrades later
on, without requiring versioned dependencies between the two.

Closes: #863859
</content>
</entry>
<entry>
<title>apt.systemd.daily: Pass --dry-run to unattended-upgrade, not -d</title>
<updated>2017-06-01T06:24:12Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2017-06-01T06:24:12Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=31c81a37ac6dceda0c94ce088b338b6b09afd5a4'/>
<id>urn:sha1:31c81a37ac6dceda0c94ce088b338b6b09afd5a4</id>
<content type='text'>
We want to download stuff:
  --dry-run             Simulation, download but do not install
not debug:
  -d, --debug           print debug messages

Confusion everywhere!

Closes: #863859
</content>
</entry>
<entry>
<title>apt.systemd.daily: Drop the LOCKFD variable</title>
<updated>2017-05-16T21:18:07Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2017-05-16T21:18:07Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=3819004c2cb3893bfa136f3c44a5783c42cd2a8d'/>
<id>urn:sha1:3819004c2cb3893bfa136f3c44a5783c42cd2a8d</id>
<content type='text'>
Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>apt.systemd.daily: fix error from locking code</title>
<updated>2017-05-16T21:16:43Z</updated>
<author>
<name>Alan Jenkins</name>
<email>alan.christopher.jenkins@gmail.com</email>
</author>
<published>2017-05-14T17:11:59Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=7b4581cbe8fcf6e2bd56a27c5a7a1e6ea33d2973'/>
<id>urn:sha1:7b4581cbe8fcf6e2bd56a27c5a7a1e6ea33d2973</id>
<content type='text'>
Error:

    pkgs that look like they should be upgraded:
    Error in function stop
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/apt/progress/text.py", line 240,
    in stop
        apt_pkg.size_to_str(self.current_cps))).rstrip("\n"))
      File "/usr/lib/python3/dist-packages/apt/progress/text.py", line 51,
    in _write
        self._file.write("\r")
    AttributeError: 'NoneType' object has no attribute 'write'
    fetch.run() result: 0

Caused by:

    LOCKFD=3
    unattended_upgrades $LOCKFD&gt;&amp;-

Unfortunately this code does not work, it is equivalent to

    unattended_upgrades 3 &gt;&amp;-

I.e. it left fd 3 open, but closed stdout!

Closes: #862567
</content>
</entry>
<entry>
<title>apt.systemd.daily: Add locking</title>
<updated>2017-05-04T20:49:48Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2017-04-28T09:11:53Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=ea49b66372912354143b810e2826301d651a2b37'/>
<id>urn:sha1:ea49b66372912354143b810e2826301d651a2b37</id>
<content type='text'>
Use a lock file to make sure only one instance of the
script is running at the same time.
</content>
</entry>
</feed>
