[01:03] I want to make an application run on startup [01:03] however, I want it to run as a user. === n0ts_off is now known as n0ts [01:11] bikcmp, add it to contrab [01:11] crontab [01:11] patdk-lap: i've already gotten it from a kind man in #ubuntu [01:12] patdk-lap: i ended up going the /etc/rc.local route [01:12] about to test it. === n0ts is now known as n0ts_off === jorge is now known as jcastro === mchamplain_alt is now known as mchamplain [02:46] New bug: #1044229 in maas "DHCP config doesn't get written unless an inhuman combination of scripts is run" [Undecided,New] https://launchpad.net/bugs/1044229 === Ursinha` is now known as Ursinha === Ursinha is now known as Guest70417 [03:22] If I wanted to make a Shell Server where people can upload only a specific file type, (.dmb and .rsc) how would I go about doing so? They can also run, 'DreamDaemon "world.dmb" ' which will be a command to be ran. It basically runs the .dmb file and it opens the world so others can join. Is there any way I can do this? [03:30] for something that specific, your best option is writing up a web interface to do it [03:30] restricting shell access to something so narrow will be very difficult === n0ts_off is now known as n0ts === Guest70417 is now known as Ursinha === Ursinha is now known as Guest78022 [03:59] Agh. I already tried writing up one. I got stuck. I know basic php, html, a bit of shell, and some programming languages. [04:00] What if I didn't have to restrict the file type? I can worry about that part later. [04:02] I am back. === n0ts is now known as n0ts_off === n0ts_off is now known as n0ts === n0ts is now known as n0ts_off === n0ts_off is now known as n0ts === n0ts is now known as n0ts_off [05:38] what is (squid-1) process? including brackets [05:39] i've removed squid3 package but this one was still running and responding on 3128 [05:46] New bug: #1045635 in keystone (main) "python-keystoneclient is missing /usr/bin/keystone " [Undecided,Invalid] https://launchpad.net/bugs/1045635 === n0ts_off is now known as n0ts === n0ts is now known as n0ts_off === n0ts_off is now known as n0ts === n0ts is now known as n0ts_off === n0ts_off is now known as n0ts [07:59] Daviey, I'll pickup that iscsitarget SRU if you like; I'll do it after beta-1 as we really need to merge with Debian in quantal first [08:01] jamespage: rocking! [08:01] Daviey, actually thats not seeded anymore - I'll do it today === n0ts is now known as n0ts_off === smb` is now known as smb === Kiall is now known as zz_Kiall === zz_Kiall is now known as Kiall === cpg is now known as cpg|away [09:10] Hi everyone. Is the vm-builder project dead on 12.04? === n0ts_off is now known as n0ts [09:17] New bug: #992012 in openvpn "No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf" [Undecided,Confirmed] https://launchpad.net/bugs/992012 [09:25] hey guys is there a place where i can get the list of repositories for ubuntu server 12.04 [09:26] what do you mean a list of repositories ? [09:26] a list of default repositories [09:26] what do you mean default repositories ? [09:26] my server is using the DC's local mirrors im trying out an experiment [09:26] in terms of creating my own repo [09:26] so you want the mirror list [09:26] not repositories [09:27] when i say repositories i mean like main universe etc [09:28] you have those in your install [09:28] sorry, I'm not understanding what you actually want [09:28] sorry for the confusion i just figured it out :( === mcclurmc_away is now known as mcclurmc [09:30] did you mean something like this http://ubuntu.virginmedia.com/archive/dists/precise/ [09:30] ? [09:35] or this? http://repogen.simplylinux.ch/ [09:36] is there anyone doing automated virtual machines creation? [09:37] ikonia: ya thats it [09:38] Hi everyone, i'm working on an ubuntu-server image on my Pandaboard - :) - and i'm trying to connect a GPS / RFID / GPRS to my system; the problem is that in a normal ubuntu environment theses devices are attached on /dev/ttyUSB* ( for GPS and GPRS) and /dev/ttyACM* ( for RFID) but on my system they are plugged on /dev/usbdev*.** === n0ts is now known as n0ts_off [09:38] normally it's a usbserial driver issues [09:38] anyone has an idea? [09:40] i found some tutos that show how to enable usbserial for devices using their idProduct / Vendor : but i need this to be natively done by the system , regardless the GPS i'm connecting === n0ts_off is now known as n0ts [09:41] thierry, sounds like something udev can help you with [09:41] (if it s just a matter of giving the device the name you want) [09:42] melmoth: it's not just the name [09:43] with cutecom when the device is plugged on /dev/ttyISB i can open it , but not if it is plugged on /dev/usbdevx.y [09:43] sounds more like something for #ubuntu-kernel [09:44] can someone in here talk to me for a moment about how to make sense of the results sar produces? [09:53] :) ok 'ill try there [10:03] Kingsy, apt-get install ksar :-) [10:04] melmoth: I have it installed, and I am looking at the results of the past 24 hours now. The thing I am asking is how to make sense of the results [10:05] not sure i understand the problem [10:05] melmoth: for example, in "processes" there is a graph plotted with time / proc/s <-- what exactly is proc/s ? it cant be processes I have a peak here at 87.5 proc/s [10:05] that cant mean 87 and a half processes [10:05] sa record some metrics along time, then you can see what those metrics were (i/o , rm used, number of process) later on. [10:06] ksar just show it with picture so it s easier to feel how things chnaged according to time [10:06] number of process created by second i think [10:07] so at a point in the day it created 87.5 processes per second? isnt that impossible? the server should have crashed.. and according to the load average it didnt go above like 2 [10:07] http://linux.die.net/man/1/sar [10:07] melmoth: I guess what I am trying to say is, the results just don't make any sense [10:08] you can create 87 new process per second.. sound slike a fork bomb. [10:08] what is a fork bomb? [10:09] http://en.wikipedia.org/wiki/Fork_bomb [10:09] melmoth: and your right yeah, ot does mean processes created per second, so for arguments sake, I wanted to try and find out WHY it did that.. [10:09] either a malicious fork bomb, or, more likely, some daemon init script that failed to run the daemon, and try again, and again, and again [10:10] melmoth: so, say you were looking at sar, and you spotted that spike, what would you check next in order to find out more about why that happened? [10:10] what does /var/log/syslog says for the date and time this happened ? [10:11] melmoth: that file doesnt exist on our server [10:12] Daviey, really enjoying the iscsitarget rabbit hole - dkms module does not build with 3.5 kernel.... [10:12] you have probably change the syslog configuration so it logs things elsewhere.. [10:12] smb, are you around to pester for help with iscsitarget/linux 3.5 build issues? [10:12] yeah I guess the hosting company did it.. man [10:13] jamespage, I would be again in a bit. You guys seem to sense whenever I am about to leave for lunch [10:14] jamespage, ;) [10:14] smb, lol - give me a ping when you are done then - thanks! [10:14] jamespage, Sure, will do :) [10:21] jamespage: I am jealous! If you want to swap with something cooler, it's all yours. === n0ts is now known as n0ts_off [10:50] Hi all. Is there any alternative to ubuntu-vm-builder? [10:53] spidernik84: python-vm-builder, debootstrap, ubuntu core, cloud images, lxc containers.... [10:54] spidernik84, the cloud image builds switched a while back - lemme see if I can tell you what they use now - I think its livebuilder [11:00] thanks guys :) [11:30] Is there any alternative for ACL? [11:32] Is there any alternative for Access Control Lists ? [11:43] jamespage: does ceph need xml2? [11:45] Daviey, rest-bench uses it - but that should remain in universe [11:45] jamespage: can you make sure it's handled? ta [11:45] (showing in c-m) [11:46] Daviey, how do I make that happen? radosgw was as well but someone promoted it to main - I was expecting it to remain in universe [11:47] jamespage: Why was it promoted ? [11:49] Daviey, no idea [11:49] Daviey, can I tell who promoted it? [11:49] jamespage: no easily. [11:49] not* [11:50] Daviey, MIR has been requested but I think there are to many blockers for quantal IMHO - bug 1017978 [11:50] Launchpad bug 1017978 in libfcgi "[MIR] libfcgi, ceph (radosgw)" [Medium,Fix released] https://launchpad.net/bugs/1017978 [11:53] jamespage: ask in -release, see if anyone knows. [11:53] jamespage, So whats up with scsitarget? :) [11:55] smb, the dkms module is not so happy with the 3.5 kernel [11:55] smb, I've picked a patch from upstream but I had to rework some stuff myself - would you be OK to review? [11:57] jamespage, Yeah that has happened a few times. Yes, I could do. Where would I find your things? [11:58] jamespage, Which place did you pick things from? Just out of interest. The debian package or the svn repo? [11:58] smb, both - I merge in the latest packaging from debian, picked a few patches from upstream to resolve this and other bugs and added one myself! [11:58] I've tested it locally and it appears to work - but specifically this patch needs a review: [11:59] http://paste.ubuntu.com/1185604/ [11:59] ioc_task_link changed in 3.5 to be a void function - so I had to rework its use [11:59] I think I have it right... === gary_poster|away is now known as gary_poster [12:06] jamespage, Hm, not sure. Now you would only conditionally call ioc_taslk_link while before it was always done... Give me a min to think about that [12:07] smb, if you look at that function 3.4 and 3.5 you will see the change in behaviour [12:07] jamespage, right, I was about to do that [12:07] it won't work without a valid ioc context - whereas before the function would just return NULL [12:20] jamespage, Yes, it seems the null check moved away. It seems it used to have another fail point when the refcount was 0. So mostly I guess your version is ok (maybe one could make it more readable by having an else case and do the assignment in the true case). And we hope that current->io_context is only set with a ref-count and always NULL otherwise... [12:21] smb, I guess the "another fail point when the refcount was 0" was the bit that worried me a little [12:24] my internet phewwwwwwwwww [12:24] jamespage, It seems that may be a guarantee... At least from the commit that removed the check: "ioc_task_link() is used to share %current's ioc on clone. If [12:24] %current->io_context is set, %current is guaranteed to have refcount [12:24] on the ioc and, thus, ioc_task_link() can't fail." [12:25] smb, \o/ [12:25] all good then... [12:28] jamespage, Yeah I think that there is hope. Well at least from their point of view. They talk of current in the fork context and iscsitarget code uses something else. [12:32] jamespage, But I guess whenever a task has a pointer to an ioc set there should be a reference (or there is something badly wrong with the usage of refcounting or the pointer) [12:32] smb, I think so [12:52] is there a way from terminal, I can list the 10 largest folders on my system, or folders that have more than 5gb in them includnig sub folders? [13:01] dassouki: yeah look at the man page for find === niemeyer_ is now known as niemeyer === n0ts_off is now known as n0ts [13:18] HI, Guys i want go live session with ubuntu-server cd [13:18] please guide me guys [13:21] dhanasekaran: there's no ubuntu server live cd [13:21] there's the desktop cd, and the server cd, the desktop can go live, the server cd can operate in two modes, install or recovery [13:26] dhanasekaran: if you want a "live" server environment, install "desktop" onto a USB thumbdrive, add server packages [13:26] (I have a system here that is the GUI Desktop but has additional server packages, to act as a dev system [13:26] ) [13:27] TheLordOfTime, i want find mac address for my server, But My server have ubuntu-server cd How to find out mac address [13:27] TheLordOfTime, it's new machine no os [13:27] only have ubuntu-server cd [13:28] ifconfig [13:28] i want deploy os remotely using cobbler tool using mac address [13:28] please guide me. [13:28] boot the system, the pxe bios on the nic will tell you [13:29] or, tcpdump, and watch for dhcp requests from it when you turn it on [13:29] dhanasekaran: you install ubuntu server and then find the MAC address for the NIC [13:30] dhanasekaran: or, you take apart the server and look at the NIC [13:30] it may be written right on it what its MAC is [13:30] (otherwise, you boot to a Desktop live session, run ifconfig -a in the terminal, and find the MAC) [13:30] TheLordOfTime, server it's located remote place [13:32] it's any way find mac address using ubuntu-server cd [13:33] i can login into busybox shell but not getting mac address information [13:33] dhanasekaran: no because the ubuntu server CD is not a live cd [13:33] if its a remote server, it should get an OS before you can truly get any real information [13:36] it's a newly bot machine, there is no remote support hand,only machine power on state, inside ubuntu-server DVD [13:38] If http://pastie.org/4662177 is the output of cat /proc/cpuinfo should I be installing _i386.deb or _amd64.deb packages? [13:38] <_ruben> dhanasekaran: do you have remote kvm access? [13:38] _ruben, yes [13:38] _ruben, How to d it? any help [13:39] Hello. [13:39] <_ruben> then just follow patdk-lap's remark .. just hit the key to have it boot from pxe, and it'll show you the mac address it's using for that, unless it has a really broken pxe rom [13:39] Is there a quick way to get the installed list of packages from one server, into a format that can be used to install all the same packages on another server? [13:40] <_ruben> Gargoyle: there is, but i don't recall it from top of my head. should easy to find using google [13:40] !clone [13:40] To replicate your packages selection on another machine (or restore it if re-installing), you can type « aptitude --display-format '%p' search '?installed!?automatic' > ~/my-packages », move the file "my-packages" to the other machine, and there type « sudo xargs aptitude --schedule-only install < my-packages ; sudo aptitude install » (this currently may cause problems with multiarch) - See also !automate [13:40] <_ruben> right, that one :) [13:41] ahh. I was looking into dpkg options! :) === Guest78022 is now known as Ursinha === Ursinha is now known as Guest61980 [13:51] New bug: #1006966 in cloud-init "maas mirror values are overwritten by cloud-init" [Undecided,New] https://launchpad.net/bugs/1006966 [14:03] I have problem changing network cards' affinity . After changing the smp_affinity , the changes are not applied. There is also bonding interface configured on host. Ubuntu 12.04 LTS. kernel 3.2.0-29-generic === koolhead17 is now known as koolhead17|Away [14:28] _ruben, thanks man. it's showing mac address [14:28] !automate [14:28] Ways to automate installation of Ubuntu on multiple machines are described at https://help.ubuntu.com/10.04/installation-guide/i386/automatic-install.html - See also !cloning [14:29] !cloning [14:29] To replicate your packages selection on another machine (or restore it if re-installing), you can type « aptitude --display-format '%p' search '?installed!?automatic' > ~/my-packages », move the file "my-packages" to the other machine, and there type « sudo xargs aptitude --schedule-only install < my-packages ; sudo aptitude install » (this currently may cause problems with multiarch) - See also !automate === jorge_ is now known as jcastro [14:51] New bug: #1045845 in xorg (main) "12.10 guest crash on login when using 12.04 qemu-kvm with cirrus driver" [Undecided,New] https://launchpad.net/bugs/1045845 [14:54] interesting === dendro-afk is now known as dendrobates [14:55] there is a similar bug of 12.10 guest cirrus driver not playing along with qemu-kvm on 12.10 host. [14:55] and that was thought to be kernel bug in 12.10, because 12.04 guest works fine on qemu-kvm 12.10 host. [15:00] hallyn, around? I'm seeing a weird issue with my iscsi testing setup with libvirt/kvm [15:01] jamespage: i know 0 about iscsi, but shoot [15:01] my test VM's instantly go to paused state when I try to start them [15:01] jamespage: nohting in logs? how about setting debug level to 1 in /etc/libvirt/libvirtd.conf? [15:01] hallyn, well not quite instantly - I get a little output [15:03] hallyn: Did you see my question here: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/997978/comments/86 [15:03] Launchpad bug 997978 in qemu-kvm "KVM images lose connectivity with bridged network" [High,Confirmed] [15:04] * soren notes the time and runs off [15:05] soren: looking [15:07] hallyn, OK - here is a bit more - http://paste.ubuntu.com/1185918/ [15:08] hallyn, looks like this bug 1045027 [15:08] Launchpad bug 1045027 in linux "iPXE kills kvm with KVM: entry failed, hardware error 0x80000021" [Undecided,Confirmed] https://launchpad.net/bugs/1045027 [15:08] hallyn, love it when I managed to answer my own question [15:09] New bug: #1045064 in quantum "Impossible to run Quantum Server from testing packages" [Undecided,New] https://launchpad.net/bugs/1045064 [15:09] anyway that blocks me from testing iscsi root for beta-1 [15:10] soren: great, thanks (commentin gin bug) === medberry is now known as med_ [15:11] jamespage: ah, ok :) i waspuzzling over Dave's bug submission a few mins ago :) [15:13] hallyn, I can reproduce that at will if that helps [15:13] I reverted my kernel and I'm good for testing [15:15] jamespage: marked it critical prio. might comment there that you're ready to test. i'll leave it to kernel team unless they say otherwise === Guest61980 is now known as Ursinha === n0ts is now known as n0ts_off === n0ts_off is now known as n0ts === zaggynl_ is now known as zaggynl === n0ts is now known as n0ts_off [15:41] strange, am in group www-data and /var/www is www-data:www-data with 777 and I can't overwrite files via FTP [15:41] perms denied [15:41] any ideas? [15:42] tash: Don't use ftp! [15:43] well, it's winscp, port 22 [15:43] so, sftp [15:43] still, odd that I can't overwrite files isn't it? [15:43] tash: if it really is 777, then it wouldn't matter what group you were in. [15:43] Anything in the logs? [15:44] What error msg do you get? [15:44] agreed on the 777, checking logs [15:44] this was just dumped on me [15:44] still investigating [15:45] nothing in /var/log/messages or /var/log/syslog, not sure which log to look at [15:45] are the files you're trying to overwrite also owned by www-data ? [15:46] If it's a windows to linux transfer, could be worth checking that if its a case sensitivity issue (eg, the file is uploaded as Index.HTM, but the webserver is serving index.htm) [15:46] shauno: yes [15:47] Gargoyle: it is Windows -> Ubuntu Server, but never had issues before and use WinSCP all the time. [15:47] could it be trying to modify perms after the upload and maybe that is causing the issue? [15:48] could be. You actually need to be the Owner of the file to change it's permissions. [15:48] so if they are owned by www-data, you'll need to make them owned by you:www-data I think. [15:51] yep, that was it [15:51] annoying as hell! :) [15:52] lynxman, OK - I give up - how do I get ipxe to tell me exactly why it won't boot off my iscsi target [15:52] ubuntu installed to it just fine.... [15:54] jamespage: hm... :) [15:54] so, even though perms are 777 on something you can't change perms unless you own the file? That is the lesson learned here right? [15:54] jamespage: afaik it should relate to the network card you have on the server [15:55] jamespage: there's quite a bunch of small bugs about this, we found one with TREllis 6 months ago [15:55] lynxman, I get an Input/Output error message only [15:56] it worked at alpha-3 frustratingly [15:56] jamespage: anywhere I can see a screenshot of those? [15:56] lynxman, not right this moment but it pointed me to http://ipxe.org/err/1d704439 [15:58] jamespage: I'd say the driver got a reply it didn't expect [15:58] jamespage: although ipxe is mostly black magic, I'd contact the mailing list and hope for the best :) [16:01] lynxman, someone beat me to it... [16:01] http://ipxe.org/err/1d704439 [16:01] http://lists.ipxe.org/pipermail/ipxe-devel/2012-September/001796.html [16:01] even [16:01] :-) [16:02] jamespage: so that's a high chance, I don't think our last ipxe update is from before May 16th [16:02] lynxman, feb === matsubara is now known as matsubara-lunch [16:03] jamespage: yeah, so that'd make sense, although *crossing fingers* the package should be easy to update, and if not I'll be willing *steps forward* to update it [16:04] * jamespage tries it [16:37] Daviey: are we too late to upload maas to quantal? [16:43] roaksoax: no, i'd rather it was in there. [16:43] roaksoax: can i see the diff? [16:43] Daviey: ok, I'll upload later today [16:44] Daviey: ok, it will be a veeeeeeeeeeeeery long one :) [16:46] Daviey: http://paste.ubuntu.com/1186109/ [16:56] New bug: #1045923 in ipxe (main) "input/output error on iscsi sanboot from linux tgt" [Undecided,New] https://launchpad.net/bugs/1045923 [16:56] roaksoax: best hold off, actually. [16:57] Daviey: ok [16:57] Daviey: it will keep growing though [16:57] Daviey: right now it has been tested and has everything working but internal DNS/DHCP [17:11] roaksoax: can you comment on what the diff does? [17:11] how does it improve the beta? [17:11] ? === matsubara-lunch is now known as matsubara [17:20] Daviey: will do [17:20] Daviey: i didn't upload anything on friday nor yesterday [17:20] as some issue needed to be fixed [17:20] ii'm just updating to latest branch and testing eeeeeverything again [17:51] New bug: #1045947 in lxc (universe) "lxc-net should not masquarade intra-container traffic" [High,Triaged] https://launchpad.net/bugs/1045947 [18:00] Hi, I am setting up Ubuntu Core in a disk image. Got it to work, but now I would like to have my keyboard working. I installed the package keyboard-configuration, choose my keyboard and thought that would do it, but no. Still english keyboard. I have the right parameters in /etc/default/keyboard. Do I need to set some vars in .bashrc /etc/.profile or someplace? [18:26] Ok, I solved part of the problem by installing console-setup and configure it for UTF-8 and Latin1. Still don't get åäö though :-( === koolhead17|Away is now known as koolhead17 [18:31] New bug: #1045955 in lxc (universe) "lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)" [Undecided,New] https://launchpad.net/bugs/1045955 [18:36] How can you find out what the dependencies are for $PACKAGE? is there an apt option that will do that? [18:40] Hello, I've got a problem with my Ubuntu 10.04 Serversystem. I'm using mdadm (raid 5) and smbd for network shares. After a time the server freezes, only a reset helps. RAM is ok, and FS seems to. I tried to create an archive and this works. Nothing in syslog. Can someone help me? [18:48] Nephelo: cat /proc/mdstat [18:48] Nephelo: and use smartctl -H on all devs in that raid [18:49] Nephelo: and perahsp smartctl -t short for them [18:49] RoyK The raid seems ok. But after a reset the raid starts with resync [18:49] Ok, I'll try smartctl [18:49] Nephelo: if a drive hangs, it may hang the whole system [18:50] RoyK: But I tried to create a big archiv and this works [18:50] (using the comand line) [18:56] roaksoax: Hey, how are you doing with using the squashfs with MAAS? [18:56] Daviey: well haven't really looked at it again yet as I was resolving issues with MAAS itself [18:57] Daviey going to start looking at it again once I finish this package testing [18:58] RoyK: smartctl -H says for all devices that they passed the test [18:58] zul: do you know whats up with the python-quantumclient MIR? hasn't moved in a while but looks like the concerns have been addressed? [18:59] adam_g: no idea....lemme have a look [18:59] roaksoax: ok [19:01] zul: nosexcover is gone and the test suite is enabled. its now a dependency of nova and is blocking nova uploads to Q, which is why i ask. [19:01] yeah lemme bug mterry [19:02] pmatulis: hi, are there freeze dates relating to the server guide for quantal? [19:02] Daviey: do yo want me to attach a diff? [19:02] Daviey: to the FFe bug report? [19:02] Daviey: cause I think I'm ready to upload [19:03] hallyn: hi, i'm lagging behind this cycle for the guide. i need to look into it [19:05] roaksoax: jfdi please [19:06] roaksoax: but please be around if it regresses to resolve [19:06] Daviey: k cool :) [19:08] pmatulis: ok - there are several things in the lxc guide i need to update, but i'm hoping i can put that off a bit further as i chase some elusive bugs elsewhere :) [19:10] Daviey: ok cool. The only "regression" is that dhcp seems to not be writing the config just yet, which leaves it unsuable for now, but that should be addressed very soon [19:10] Daviey: due to the running our own maas dhcp upstart job [19:12] roaksoax: Remember that maas doesn't always run it's own dhcp [19:12] Many scenarios it will not. [19:12] Daviey: yeah I'm much rather concerned on having maas fully supported now with correctly running external dns/dhcp rather than increasing the diff later in the release [19:14] hey all [19:20] Daviey: uploaded \o/ [19:29] System restart required how often do those types of updates happen in server? [19:31] Daviey: let me know when you approve maas please [19:40] roaksoax: done [19:42] Daviey: thanks === cpg|away is now known as cpg [19:54] Hi all, I am attempting to install a Xen domU of Ubuntu Server 12.04 following the directions on the xen wiki @ http://wiki.xen.org/wiki/Ubuntu_10.04_domU, but I can not seem to get a boot loader to install. Does anyone have any troubleshooting tips for tracking the problem down? [19:57] New bug: #1004238 in maas "cobbler sync not called after maas-dhcp configuration" [Low,Confirmed] https://launchpad.net/bugs/1004238 [20:02] New bug: #1005388 in maas (main) "/etc/cron.d/maas-gc has wrong path to maas executable" [Undecided,Fix released] https://launchpad.net/bugs/1005388 [20:12] here are the relevant syslog entries regarding the grub failure: http://paste.ubuntu.com/1186449/ [20:16] hallyn, https://code.launchpad.net/~smoser/ubuntu/quantal/lxc/lp-1045955/+merge/122749 [20:30] smoser: all the whitespace changes mask the meat of it [20:31] you're adding check for auth_key (not mentioned in changelog). but i have no objection to what it claims to change. I assume utlemming is happy with it too? [20:31] smoser: I'm adding some compile fixes right now too. I'll copy in your .patch file if that's ok [20:31] (subject to beta freeze of course) [20:31] New bug: #1045986 in firefox (main) "Ubuntu AppArmor policy is too lenient with shell scripts" [Undecided,Confirmed] https://launchpad.net/bugs/1045986 [20:33] hello. i'd like to run logrotate more frequently than 'daily' - at least on one specific set of logs. [20:33] can i just put */10 * * * * logrotate in my root's crontab, or is there more to it? [20:34] hallyn, the comment about auth_key is correctly in commit messages [20:34] and i really suggest taking the wuite space changes too [20:34] as that file is a mess. [20:35] smoser: pushed to ubuntu:lxc [20:35] smoser: yeah, that file is a mess, cause ppl insist on fighting 'et sw=8 ts=8' common-sense setting :) [20:35] by just copying rather than merging you lose my per-commit commit messages. [20:35] (j/k on whitespace) [20:36] hallyn, if i made invalid or inconsistent white space changes then you should reject it. [20:36] but you really should set some '# vi:' [20:36] does all vi actually honor that? [20:36] as that makes the one true editor "just work" [20:37] ISTM it generally ignores it [20:37] set modeline modelines=3 [20:37] that searches top 3 and bottom the lines [20:38] so it only works when people want it to - in which case they can correctly set it by hand anyway [20:38] maybe those should be default in system-wide vimrc [20:38] but anyway [20:39] bzr merging with multiple quilt patches is not to be trusted. sorry. your commit msgs were lost. [20:39] Daviey: ok so I tried to do the squashfs thing and a few thoughts: [20:39] 1. Installer is being killed due to an apparent lack of memory [20:39] I always keep upstream-directed msgs in DEP-5 tags, and distro-directed in changelog === cpg is now known as cpg|away [20:40] 2. squid-deb-proxy doesn't allow to download the image, so I had to tweak squid0deb-proxy. For our case, I think it might be important to publish it in archive.u.c and download it and find a workaround [20:40] hallyn, but if you're a developer, you want it to. and so you should set that. [20:40] in fact i think i'll copy yours into header [20:40] and then go on with life. [20:41] the reason its not default is [20:41] http://www.vim.org/scripts/script.php?script_id=1876 [20:41] there are been issues at points in the past. [20:41] i think it might be saner now. === koolhead17 is now known as koolhead17|afk [20:42] smoser: are you forwarding that patch to lxc-devel or should i? [20:42] http://lwn.net/Articles/20249/ [20:42] umm... you should :) [20:42] ok [20:42] oh. and sorry i didn't do good patch headers there. [20:43] it would hvae been ok for you to NAk and say that. === cpg|away is now known as cpg [20:51] hallyn, [20:51] have you seen this [20:51] with brfs [20:51] $ sudo lxc-destroy --name precise-amd64 [20:51] rm: skipping `/var/lib/lxc/precise-amd64/rootfs', since it's on a different device [20:51] result is tha ti can't kill that root [20:51] i have to run now. will check in later. [20:51] i thought i had set up for btrfs [20:52] smoser: hm. [20:52] smoser: someone changed the rm -rf to rm -rf --one-file-system --preserve-root $rootdev [20:53] git suggests it was me [20:53] bastard [20:54] we want that safety though, so i think the right answer is to first separately rm -rf --one-filesystem the $rootfs, then the $containerdir [20:54] i'll push a fix [20:55] what is the difference between the /etc/rc.d/init.d/ directory and the /etc/init.d/? [20:56] esuave, well as i understand it the rc.d stuff is by runlevel === cpg is now known as cpg|away [20:56] init.d is all the scripts for startup, regardless of runlevel [20:56] ahh got ya! thanks!! [20:57] smoser: oh. no. that's already fixed in quantal. but not in precise [20:57] if you feel that should be SRU'd, please do open a bug [20:57] esuave, that wasn't a great explanation. this one is much better :) [20:57] http://askubuntu.com/questions/5039/what-is-the-difference-between-etc-init-and-etc-init-d [20:59] as my explanation really applies more to the rcX.d stuff [20:59] ah yes this helps [20:59] thank you [20:59] np [21:15] Hi... is there a way to allow a user to take ownership of folders/files owned by www-data? [21:15] Tellmarch, if you can change the ownership, chown [21:15] if you have to change the permissions without ownership, chmod [21:16] my problem is that there is a user, let's say user1, with a website in his home folder [21:16] however, php scripts create files there, owned by www-data [21:16] user1 is not an administrative account, so normally he can't do the chown (no rights to do so) [21:16] Tellmarch, chmod the files then [21:17] but i'd like to allow him to, without giving him full root access to the server [21:17] so more users/groups can access them [21:17] just chmod the files he needs to access [21:17] files might be created by php in the future, i want him to be able to do it [21:17] or can i change the default permissions for files created by apache? [21:17] cron job? [21:17] hrm, you might be able to [21:18] above my pay grade... i guess it really depends on how the files are created and for what purpose.... but again, i am pretty green with apache. [21:19] basically he has a (heavy) php web application, which can install new modules directly from the web administration page etc. [21:19] which means new files created, owned by www-data instead of user1... [21:20] ah [21:20] yea, i'd say you'll have to ensure the web app is creating the files with the appropriate permissions [21:20] or create a cron job that chmod's the files - not exactly pretty. [21:21] yeah that would be easy enough to do... but if for some security reason he wants some strange permissions on few files, might be dangerous [21:22] though doing chown -R on the root of the website should be fine I guess [21:22] ok, thanks for the hints [21:22] np [21:22] yea, if you limit the chmod to his website directory, it shouldn't be too dangerous [21:23] just dangerous for his site potentially ;) [21:27] one other idea I had was to allow user1 to run chown as www-data, in the sudoers file... But i don't know much about sudoers, so i'm not even sure if it's possible [21:27] I think if I can do that it would be safe, nothing else should be owned by www-data in the server... [21:28] Tellmarch, why not just add his user to the www-data group? [21:28] because the default permissions are 755 :( [21:28] it was my first idea too ^^ [21:28] ah [21:28] heh [21:28] sounds so simple :P === cpg|away is now known as cpg [21:46] New bug: #1024281 in python-glanceclient (main) "Bug during installation. conflicts: python-glanceclient + glance-client" [Undecided,Fix released] https://launchpad.net/bugs/1024281 [21:59] Where do you set the system-wide defaults ala gsettings (previously gconf) in 12.04? [21:59] kyle__, doesn't really apply to the -server platform - does it? [22:00] arrrghhh: No, but mostly it only applies to people running multiple workstations at work, and they tend to hang out more in server. [22:00] kyle__, ok... [22:00] just checking. my server has no gnome ;) [22:01] arrrghhh: Technically, _technically_ I'm dealing with server, as I installed the minimal, then apt-get installed unity-desktop ;) [22:01] i'm sorry. [22:02] arrrghhh: No better way of handling cloud-desktops run off of 'buntu. Using vncserver is _much_ more efficient than running vino or whatever with X running on a virtual video card provided by KVM. [22:02] i just ssh, but i'm only managing a couple of servers. [22:02] arrrghhh: I've got one for nearly every student in the department. [22:02] heh [22:03] my ubuntu usage is a bit more limited than that... === med_ is now known as DaveM_ === DaveM_ is now known as med_ [22:04] arrrghhh: Most of them will use the VM once, and forget about it. But it will be required for some of the classes. And I'm hoping those students go away feeling like this is a great system. Hoping. [22:04] s/will be/is/ [22:04] How much overhead is involved if I install gdb on a server? I've tried cloning the exact same config onto another machine, but I can't get apache to segfault on the test machine. [22:04] hah [22:05] Or can anyone suggest any other method for tracking down a segfault without installing all the gdb stuff on a live server? [22:07] well just installing gbd doesn't change much i think, but you'd have to run apache in gdb i guess? [22:08] ... haven't used gdb since my C programming days, about 10 years ago... [22:09] Tellmarch: I've never used it. But from googling up some docs, I was wondering if I needed to install dev libraries that contain all the debug symbols? [22:09] well I don't think debugging apache on your live server is really what you want to do [22:10] yes, you'd need apache with the debugging symbols too... [22:10] apache logs don't tell you anything of value? [22:10] [notice] child pid 12698 exit signal Segmentation fault (11) [22:11] That's all! [22:11] Sometimes apache carries on, othertimes it locks up and the load balancer deletes it from the pool! [22:11] not very informative :( [22:12] Can I get apache to be a bit more informative? or dump a core or something that might be of use? [22:13] I'm not sure... [22:13] but running apache in gdb means compiling it with the debugging symbols [22:13] quite a bit of work [22:14] CoreDumpDirectory /tmp/apache [22:14] there seems to be an option to get the core dump [22:15] Yeah, at which point the apache you are debugging is no longer the same as the running one! [22:16] I'll see if I can get get something from a core dump. Or perhaps I can get the PID output into access.log too, so at least I can try and track down which part of the web app is crashing it? [22:16] is it a php web app? [22:17] yup [22:17] some people recommend xdebug... [22:18] Ah. Maybe I can get something from that. [22:19] though it's better to use it on a dev environment, not production... [22:20] and if you can't reproduce, that won't help '^^ [22:20] adam_g: Do you have any idea why all of glance's dependencies on its own binaries are so strictly versioned? [22:20] adam_g: It has well and thoroughly painted itself into a corner on my laptop due to this. === dendrobates is now known as dendro-afk [22:32] so anyone manage disk space using a web interface? [22:32] i was looking at dfweb, but i can't seem to get it working. [22:38] soren: looking thru history for the what/when/why now, but i can certainly see issues with attempting to use, say, the wrong python-glance with the server(s) [22:40] looks like its been that way since the beginning? what are you running into exactly? [22:41] soren: ^ [23:51] adam_g: did you get quantumclient seeded?