<feed xmlns='http://www.w3.org/2005/Atom'>
<title>propellor/src/Propellor/Property/Chroot.hs, branch master</title>
<subtitle>gnusosa's centralized propellor repository for hosts spin-up.
</subtitle>
<id>https://git.gnusosa.net/propellor/atom?h=master</id>
<link rel='self' href='https://git.gnusosa.net/propellor/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/'/>
<updated>2018-05-03T16:25:25Z</updated>
<entry>
<title>Update shim each time propellor is run in a container, to deal with library version changes.</title>
<updated>2018-05-03T16:25:25Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2018-05-03T16:25:25Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=94653981cab8a9e0640a8ce3eee54a186479c1e5'/>
<id>urn:sha1:94653981cab8a9e0640a8ce3eee54a186479c1e5</id>
<content type='text'>
Surprised this didn't come up before, since propellor was run against
progressively old versions of libraries when propelling eg, a chroot.
It finally broke on an arm box, where libm got updated to a new version
and propellor used a symbol from the new version.

The comment says that propellor may be running from an existing shim
in which case it's reused. That could be a nested chroot or other
container, or perhaps propellor was deployed via a precompiled tarball
which is built using a shim. The code used to use "checkAlreadyShimmed shim"
which I don't see how it deals with either of those scenarios.
Changed to "checkAlreadyShimmed propellorbin", which I think will deal with
them, but I've not tested such scenarios.

Added code to delete old versions of libraries out of the shim directory
to avoid masses of old ones piling up over time. Property.Chroot sets up
the shim directory and then bind mounts it into the chroot. To avoid
deleting the source of a bind mount, made this only delete files in the
shim directory, but not the shim directory itself.
</content>
</entry>
<entry>
<title>Service: Avoid starting services when noServices is used.</title>
<updated>2017-11-18T01:58:53Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-11-18T01:58:39Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=6dae019be9ebed76f282ec3cb258df7bf5891320'/>
<id>urn:sha1:6dae019be9ebed76f282ec3cb258df7bf5891320</id>
<content type='text'>
Reconsidered making services never run inside chroots, that seemed too
potentially limiting.

Using Info rather than checking policy-rc.d because it will also work
outside of debian, but more because policy-rc.d has an extremely
complicated interface and I didn't want to deal with it.

This commit was sponsored by Jochen Bartl on Patreon.
</content>
</entry>
<entry>
<title>Use isUnpopulated when creating a chroot or restoring a backup</title>
<updated>2017-10-19T19:35:29Z</updated>
<author>
<name>Nicolas Schodet</name>
<email>nico@ni.fr.eu.org</email>
</author>
<published>2017-10-19T19:35:29Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=b437fa963d7e44945d24c1c5a6453cebcaf7a682'/>
<id>urn:sha1:b437fa963d7e44945d24c1c5a6453cebcaf7a682</id>
<content type='text'>
</content>
</entry>
<entry>
<title>improve comment</title>
<updated>2017-07-29T05:42:21Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-07-29T05:42:21Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=680c55d120033582e1b2316110b163684c4a918a'/>
<id>urn:sha1:680c55d120033582e1b2316110b163684c4a918a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix chroot info access</title>
<updated>2017-07-06T00:59:39Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-07-06T00:58:03Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=7e9dc8880fc18d9dbaef039b3fc81db40cbdf9a9'/>
<id>urn:sha1:7e9dc8880fc18d9dbaef039b3fc81db40cbdf9a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>DiskImage: Removed grubBooted</title>
<updated>2017-07-06T00:19:33Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-07-06T00:19:19Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=68f864299303ac8d510f19d67e8d7e6fe0681138'/>
<id>urn:sha1:68f864299303ac8d510f19d67e8d7e6fe0681138</id>
<content type='text'>
Properties that used to need it as a parameter now look at Info about the
bootloader that is installed in the chroot that the disk image is created
from. (API change)

This is a simplication, and avoids the user needing to repeat themselves
in the propellor config, thus avoiding mistakes.

When no boot loader is installed, or multiple different ones are,
disk image creation will fail, which seems reasonable.

This commit was sponsored by Jake Vosloo on Patreon.
</content>
</entry>
<entry>
<title>avoid buffering container chain output</title>
<updated>2017-07-05T17:52:29Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-07-05T17:52:29Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=2b9d5ca90f053ad21fbbab89b3045bd0822400d5'/>
<id>urn:sha1:2b9d5ca90f053ad21fbbab89b3045bd0822400d5</id>
<content type='text'>
When provisioning a container, output was buffered until the whole process
was done; now output will be displayed immediately.

I know this didn't used to be a problem. I belive it was introduced by
accident when propellor started using concurrent-output. I know I've seen
it for a while and never was bothered enough to get to the bottom of it;
apparently "a while" was longer than I thought.

Also refactored code to do with chain provisioning to all be in
Propellor.Engine and avoided some duplication.

This commit was sponsored by Anthony DeRobertis on Patreon.
</content>
</entry>
<entry>
<title>Merge branch 'master' into joeyconfig</title>
<updated>2017-05-16T00:12:08Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-05-16T00:12:08Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=d3b49aa149ea8ac9052b5b3d2a048206a7293301'/>
<id>urn:sha1:d3b49aa149ea8ac9052b5b3d2a048206a7293301</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed dependency on MissingH, instead depends on split and hashable.</title>
<updated>2017-05-16T00:09:31Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-05-16T00:09:31Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=ba3bd76f4ade7ffeea3c1837f868f5264d284a8c'/>
<id>urn:sha1:ba3bd76f4ade7ffeea3c1837f868f5264d284a8c</id>
<content type='text'>
MissingH is a heavy dependency, which pulls in parsec and a bunch of stuff.
So eliminating it makes propellor easier to install and less likely to
fail to build.

changesFileContent now uses hashable's hash. This may not be stable across
upgrades, I'm not sure -- but it's surely ok here, as the hash is not
stored.

socketFile also uses hash. I *think* this is ok, even if it's not stable.
If it's not stable, an upgrade might make propellor hash a hostname to a
different number, but with 9 digets of number in use, the chances of a
collision are small. In any case, I've opned a bug report asking for the
stability to be documented, and I think it's intended to be stable, only
the documentation is bad.

NB: I have not checked that the arch linux and freebsd packages for the new
deps, that Propellor.Bootstrap lists, are the right names or even exist.

Since propellor depends on hashable, it could be changed to use
unordered-containers, rather than containers, which would be faster and
perhaps less deps too.

This commit was sponsored by Alexander Thompson on Patreon.
</content>
</entry>
<entry>
<title>copy git configuration into chroot</title>
<updated>2017-04-10T15:12:17Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-04-10T15:12:17Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=03950541b77405b8822dd2cadb47bc249a2bb5d3'/>
<id>urn:sha1:03950541b77405b8822dd2cadb47bc249a2bb5d3</id>
<content type='text'>
</content>
</entry>
</feed>
