*** petefoth has joined #baserock | 07:28 | |
*** zoli__ has joined #baserock | 08:02 | |
*** sherm_ has joined #baserock | 08:43 | |
*** rdale_ has joined #baserock | 08:43 | |
*** mariaderidder has joined #baserock | 08:48 | |
*** sambishop has joined #baserock | 08:53 | |
*** zoli__ has quit IRC | 09:03 | |
*** zoli__ has joined #baserock | 09:03 | |
*** bashrc has joined #baserock | 09:07 | |
*** jonathanmaw has joined #baserock | 09:18 | |
*** tlsa_ is now known as tlsa | 09:29 | |
*** tlsa_ has joined #baserock | 09:31 | |
*** tlsa has quit IRC | 09:33 | |
*** tlsa_ is now known as tlsa | 09:33 | |
pedroalvarez | Hi baserockers! I've been researching about how to "kill" /[s]bin /lib[64] (https://storyboard.baserock.org/#!/story/11) And I've found that if a chunk is being unpacked in the staging area, the chunk things in /bin , and the staging area has already a symlink from /bin to /usr/bin. then unpacking will success and things in /bin will go to /usr/bin. | 09:38 |
---|---|---|
pedroalvarez | This behaviour makes me wonder if it's enough with modifying build-essential.morph to make it produce the symlinks to /usr, or we want to fix all the chunks that are using the non /usr dirs | 09:39 |
*** gary_perkins has joined #baserock | 09:39 | |
pedroalvarez | The former will work with our current staging area construction, but maybe not if we change it | 09:40 |
tlsa | are there many chunks that use the non /usr locations? | 09:41 |
pedroalvarez | in a devel system not too many. around 7, but some of them don't support installing to /usr in their scripts | 09:43 |
*** CTtpollard has joined #baserock | 09:44 | |
*** edcragg has joined #baserock | 09:54 | |
*** ssam2 has joined #baserock | 10:00 | |
*** ChanServ sets mode: +v ssam2 | 10:00 | |
richard_maw | we should make /bin, /sbin, /lib, /lib32 and /lib64 symlinks to their /usr equivalents, since some stuff in systemd works better, such as ProtectSystem | 10:08 |
richard_maw | ProtectSystem makes /usr read-only, but has no provisions for /bin, /sbin etc by default | 10:08 |
ssam2 | we should do that indeed | 10:08 |
ssam2 | we could remove some hacks to override busybox versions of the tools, as well | 10:08 |
richard_maw | so we'd either have to move everything to /usr, or patch systemd's ProtectSystem to protect more directories by default | 10:09 |
*** paulwaters_ has quit IRC | 10:09 | |
richard_maw | there's also the ephemeral containers stuff, which can work by bind-mounting /usr read-only into a tmpfs | 10:09 |
radiofree | fedora uses symlinks | 10:16 |
pedroalvarez | and so I did in my WIP branch | 10:16 |
*** paulwaters_ has joined #baserock | 10:23 | |
*** Krin has joined #baserock | 10:26 | |
*** paulwaters_ has quit IRC | 10:27 | |
*** paulw has joined #baserock | 10:27 | |
richard_maw | symlinks is the most sane approach | 10:27 |
pedroalvarez | as a side note: don't ever ever link to /usr/bin from /bin in stage2 chunks | 10:28 |
richard_maw | systemd will probably make ths symlinks for you these days if you don't have them, but we need them to be available at build time for various compatibility reasons | 10:28 |
radiofree | ssam2: pedroalvarez: i'm going to hold off on that revert commit, it at least seems to build on armv8... | 10:47 |
pedroalvarez | radiofree: okay | 10:48 |
*** jonathanmaw has quit IRC | 11:04 | |
*** jonathanmaw has joined #baserock | 11:19 | |
*** CTtpollard has quit IRC | 11:33 | |
*** CTtpollard has joined #baserock | 11:36 | |
radiofree | "ERROR: The ssh-rsync write is for upgrading existing remote Baserock machines. It cannot be used for an initial deployment." | 11:52 |
radiofree | oop | 11:52 |
radiofree | s | 11:52 |
radiofree | hm | 11:52 |
radiofree | s/hm/nm | 11:52 |
ssam2 | use 'morph upgrade' not 'morph deploy' for that | 11:57 |
radiofree | yep! | 11:57 |
pedroalvarez | I'm mounting a rawdisk image, putting a file inside, booting the image, and not seeing the file. I'm mounting againg the image, and the file is there. What am I missing? | 12:08 |
ssam2 | sync ? | 12:10 |
ssam2 | not sure | 12:10 |
radiofree | pedroalvarez: where did you put the file | 12:19 |
radiofree | sync is also a good idea | 12:19 |
pedroalvarez | radiofree: root folder of the run subvolume of the factory system | 12:19 |
radiofree | pedroalvarez: and that's the only one on there? | 12:20 |
pedroalvarez | yeah :) | 12:21 |
pedroalvarez | Sam pointed me to the possible cause: different versions of btrfs in the host I'm mounting the image to inject the file, and in baserock | 12:22 |
radiofree | :/ | 12:22 |
pedroalvarez | hold on, the file is there, but it wasn't showing up in /root | 12:23 |
pedroalvarez | but it is when I mount the /dev/sda disk and look inside | 12:23 |
pedroalvarez | ok | 12:24 |
pedroalvarez | everything is ok | 12:24 |
pedroalvarez | \/mount is a state folder, baserock mounts the state/root subvolume in /root. That's why I wasn't seeing the file | 12:27 |
*** wschaller has joined #baserock | 12:40 | |
radiofree | ok, found the problem | 13:00 |
radiofree | new m4 checks for a .git folder, if found, it enables all the gcc warnings | 13:01 |
radiofree | the default for a release/tarball should be --disable-gcc-warnings, will resubmit soon | 13:01 |
pedroalvarez | radiofree: great! | 13:02 |
tlsa | if I have a chunk in two stratum (xserver in x-xorg and x-wayland) should the chunk have different names in each, or the same name? | 13:53 |
*** mariaderidder has quit IRC | 13:53 | |
*** mariaderidder has joined #baserock | 13:54 | |
ssam2 | tlsa: different names in each | 13:54 |
tlsa | ok | 13:55 |
ssam2 | use @, e.g. xserver@x11 and xserver@wayland | 13:55 |
tlsa | right | 13:55 |
* tlsa is a bit unsure of the graphics stack stuff. Could all the stuff like the various fonts related chunks be moved out of x-wayland/x-org (previously x-generic) and into x-common? | 13:57 | |
tlsa | does anything in the build-depends: of another chunk in the statum need to have the @... | 14:00 |
tlsa | ? | 14:00 |
franred | I put back the patch which creates an openstack bsp but I think we should add the following patch http://paste.baserock.org/cuyixoseye, could someone do a fast review to it? | 14:02 |
CTtpollard | hi following this http://wiki.baserock.org/guides/deploy-trove-to-openstack/ , in the config.sh where <your public key here> do you place your ssh key as a single string, and without or without the <> ? | 14:19 |
pedroalvarez | CTtpollard: yup | 14:21 |
pedroalvarez | CTtpollard: if you are wondering why I'm not answering your second question. I really answered it :) | 14:21 |
CTtpollard | erm | 14:22 |
CTtpollard | ok | 14:22 |
CTtpollard | *with or without | 14:22 |
pedroalvarez | without I believe | 14:23 |
pedroalvarez | CTtpollard: yes, without | 14:24 |
CTtpollard | ty pedroalvarez | 14:33 |
ssam2 | tlsa: yes, @ is part of the name so it'll need to be there | 14:37 |
tlsa | ok, so @ is convention, not something meaningful to morph | 14:37 |
ssam2 | yeah | 14:37 |
ssam2 | re. fonts, probably makes sense to put them into x-common... would be good to ask jjardon when he's around, he's most active in this area | 14:37 |
tlsa | I'd just made an x-fonts for those chunks, but I seem to have introduced a deps cycle (well, its hissting recursion limit jumping between get_cache_id and _calculate, and I guess that's what's happened) | 14:39 |
tlsa | hissting = hitting | 14:40 |
ssam2 | yeah, that means a dep cycle, nobody added a nice handler for that yet | 14:42 |
tlsa | don't think I can move the fonts stuff to x-common without making x-common depend on graphics-common which is where freetype is | 14:42 |
tlsa | although graphics-common depends on x-common, so maybe the x fonts stuff can go there | 14:43 |
tlsa | it's all a bit difficult to keep track of | 14:43 |
rdale_ | i've lost track of what is going on with xserver support too | 14:44 |
tlsa | atm all the systems which used xserver without wayland are broken | 14:44 |
rdale_ | yes | 14:45 |
*** zoli__ has quit IRC | 14:47 | |
ssam2 | tlsa: is it caused by http://listmaster.pepperfish.net/pipermail/baserock-dev-baserock.org/2015-January/010960.html ? | 14:52 |
ssam2 | and would reverting that patch fix it? | 14:52 |
ssam2 | or is it more complex ? | 14:52 |
tlsa | ssam2: possibly, i'd need to test. I was trying to make separate x-wayland and x-xorg stratum so that the other stuff that uses them can be as "minimal" as possible though | 14:54 |
ssam2 | that seems a reasonable approach, if it's possible. but the current definitions format can be quite limiting when trying to do stuff like that | 14:59 |
tlsa | yeah, ok | 15:00 |
*** wschaller has quit IRC | 15:05 | |
pedroalvarez | franred: ok, I found the relevant commit for your patch ( http://paste.baserock.org/cuyixoseye ) | 15:07 |
pedroalvarez | http://git.baserock.org/cgi-bin/cgit.cgi/delta/linux.git/commit/?id=8993cf8edf42527119186b558766539243b791a5 | 15:07 |
franred | pedroalvarez, is that a +1 to my patch in our current BSPs? (I think I will have to extend to the rest of BSPs) | 15:10 |
pedroalvarez | franred: is a "I'm not sure that the patch is right" | 15:14 |
franred | pedroalvarez, my patch was related with https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765691 | 15:18 |
mauricemoss_ | I've prepared a fix for the Morph MIPS patch and ran './check' with 27 failed scenarios (Unknown architecture x86_64l in morphology string), are they relevant? http://paste.baserock.org/owufafogas | 15:22 |
*** wschaller has joined #baserock | 15:26 | |
pedroalvarez | mauricemoss_: can I see what you did to detect the endianess? | 15:32 |
pedroalvarez | ISTM that you are also appending 'l' or 'b' for x86 | 15:33 |
mauricemoss_ | pedroalvarez, https://github.com/mossmaurice/morph/commit/711ccad4b10c5f7e6530cc23c82ec47c0a0131bf | 15:34 |
mauricemoss_ | I'll check it | 15:34 |
pedroalvarez | mauricemoss_: odd, that looks ok to me | 15:40 |
*** zoli__ has joined #baserock | 15:43 | |
pedroalvarez | mauricemoss_: so `morph print-architecture` should print x86_64l | 15:43 |
pedroalvarez | (the tests are using that command to get the architecture to generate test systems to build ) | 15:44 |
mauricemoss_ | pedroalvarez, thanks! it prints 'x86_64'. I'll rerun `./check` to be sure, my VM got killed several times when running it. Have to assign more memory first. | 15:47 |
pedroalvarez | mauricemoss_: is this because you are filling /tmp? I believe you can use another folder with more space | 15:48 |
pedroalvarez | IIRC: `TMPDIR=/src/tmp ./check` | 15:48 |
mauricemoss_ | Not only, I remounted /tmp with 10gb, but my qemu had only 2gb ram. | 15:50 |
pedroalvarez | mauricemoss_: then attach a second disk, mount it wherever, and use it in TMPDIR | 15:50 |
pedroalvarez | mauricemoss_: anyway, I'm running the tests for your changes | 15:51 |
mauricemoss_ | ok, ta! | 15:53 |
*** wschaller has quit IRC | 15:54 | |
pedroalvarez | mauricemoss_: they passed | 15:55 |
mauricemoss_ | nice, cheers | 15:56 |
*** wschaller has joined #baserock | 15:59 | |
*** zoli__ has quit IRC | 16:56 | |
*** lachlanmackenzie has joined #baserock | 17:03 | |
*** zoli__ has joined #baserock | 17:12 | |
*** gary_perkins has quit IRC | 17:17 | |
radiofree | http://mason-x86-64.baserock.org is red :\ | 17:19 |
radiofree | Building failed for m4-tarball-misc | 17:21 |
radiofree | as far as i can tell from the log it went ok? | 17:21 |
pedroalvarez | radiofree: yes, you are right, it builds, something else if failing | 17:21 |
ssam2 | disk was full on cache.baserock.org | 17:21 |
ssam2 | i deleted the 10000 oldest artifacts to try and free some space | 17:21 |
radiofree | ah, so it's currently building? | 17:22 |
*** zoli__ has joined #baserock | 17:24 | |
*** rdale_ has quit IRC | 17:25 | |
*** pdar has quit IRC | 17:25 | |
*** DavePage_ has quit IRC | 17:25 | |
*** Zara has quit IRC | 17:25 | |
*** robtaylor has quit IRC | 17:25 | |
pedroalvarez | radiofree: yeah, I guess so, given that it hasn't failed in the last 40 minutes | 17:27 |
radiofree | that's good, i thought i'd broken everything | 17:29 |
*** rdale_ has joined #baserock | 17:31 | |
*** DavePage_ has joined #baserock | 17:31 | |
*** pdar has joined #baserock | 17:31 | |
*** Zara has joined #baserock | 17:31 | |
*** robtaylor has joined #baserock | 17:31 | |
*** zoli__ has quit IRC | 17:32 | |
*** zoli__ has joined #baserock | 17:32 | |
*** jonathanmaw has quit IRC | 17:36 | |
*** zoli__ has quit IRC | 17:40 | |
*** mariaderidder has quit IRC | 17:44 | |
*** ssam2 has quit IRC | 17:44 | |
*** bashrc has quit IRC | 17:52 | |
*** rdale_ has quit IRC | 18:03 | |
*** sherm_ has quit IRC | 18:10 | |
*** Krin has quit IRC | 18:10 | |
*** edcragg has quit IRC | 18:16 | |
*** lachlanmackenzie has quit IRC | 18:18 | |
*** wschaller has quit IRC | 18:37 | |
*** zoli__ has joined #baserock | 18:56 | |
*** zoli__ has quit IRC | 22:46 | |
*** zoli__ has joined #baserock | 22:46 | |
*** zoli__ has joined #baserock | 22:47 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!