<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/debian/apt.postinst, branch 1.4_beta4</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.4_beta4</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.4_beta4'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2015-08-20T12:54:03Z</updated>
<entry>
<title>postinst: Correctly pass --home instead of -home, and fixup old user</title>
<updated>2015-08-20T12:54:03Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-08-20T12:47:32Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=269b7c0cd89e9508c0051d6ac2c3632540a31daa'/>
<id>urn:sha1:269b7c0cd89e9508c0051d6ac2c3632540a31daa</id>
<content type='text'>
Thanks: Niels Thykier for reporting this on IRC
</content>
</entry>
<entry>
<title>Ensure /etc/apt/auth.conf has _apt:root owner</title>
<updated>2014-10-21T15:19:45Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@debian.org</email>
</author>
<published>2014-10-21T15:19:45Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=1924b1e513b0619c177565d17475ea3747983f4f'/>
<id>urn:sha1:1924b1e513b0619c177565d17475ea3747983f4f</id>
<content type='text'>
Ensure in SetupAPTPartialDirectory() that the /etc/apt/auth.conf file
can be read by the priv sep apt methods.
</content>
</entry>
<entry>
<title>debian/apt.postinst: chown _apt:root /etc/apt/auth.conf</title>
<updated>2014-10-21T14:54:03Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@debian.org</email>
</author>
<published>2014-10-21T14:54:03Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=cbb1005a0a2e026e4a7361b0ff86888af192ee85'/>
<id>urn:sha1:cbb1005a0a2e026e4a7361b0ff86888af192ee85</id>
<content type='text'>
If the methods drop privileges we need to ensure that
/etc/apt/apt.conf is still readable by the _apt user.
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'upstream/debian/experimental' into feature/acq-trans</title>
<updated>2014-10-07T14:38:03Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@ubuntu.com</email>
</author>
<published>2014-10-07T14:38:03Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=4d0818cc39f7c0d44ecdfcdf9701058f81caa492'/>
<id>urn:sha1:4d0818cc39f7c0d44ecdfcdf9701058f81caa492</id>
<content type='text'>
Conflicts:
	apt-pkg/acquire-item.cc
</content>
</entry>
<entry>
<title>use _apt:root only for partial directories</title>
<updated>2014-10-06T23:59:49Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-10-06T12:29:53Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=5684f71fa0f6c1b765aa53e22ca3b024c578b9c9'/>
<id>urn:sha1:5684f71fa0f6c1b765aa53e22ca3b024c578b9c9</id>
<content type='text'>
Using a different user for calling methods is intended to protect us
from methods running amok (via remotely exploited bugs) by limiting what
can be done by them. By using root:root for the final directories and
just have the files in partial writeable by the methods we enhance this
in sofar as a method can't modify already verified data in its parent
directory anymore.

As a side effect, this also clears most of the problems you could have
if the final directories are shared without user-sharing or if these
directories disappear as they are now again root owned and only the
partial directories contain _apt owned files (usually none if apt isn't
running) and the directory itself is autocreated with the right
permissions.
</content>
</entry>
<entry>
<title>ensure world-readability for trusted.gpg in postinst</title>
<updated>2014-10-01T23:00:12Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-10-01T21:58:05Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=8b32e72c6f7143de4ec02f44e362b0df9e21e024'/>
<id>urn:sha1:8b32e72c6f7143de4ec02f44e362b0df9e21e024</id>
<content type='text'>
apt-key creates trusted.gpg if it needs it with 644 nowadays, but before
it ensured this, it was gpg creating it, which gives it by default 600.
Not a problem as long as our gpgv is run as root, but now that we drop
privileges we have to ensure that we can also read trusted.gpg files
created by earlier apt-key versions.

Closes: 647001
</content>
</entry>
<entry>
<title>adjust version numbers for the planed upload</title>
<updated>2014-09-30T13:21:44Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@ubuntu.com</email>
</author>
<published>2014-09-30T13:21:44Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=dacb75c62564f436a5f56b0a04169dc71ec3a9cd'/>
<id>urn:sha1:dacb75c62564f436a5f56b0a04169dc71ec3a9cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove empty keyrings in trusted.gpg.d on upgrade</title>
<updated>2014-09-26T22:12:14Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-01-24T14:45:09Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=1d240b5a2dd5a82283f7d0b7fe05b6f90222957c'/>
<id>urn:sha1:1d240b5a2dd5a82283f7d0b7fe05b6f90222957c</id>
<content type='text'>
Adding and deleting many repositories could cause (empty) keyring files
to pill up in older apt-key versions, which in the end might cause gnupg
to run into its internal limit of at most 40 keyrings
</content>
</entry>
<entry>
<title>rename postrm to apt.postrm</title>
<updated>2014-09-26T22:12:13Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-01-24T14:18:14Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=5b55915a9beca06c9993285aee9da9f4ac3bccc4'/>
<id>urn:sha1:5b55915a9beca06c9993285aee9da9f4ac3bccc4</id>
<content type='text'>
It helps in identifying its affiliation.
Also removes the old postinst which was hidden by apt.postinst for a
long time now and would just install a sources.list in edgecases which
is probably not a good idea (e.g. on my system /etc/apt/sources.list
does not exist). It is better done by the installer of the distro.

Git-Dch: Ignore
</content>
</entry>
<entry>
<title>Use /var/empty as the homedir for _apt</title>
<updated>2014-09-25T09:39:16Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@ubuntu.com</email>
</author>
<published>2014-09-25T09:39:16Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b98232208f580e7b2677af87fb22d21f61a0509a'/>
<id>urn:sha1:b98232208f580e7b2677af87fb22d21f61a0509a</id>
<content type='text'>
Thanks to Axel Beckert
</content>
</entry>
</feed>
