Merge lp:~niedbalski/uvtool/fixes-lp-1428674 into lp:~uvtool-dev/uvtool/trunk
Proposed by
Jorge Niedbalski
on 2015-03-05
| Status: | Rejected |
|---|---|
| Rejected by: | Robie Basak on 2016-09-15 |
| Proposed branch: | lp:~niedbalski/uvtool/fixes-lp-1428674 |
| Merge into: | lp:~uvtool-dev/uvtool/trunk |
| Diff against target: |
36 lines (+16/-5) 1 file modified
uvtool/libvirt/__init__.py (+16/-5) |
| To merge this branch: | bzr merge lp:~niedbalski/uvtool/fixes-lp-1428674 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Robie Basak | 2015-03-05 | Needs Fixing on 2015-03-16 | |
| uvtool development | 2015-03-05 | Pending | |
|
Review via email:
|
|||
Description of the Change
Proposed fix for #1428674
To post a comment you must log in.
lp:~niedbalski/uvtool/fixes-lp-1428674
updated
on 2015-03-05
- 94. By Jorge Niedbalski on 2015-03-05
-
Fixed file size
| Robie Basak (racb) wrote : | # |
I think this has since been resolved in a different way.
Unmerged revisions
- 94. By Jorge Niedbalski on 2015-03-05
-
Fixed file size
- 93. By Jorge Niedbalski on 2015-03-05
-
[niedbalski, r=] Fixes bugs LP #1428674 and LP #1420142
- Since libvirt v1.2.11 though, libvirt adds --leasefile-ro which stops it
updating the dnsmasq lease file and makes libvirt store the leases itself.
- This patch uses /proc/net/arp as a fallback in case no leasefile exist.

This doesn't fix "uvt-kvm wait", which runs inotify on the default.leases file. Commented in the bug, as I think that we need to discuss the general approach.
A couple of comments on this MP specifically:
Why 1 instead of 0 for the file size? I presume you need it because you added another commit changing it, but I'd like to see a comment in the code explaining why.
1, 2, 3 and 0 as arguments to _filter_mac should be named constants or carry an explanation of what they are some other way.