*** gtristan has quit IRC | 03:04 | |
*** gtristan has joined #baserock | 03:18 | |
*** OdicforceSounds has joined #baserock | 07:02 | |
*** OdicforceSounds has quit IRC | 07:12 | |
*** fay_ has joined #baserock | 07:23 | |
*** rdale has joined #baserock | 07:24 | |
*** toscalix has joined #baserock | 07:33 | |
*** inara` has quit IRC | 07:34 | |
*** inara has joined #baserock | 07:34 | |
*** CTtpollard has quit IRC | 07:59 | |
*** CTtpollard has joined #baserock | 08:03 | |
*** CTtpollard has quit IRC | 09:01 | |
*** CTtpollard has joined #baserock | 09:02 | |
*** tiagogomes has joined #baserock | 09:09 | |
leeming | I am having issues running sandboxlib tests. I am assuming who ever set the tests up had extra configs, e.g. fstab rules. https://gitlab.com/baserock/sandboxlib/builds/4022124 | 10:02 |
---|---|---|
leeming | problem test : https://gitlab.com/baserock/sandboxlib/blob/master/tests/test_all.py#L88 | 10:02 |
leeming | (None, '/proc', 'proc') <-- 'None' is the issue, since mount looks in fstab | 10:03 |
richard_maw | your posted link says it's complaining about the tmpfs in /dev/shm to me | 10:04 |
* leeming double checks | 10:04 | |
richard_maw | ah, I was reading from the end | 10:04 |
leeming | ah sorry, this is the list of tests that fail, all are due to fstab | 10:04 |
richard_maw | yes, both are being mounted incorrectly | 10:04 |
leeming | I was just wondering if i should change the test or not. unsure if i am changing the thing being tested | 10:05 |
leeming | ^ that reads bad | 10:05 |
* richard_maw considers it to be a bug in the sandboxlib implementation | 10:05 | |
richard_maw | you need to provide a dummy source device for tmpfs and proc | 10:05 |
richard_maw | at least with some versions of the mount binary | 10:06 |
leeming | https://gitlab.com/baserock/sandboxlib/blob/master/sandboxlib/chroot.py#L100 | 10:06 |
leeming | that is the impl | 10:06 |
richard_maw | so where it goes `if not is_none(source): argv.append(source)` change it to `argv.append('none' if is_none(source) else source)` | 10:07 |
leeming | does mount take 'none' as an arg? | 10:08 |
richard_maw | yes | 10:08 |
leeming | oh | 10:08 |
richard_maw | I think technically you can get away with any old garbage there, but because it's missing mount is interpreting the mount command as "look for the rest of the options in fstab" | 10:09 |
leeming | right | 10:09 |
richard_maw | the underlying mount syscall ignores the value if the filesystem doesn't take a device | 10:10 |
persia | '-' used to be a popular spelling of "none", when config files were more concise. | 10:12 |
leeming | ok cool, thanks richard_maw that _seems_ to have fixed that test failure | 10:12 |
persia | And I have "swap" "swap" on one machine, suggesting that mount doesn't really care how one spells "none". | 10:13 |
*** locallycompact has joined #baserock | 10:17 | |
*** leeming has quit IRC | 10:23 | |
*** leeming has joined #baserock | 10:38 | |
*** gtristan has quit IRC | 12:22 | |
*** CTtpollard has quit IRC | 12:46 | |
*** CTtpollard has joined #baserock | 12:46 | |
*** anahuelamo_ has quit IRC | 12:48 | |
*** anahuelamo has joined #baserock | 12:48 | |
*** dabukalam_ is now known as dabukalam | 12:48 | |
*** CTtpollard has joined #baserock | 12:49 | |
*** CTtpollard has quit IRC | 12:55 | |
*** CTtpollard has joined #baserock | 12:58 | |
leeming | could someone help explain what the reasoning for this bit of code is : https://gitlab.com/baserock/sandboxlib/blob/master/sandboxlib/chroot.py#L229 | 13:37 |
leeming | not sure if i know what it means when it talks about lazy loading | 13:37 |
leeming | also not py3 safe (unicode-escape exists tho), thus why I am interested in figuring it out | 13:37 |
richard_maw | leeming: encoding to/from different formats is implemented as loading libraries. Python's dynamic nature means it loads libraries the first time they are used. If you chroot the library isn't where it's expected to be, so you need to load the library before you chroot. | 13:38 |
leeming | so... adding in .encode('unicode-escape') if python3, should work here? | 13:41 |
leeming | not that it would return the same types :\ | 13:41 |
leeming | I also do not see any other ref to string-escape in the code | 13:43 |
*** CTtpollard has quit IRC | 14:04 | |
*** CTtpollard has joined #baserock | 14:05 | |
*** toscalix_ has joined #baserock | 14:26 | |
*** toscalix has quit IRC | 14:27 | |
*** toscalix has joined #baserock | 14:53 | |
*** toscalix_ has quit IRC | 14:53 | |
*** toscalix_ has joined #baserock | 14:59 | |
*** toscalix has quit IRC | 15:00 | |
*** gtristan has joined #baserock | 15:31 | |
jjardon | paulsherwood: is there any way to tall ybd to use the morph files even if they are not in the stratum subdirectory? | 15:33 |
paulsherwood | jjardon: it uses all morph files? | 16:03 |
paulsherwood | it just parses all subdirs of definitions | 16:03 |
*** CTtpollard has quit IRC | 16:04 | |
*** CTtpollard has joined #baserock | 16:04 | |
jjardon | paulsherwood: Im seeing warnings like: "WARNING: ignoring strata/core/libexpat.morph" (libexpat is defined in strata/autotools.morph) | 16:07 |
paulsherwood | jjardon: can you point me to a log? | 16:08 |
* paulsherwood notes this is one of the few comments in ybd 'morph file exists, but is not mentioned in stratum so we ignore it' | 16:10 | |
*** fay_ has quit IRC | 16:11 | |
locallycompact | why does it need to search for anything it need not evaluate | 16:12 |
paulsherwood | locallycompact: we've been through this before :) | 16:13 |
locallycompact | have we | 16:13 |
paulsherwood | ybd allows user to specify foo, without path. | 16:13 |
locallycompact | you'll have to address that for this spec change | 16:14 |
paulsherwood | there are other benefits, also - it can help to avoid things rotting | 16:14 |
paulsherwood | which spec change is that? | 16:14 |
locallycompact | the one we discussed | 16:15 |
locallycompact | exchangable strata | 16:15 |
locallycompact | can't expect unique names and have that | 16:15 |
paulsherwood | locallycompact: link or it didn't happen :) | 16:15 |
richard_maw | paulsherwood: he has a witness | 16:16 |
paulsherwood | i'm not saying we didn't discuss things, but i'd prefer that everything was written down and shared.... wouldn't you, richard_maw ? | 16:16 |
locallycompact | I'm getting there | 16:17 |
richard_maw | paulsherwood: I would, but "link or it didn't happen" is more dismissive in tone than that. | 16:17 |
pedroalvarez | open discussions! | 16:17 |
* pedroalvarez runs, in the open | 16:18 | |
paulsherwood | richard_maw: i used a smiley. | 16:18 |
locallycompact | did in fact smiley | 16:18 |
pedroalvarez | hahah | 16:18 |
pedroalvarez | crap, that was how we could have finished morph, by renaming it to "morph :)" | 16:18 |
* paulsherwood is pleased that folks are interested to avoid dismissive tones, though | 16:18 | |
paulsherwood | pedroalvarez: no, we couldn't :) | 16:19 |
paulsherwood | if smileys were enough to get software finished, i'd use them much more often | 16:19 |
* locallycompact hopes to finish the strawman before starting the list discussion | 16:22 | |
locallycompact | If anybody then is prepared to genuinely tell me it's "more complicated" than any python thing I will literally eat a car. | 16:22 |
pedroalvarez | hahah | 16:23 |
pedroalvarez | why isn't it finished yet? | 16:24 |
paulsherwood | locallycompact: "Don't worry about people stealing an idea. If it's original, you will have to ram it down their throats" | 16:24 |
locallycompact | bits of it are | 16:24 |
pedroalvarez | right, I'll start looking for a swallowable car :) | 16:24 |
locallycompact | https://crates.io/crates/morph https://crates.io/crates/tremor | 16:25 |
paulsherwood | locallycompact: seriously, if you keep calling this morph, i'm going to downvote it with extreme force. | 16:25 |
pedroalvarez | add smiley face! | 16:25 |
locallycompact | smiley face | 16:26 |
pedroalvarez | smileyrock | 16:26 |
* locallycompact polls for a better name | 16:26 | |
pedroalvarez | ropsf | 16:27 |
pedroalvarez | rust-only-parsing-smiley-face | 16:27 |
* pedroalvarez goes back to work | 16:28 | |
paulsherwood | :) | 16:28 |
richard_maw | make an acronym from deterministic, sandboxed, build and deploy | 16:28 |
perryl | too confusable with bsd, i'd imagine? | 16:29 |
richard_maw | replace sandboxed with isolated or contained? | 16:29 |
locallycompact | sandcastle | 16:30 |
* paulsherwood notices the english words bad, badass, and bastard... but decides not to suggest them | 16:30 | |
*** edcragg has joined #baserock | 16:30 | |
* richard_maw likes sandcastle, but it might be too close to sandstorm.io | 16:30 | |
pedroalvarez | rocky | 16:32 |
locallycompact | impossible to google | 16:32 |
pedroalvarez | rusty | 16:32 |
paulsherwood | i tried brock initially, but folks pushed back | 16:33 |
pedroalvarez | reminds me of a pokemon trainer.. | 16:33 |
locallycompact | because all you will get is pokemon wikis | 16:33 |
* paulsherwood is sure the rust community would get annoyed at 'rusty' | 16:33 | |
* rjek scans the backlog to see if "morph 2" has been suggested yet | 16:34 | |
* paulsherwood sets rjek on fire | 16:34 | |
pedroalvarez | heh, I believe he is already on fire | 16:34 |
paulsherwood | in a nice way, with a smiley :) | 16:34 |
rjek | Sorry, I forgot the smiley | 16:34 |
pedroalvarez | lol | 16:34 |
tiagogomes | hprom | 16:35 |
rjek | OK, you don't like that. | 16:35 |
rjek | morph 3? | 16:35 |
rjek | :) | 16:35 |
paulsherwood | rjek: all is forgiven. btw, do you have any more lyrics... i'm stuck so far on 'set it all on fire. throw it in the sea' | 16:35 |
rjek | That would extinguish the fire, which seems like a mistake. | 16:35 |
leeming | what about Megazord? powerrangers morph into that | 16:35 |
paulsherwood | lol | 16:35 |
* pedroalvarez claps | 16:35 | |
leeming | sorry, :) | 16:35 |
* SotK expects trademark issues | 16:36 | |
*** jonathanmaw has joined #baserock | 16:36 | |
paulsherwood | chas was suggested previously | 16:36 |
pedroalvarez | heh, the main character of power rangers was Jason Lee, but instructions are in yaml | 16:36 |
perryl | that makes me think of chas and dave | 16:36 |
* paulsherwood too | 16:37 | |
rjek | paulsherwood: I think I suggested renaming ybd to chas | 16:37 |
* locallycompact returns to work on the build-o-tron-matic 3K | 16:38 | |
perryl | locallycompact: buildy mcbuildtool | 16:38 |
pedroalvarez | sembler | 16:38 |
paulsherwood | i'm ok with it, but folks are more critical about the ybd code than the name, afaict | 16:38 |
paulsherwood | pedroalvarez: sounds like an x-men character | 16:38 |
leeming | +1 for buildy mcbuildtool | 16:39 |
pedroalvarez | x-sembler | 16:39 |
paulsherwood | pedroalvarez: that's one of the thousand x-depenencies already, surely? | 16:39 |
rjek | Call it bikeshed | 16:39 |
rjek | If bikeshed is too long to type, shorten to bs | 16:40 |
leeming | OpenBS! | 16:40 |
*** tiagogomes has quit IRC | 16:41 | |
pedroalvarez | let's call it locallycompact, his creator and only user :P | 16:42 |
locallycompact | that name is reserved | 16:42 |
rjek | regionallysqueezed | 16:43 |
locallycompact | grrrr | 16:43 |
locallycompact | smileyface | 16:43 |
rjek | [17:42:50] <locallycompact> that name is reserved :) | 16:43 |
rjek | fixed it for you | 16:43 |
locallycompact | grrr :) | 16:44 |
* rjek goes to dinner and will enjoy discovering what colour you've painted it when he gets back | 16:44 | |
leeming | octarine | 16:44 |
*** jonathanmaw has quit IRC | 17:06 | |
*** locallycompact has quit IRC | 17:45 | |
*** toscalix_ has quit IRC | 18:13 | |
*** gtristan has quit IRC | 19:46 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!