harlowja | smoser btw, it seems like some parts of openstack are moving away from httpretty to https://pypi.python.org/pypi/httmock/ | 00:04 |
---|---|---|
* harlowja might have to dig into why to see if cloud-init should or shouldn't | 00:05 | |
=== praneshp_ is now known as praneshp | ||
=== evilissimo|afk is now known as evilissimo | ||
=== harlowja is now known as harlowja_away | ||
harmw | mwhudson: I think I have time for aarch64 (or whatever the correct name is) somewhere in and/or after the weekend | 08:21 |
mwhudson | harmw: yay | 08:21 |
mwhudson | i am on leave for a week so no real hurry:) | 08:21 |
harmw | oh lol | 08:21 |
harmw | you've got the original arm image working btw? | 08:21 |
mwhudson | haven't tried | 08:22 |
harmw | what kind of hardware do you run anyway, since it's aarm64 (which isn't widespread in the embedded/small world just yet)? | 08:23 |
mwhudson | i keep poking people about things and then forgetting that i'm away next week | 08:23 |
harmw | seamicro stuff? | 08:23 |
harmw | :P | 08:23 |
mwhudson | harmw: i work for canonical / linaro so have access to preprod stuff | 08:26 |
harmw | how nice | 08:28 |
harmw | :) | 08:28 |
mwhudson | yeah it's kinda fun | 08:30 |
mwhudson | can't really talk about it though, which is a bit annoying :) | 08:30 |
harmw | haha np | 08:30 |
=== evilissimo is now known as evilissimo|afk | ||
smoser | harlowja, i do not understand something | 21:18 |
smoser | (big surprise) | 21:18 |
harlowja | ? | 21:18 |
harlowja | let me help you child | 21:19 |
harlowja | how may i help u child | 21:19 |
harlowja | j/k | 21:19 |
smoser | http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/794/cloudinit/util.py#L148 | 21:19 |
smoser | if stat.ST_MODE in stats | 21:19 |
harlowja | k | 21:19 |
harlowja | ^ u just not want that statement? | 21:20 |
smoser | what is it for? | 21:20 |
smoser | it doesn't seem tomake sense. | 21:21 |
smoser | stat.ST_MODE is 0 | 21:21 |
smoser | (a constant) | 21:21 |
smoser | why would you say: | 21:21 |
smoser | if 0 in os.stat("/etc/passwd") | 21:21 |
smoser | what would that even mean? | 21:21 |
harlowja | agreed, wonder why i did that | 21:22 |
smoser | ok. thanks. | 21:22 |
smoser | that test was failing in sbuild | 21:23 |
smoser | where /etc/hosts didn't exist | 21:23 |
smoser | so i was making a temp file | 21:23 |
smoser | and then the tem pfile for whatever reason did not have a '0' in os.stat() | 21:23 |
harlowja | ya, seems like just do stats[stat.ST_MODE] | 21:23 |
smoser | yeah, i think that is what youmeant | 21:23 |
harlowja | must of been smoking crack when doing that | 21:23 |
smoser | but dont even know what that would do | 21:23 |
harlowja | ya, odd | 21:23 |
smoser | i have to run. | 21:23 |
harlowja | all the cracks fault | 21:23 |
smoser | for now i will just take that code out | 21:24 |
smoser | later | 21:24 |
harlowja | kk | 21:24 |
smoser | harlowja, can you verify the os.path.realpath and os.path.expanduser seem odd at http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/util.py#L148 | 23:25 |
harlowja | don't seem so odd if u want the actual path? | 23:26 |
smoser | but why didn't they give you the actual path in the first place. | 23:29 |
smoser | what if they explicitly gave you a path with a '~' in it that should not have been expanded. | 23:30 |
smoser | i guess if you need the full path it makes sense. | 23:30 |
smoser | but the expanduser seems like it could false positive | 23:30 |
smoser | harlowja, http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/revision/987 | 23:47 |
smoser | thanks for your help. | 23:47 |
harlowja | smoser ya, likely could just remove expanduser | 23:48 |
harlowja | smoser cool, selinux will i guess work better now | 23:49 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!