[opensuse-factory] ATTENTION lxc users on Tumbleweed: creating a container deletes packages on the host (sic!)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everyone, I hope I am wrong and this is not how it looks. Since I upgrade two of my machines to the new tumbleweed, lxc starts to delete packages on the *host* during creation of openSUSE containers. (sic!). I am digging into it right now, but it seems to be the build call in the lxc-opensuse template:
CLEAN_BUILD=1 BUILD_ARCH="$arch" BUILD_ROOT="$cache/partial-$arch" BUILD_DIST="$cache/partial-$arch-packages/opensuse.conf" PATH="$PATH:/usr/lib/build" /usr/lib/build/init_buil\ dsystem --clean --configdir /usr/lib/build/configs --cachedir $cache/partial-$arch-cache --repository $cache/partial-$arch-packages/var/cache/zypp/packages/repo-oss/suse/$arch --repository $cache/partial-$arch-packages/var/cache/zypp/packages/repo-oss/suse/noarch
- --repository $cache/partial-$arch-packages/var/cache/zypp/packages/update/$arch
--repository $cache/partial-$arch-packages/var/cache/zypp/packages/update/noarch
|| return 1 This outputs the following, and then starts to delete packages on the host. Not in the container. http://susepaste.org/77400215 On one machine it starts by deleting a2ps, on the other (yesterday) it started with Mesa. Can someone please prove me that this is not related to tumbleweed, but is only my fault or a misconfiguration on my machine? (Keeping a list of installed rpms at hand is a very good idea...) Regards, Johannes - -- `Even if I could, I wouldn't. Scars can come in useful. I have one myself above my left knee which is a perfect map of the London Underground.´ (Albus Dumbledore, Harry Potter I) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlRmHbgACgkQzi3gQ/xETbIYEgCfTR/Q4QaY8cXkk2rYkC0pgc8E ZF0AoJb9iyrugerzdFNZSmY5JIzr4l2r =UcMS -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14.11.14 Johannes Kastl wrote:
Since I upgrade two of my machines to the new tumbleweed, lxc starts to delete packages on the *host* during creation of openSUSE containers. (sic!).
I just tested on another machine with a regular 13.1. Works like a charm, nothing changes on the host. Regards, Johannes - -- Give a man fire, and he will be warm for a day, set a man on fire, and he will be warm for the rest of his life. (Terry Pratchett) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlRmIkYACgkQzi3gQ/xETbKpQgCgmREIMo/5v6qtiS9oYUI5BzXd e0IAoJUVVsfUAbbgC2JS2QQeaug5lpEu =ASt/ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14.11.14 Johannes Kastl wrote:
I just tested on another machine with a regular 13.1. Works like a charm, nothing changes on the host.
Differences that I found ################# /usr/lib/build/configs contains three slightly different files: arch.conf sl13.1.conf sl13.2.conf If these are dedicated to 13.1 and 13.2, they should not matter when building a 12.3 container. Don't know what arch is for. I set default.conf to sl12.3.conf on a tumbleweed machine, but I get the same. ################# I'll try and install and older build. Actually I have not tested lxc containers on tumbleweed for a while, all my last container creations where on 13.1. Regards, Johannes - -- `You can do magic! Surely you can sourt out - well - anything!´ Scrimgeour [...] exchanged an incredulous look with Fudge, who really did manage a smile this time as he said kindly, `The trouble is, the other side can do magic too, Prime Minister.´ (Harry Potter 6) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlRmNZgACgkQzi3gQ/xETbLaHgCfbFF3jlhLgZvnwZYkA11scbLN LpEAnRaEXEW7nezZj70wnqL738zPPKCj =Kckm -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 CC'ing Adrian, as this seems to be a build issue (and he is bugowner). On 14.11.14 Johannes Kastl wrote:
I'll try and install and older build. Actually I have not tested lxc containers on tumbleweed for a while, all my last container creations where on 13.1.
Actually, that does the trick. If I install build, that I just linkpac'd from openSUSE:13.1 to my home-project, the script runs without errors. So, what has changed between 20131015 and 20141024, that has an influence on container creation?
zypper se --detail --match-exact build Repository 'openSUSE_Tumbleweed_ojkastl_buildservice' is out-of-date. You can run 'zypper refresh' as root to update it. Loading repository data... Reading installed packages...
S | Name | Type | Version | Arch | Repository
--+-------+------------+----------------+--------+-----------------------------------------
v | build | package | 20141024-184.3 | noarch | openSUSE_Tools_Tumbleweed
v | build | package | 20141024-178.3 | noarch | openSUSE_Tools_Tumbleweed v | build | package | 20141024-1.1 | noarch | openSUSE_Tumbleweed_OSS i | build | package | 20131015-2.1 | noarch | openSUSE_Tumbleweed_ojkastl_buildservice
Here's the build call again (all on one line):
CLEAN_BUILD=1 BUILD_ARCH="$arch" BUILD_ROOT="$cache/partial-$arch" BUILD_DIST="$cache/partial-$arch-packages/opensuse.conf" PATH="$PATH:/usr/lib/build" /usr/lib/build/init_buil\ dsystem --clean --configdir /usr/lib/build/configs --cachedir $cache/partial-$arch-cache --repository $cache/partial-$arch-packages/var/cache/zypp/packages/repo-oss/suse/$arch
- --repository
$cache/partial-$arch-packages/var/cache/zypp/packages/repo-oss/suse/noarch
Regards, Johannes - --
Wise men don't need advice. Fools don't take it. (Benjamin Franklin) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlRmORYACgkQzi3gQ/xETbJbJwCfYzpwoEyFuNIK+gACwsetDQCK 754AnihqkPFWeW9QJZQNmfNIIo+Yl9XD =EjXg -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 14.11.2014 um 16:20 schrieb Johannes Kastl:
Hello everyone,
I hope I am wrong and this is not how it looks.
Since I upgrade two of my machines to the new tumbleweed, lxc starts to delete packages on the *host* during creation of openSUSE containers. (sic!).
I suggest you contribute a script to verify that functionality and we add it to openQA. Any scripting language goes as long as it's self testing. Greetings, Stephan - -- Ma muaß weiterkämpfen, kämpfen bis zum Umfalln, a wenn die ganze Welt an Arsch offen hat, oder grad deswegn. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlRmONcACgkQwFSBhlBjoJYbKgCfU+ApdlOU0P/t6xD33HglBzPN 5y8AnAt0QRflNxeaohVkCI51hrFS9YrH =Pp+f -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14.11.14 Stephan Kulow wrote:
I suggest you contribute a script to verify that functionality and we add it to openQA. Any scripting language goes as long as it's self testing.
If I find time in the next couple of weeks, I surely will try. Any hints on how to start and where to look for examples? Regards, Johannes - -- If you put a large switch in some cave somewhere, with a sign on it saying 'End-of-the-World Switch. PLEASE DO NOT TOUCH', the paint wouldn't even have time to dry. (Terry Pratchett) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlRmOWEACgkQzi3gQ/xETbJruQCeMIGISVlgTTCKTLUcFkHqUs2/ 5BYAn1Yxmt0sZDqphQ4GNGJ6qcAFbyfG =yYi2 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 14.11.2014 um 18:18 schrieb Johannes Kastl:
On 14.11.14 Stephan Kulow wrote:
I suggest you contribute a script to verify that functionality and we add it to openQA. Any scripting language goes as long as it's self testing.
If I find time in the next couple of weeks, I surely will try. Any hints on how to start and where to look for examples?
openqa does several tool tests, e.g. URL=https://github.com/os-autoinst/os-autoinst-distri-opensuse xdg-open $URL/blob/master/tests/console/sshd.pm But there is also the possibility to have e.g. one shell script you can develop on your own machine and we check its exit status on openQA. I don't know lxc well enough to know how to test it. Greetings, Stephan - -- Ma muaß weiterkämpfen, kämpfen bis zum Umfalln, a wenn die ganze Welt an Arsch offen hat, oder grad deswegn. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlRmPokACgkQwFSBhlBjoJbtbgCgy8u2EQt2oexIp7yftLV5gIqr QlcAniDjFsZkxmiWwVp20Vi/DgmpheQ1 =7fjh -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14.11.14 Stephan Kulow wrote:
openqa does several tool tests, e.g.
URL=https://github.com/os-autoinst/os-autoinst-distri-opensuse xdg-open $URL/blob/master/tests/console/sshd.pm
But there is also the possibility to have e.g. one shell script you can develop on your own machine and we check its exit status on openQA.
I don't know lxc well enough to know how to test it.
Thanks coolo, I'll try and do some reading, when I got time... Regards, Johannes - -- I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlRmQLMACgkQzi3gQ/xETbKUXQCgm9JvxGZPVtJp7CWt1wNdoh5+ gE8AoIcVgkQnqPURRT882P7GlHJoarUF =Spii -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14.11.14 Johannes Kastl wrote:
I am digging into it right now, but it seems to be the build call in the lxc-opensuse template:
As stated in my last mail, downgrading build to 20131015 fixes this behaviour, so the template needs a correct build call. I created bug 905638. https://bugzilla.opensuse.org/show_bug.cgi?id=905638 Regards, Johannes - -- Men of quality are not afraid of women for equality. (unknown) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlRnaUcACgkQzi3gQ/xETbIliQCfTM00+9geeVpp0E43b2Y3sulh nbsAnAx0eNxecyuhi6hvg4+Jj80FbZ8r =wW1z -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14.11.2014 Johannes Kastl wrote:
Since I upgrade two of my machines to the new tumbleweed, lxc starts to delete packages on the *host* during creation of openSUSE containers. (sic!).
ping! Fixing the build call should not be a big problem for someone, who knows build, I would guess. Otherwise I'll sr a version that disables build containers on 13.2 on wednesday. Just to avoid users deleting their system... Regards, Johannes - -- `You can do magic! Surely you can sourt out - well - anything!´ Scrimgeour [...] exchanged an incredulous look with Fudge, who really did manage a smile this time as he said kindly, `The trouble is, the other side can do magic too, Prime Minister.´ (Harry Potter 6) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlRqRRIACgkQzi3gQ/xETbIo/QCePwLp2dcEi9D+nvaGOVquTwym buQAoJy4omefCWHREuX2UFXVdbXQqtOO =Cr00 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17.11.2014 Johannes Kastl wrote:
Otherwise I'll sr a version that disables build containers on 13.2 on wednesday. Just to avoid users deleting their system...
I just submitted sr#262272, that checks, if the host is running Tumbleweed or 13.2. If yes, it stops creating the (openSUSE) container. I hope we get the build command fixed soon, but I'll need help with that. Regards, Johannes - -- No need to use Windows -- it's easier to go through the door. (unknown) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlRsVtsACgkQzi3gQ/xETbIYEQCfduLvs5fbFVbQ8VPfPnhm9oTj aPsAnAz7BNTflWPg/ByE3DkwhSliUtrl =ogaY -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Johannes Kastl
-
Stephan Kulow