Skip to content

Instantly share code, notes, and snippets.

View guilhem's full-sized avatar
Ohai!

Guilhem Lettron guilhem

Ohai!
View GitHub Profile
[..]
[598294.583175] type=1400 audit(1323959419.654:215): apparmor="DENIED" operation="open" parent=8337 profile="/usr/lib/libvirt/virt-aa-helper" name="/data/vm/drives/17a2a2ac-2521-11e1-87f6-00259052a9b2/vm-137-disk-1.raw" pid=8815 comm="virt-aa-helper" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[598294.815450] type=1400 audit(1323959419.890:216): apparmor="STATUS" operation="profile_load" name="libvirt-17a2a2ac-2521-11e1-87f6-00259052a9b2" pid=8816 comm="apparmor_parser"
[598295.239032] device vnet2 entered promiscuous mode
[598295.241070] brVpnVm: port 3(vnet2) entering forwarding state
[598295.241074] brVpnVm: port 3(vnet2) entering forwarding state
[598295.244447] device vnet3 entered promiscuous mode
[598295.246645] brVpnVm: port 4(vnet3) entering forwarding state
[598295.246650] brVpnVm: port 4(vnet3) entering forwarding state
[598295.461507] brVpnVm: port 3(vnet2) entering forwarding state
@guilhem
guilhem / gist:1443804
Created December 7, 2011 17:50
bug with disconnect
2011-12-07 18:41:36.758 Cappuccino [trace]: <iq xmlns='jabber:client' from='admin@************' to='admin@*****************/ArchipelController' id='3535' type='result'/>
4Unsafe JavaScript attempt to access frame with URL http://app.archipelproject.org/ from frame with URL http://welcome.archipelproject.org/?lang=en. Domains, protocols and ports must match.
Objective-J.js:3532011-12-07 18:41:57.810 Cappuccino [info]: avatars.plist recovered
POST http://****************:5280/http-bind 404 (Not Found)
Objective-J.js:3532011-12-07 18:41:57.938 Cappuccino [info]: XMPP is disconnecting
Objective-J.js:3532011-12-07 18:41:57.940 Cappuccino [info]: disconnecting...
Objective-J.js:3532011-12-07 18:41:57.952 Cappuccino [info]: XMPP connection is now disconnected
Objective-J.js:3532011-12-07 18:41:57.954 Cappuccino [info]: Successfuly disconnected.
@guilhem
guilhem / patch.diff
Created July 26, 2011 13:59
Big patch to plugin imp
diff -urB -x .svn branches/forge/trunk//hook.php trunk//hook.php
--- branches/forge/trunk//hook.php 2011-07-07 10:41:20.765282080 +0200
+++ trunk//hook.php 2011-07-07 10:41:20.755282080 +0200
@@ -58,7 +58,10 @@
"`update_computer_type` bool NOT NULL DEFAULT 1, ".
"`update_software_name` bool NOT NULL DEFAULT 1, ".
"`update_software_category` bool NOT NULL DEFAULT 1, ".
- " PRIMARY KEY (`ID`)) ENGINE=MyISAM DEFAULT CHARSET=utf8";
+ "`flat_entities` bool NOT NULL DEFAULT 0, ".
+ "`recursive` bool NOT NULL DEFAULT 1, ".
@guilhem
guilhem / patch.diff
Created July 26, 2011 13:52
Patch dumpentity to specify entity
diff -urB -x .svn branches/upstream/branches/1.1-bugfixes//front/plugin_dumpentity.getcsv.php trunk//front/plugin_dumpentity.getcsv.php
--- branches/upstream/branches/1.1-bugfixes//front/plugin_dumpentity.getcsv.php 2011-07-12 18:28:18.318642139 +0200
+++ trunk//front/plugin_dumpentity.getcsv.php 2011-07-05 18:07:35.000000000 +0200
@@ -57,6 +57,10 @@
$table="";
}
+if (isset($_GET["entity"])) {
+ $entity = $_GET["entity"];
+}