[00:00] <r4___> yeah same
[00:00] <r4___> especially given that the problem is fixed once i reinstall grub
[00:00] <twb> Because I have *so* many problems with grub, and my booting needs are simple and homogeneous, I usually just install extlinux instead in such cases.
[00:01] <twb> Here are my notes http://paste.debian.net/123429/ (for hardy, but largely unchanged as at lucid)
[00:03] <r4___> hrm
[00:03] <r4___> ill have to give that a good read tomorrow
[00:03] <r4___> cuz this solution will only be acceptable as a temp fix
[00:09] <twb> Shrug.
[00:10] <r4___> ill just have to play around and see if i can find a fix :)
[00:10] <twb> When I put extlinux in production, it just sits there and works.  Such is definitely not my experience with grub, especially grub 2.   :P
[00:10] <hallyn> hggdh: I'm not using it
[00:12] <hggdh> hallyn: thanks
[00:13] <hallyn> thank you :)
[00:20] <adam_g> smoser: around? http://paste.ubuntu.com/647739/
[00:22] <r4___> time to go home!
[02:10] <twb> If anyone cares, I have just updated my extlinux notes to reflect the current (sid/lucid) generation: http://paste.debian.net/123435/
[02:27] <hggdh> Daviey: when you get back... bug 813266, potential blocker for 10.04.3
[02:27] <uvirtbot`> Launchpad bug 813266 in eucalyptus "eucalyptus fails to start instances" [Critical,New] https://launchpad.net/bugs/813266
[03:45] <Guest70950> hello
[03:45] <Guest70950> anyone there?
[03:47] <twb> !ask
[03:49] <Guest70950> How do I get a working flash player for xbuntu. It says there is none compatiable in firefox
[03:49] <twb> !flash
[03:52] <Guest70950> waht is !flash and !gnash
[03:52] <Guest70950> FNG here
[03:53] <twb> Guest70950: /msg ubottu foo
[03:59] <twister004> hi  guys.. how can I access the grub boot screen during bootup?
[04:15] <twb> twister004: hit shift
[04:15] <Datz> that has changed with certain versions, correct?
[04:15] <Datz> used to be escape?
[04:18] <twb> Datz: yes
[04:18] <twb> It's configurable; the default changed
[04:21] <twister004> guys.. i tried shift and esc... it doesn't work
[04:21] <twister004> looks like grub has crashed :(
[04:21] <uvirtbot`> New bug: #813295 in cloud-init (main) "oneiric alpha2 images do not run in eucalyptus" [Undecided,New] https://launchpad.net/bugs/813295
[06:00] <DanaG> Interesting: gave the Broadcom a second chance, and it seems to be fine now.
[06:00] <DanaG> Not CPU-devouring.
[08:09] <Totem-Schalter> anyone know anything about setting up a tftpd server .. im having a hell of a time trying to get it to work.
[08:10] <codec_> jep. whats the problem?
[08:11] <Totem-Schalter> im using tftpd-hpa and its running but i cant access it
[08:11] <Totem-Schalter> i get the error "no file or dir"
[08:13] <Totem-Schalter> i made a folder in "/tftp" and chmod 777 it and i also edited the tftpd-hpa to reflect that dir
[08:13] <Totem-Schalter> im lost
[08:18] <lynxman> morning
[08:19] <lynxman> Totem-Schalter: Setting up tftp is always a bit of a pain, does it generate any logs?
[08:19] <Totem-Schalter> i think so .. i need to look where it puts them
[08:19] <lynxman> Totem-Schalter: that's where I would start, since it won't give you any other clue
[08:21] <Totem-Schalter> there really is not any good documentation on it either "tftpd-hpa
[08:21] <lynxman> Totem-Schalter: unfortunately
[08:25] <Totem-Schalter> yeah no logs .. but i need to check my initd logs .. where is that
[08:26] <Totem-Schalter> to check if port 69 is binding
[08:26] <lynxman> Totem-Schalter: Are you using xinetd or just starting directly?
[08:27] <Totem-Schalter> command "service tftpd-hpa start " works
[08:27] <lynxman> so starting directly
[08:27] <Totem-Schalter> ok
[08:27] <lynxman> check the PID of tftpd then do lsof -p PIDNUM as root
[08:29] <lynxman> Totem-Schalter: that'll show you all the resources the process is using including ports its listening to
[08:29] <lynxman> Totem-Schalter: also another way is to do "netstat -an"
[08:30] <Totem-Schalter> netsat -an i found udp <IP_ADDRESS>:69
[08:30] <lynxman> so... someone is listening :)
[08:30] <Totem-Schalter> lol
[08:31] <uvirtbot`> New bug: #813371 in postfix (main) "package postfix 2.8.2-1ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 75" [Undecided,New] https://launchpad.net/bugs/813371
[08:31] <lynxman> Totem-Schalter: now, the key is finding the logs, since it must be something silly like "can't find dir, can't read file, I'm just a dumb service" or any of the above :)
[08:32] <Totem-Schalter> yeah .. it hased to be a setting in my config file
[08:35] <Totem-Schalter> what can i do with the "ps" command to keep it from scrolling off the screen ?
[08:36] <lynxman> ps | less
[08:36] <lynxman> for example
[08:36] <Totem-Schalter> ok i was doing |grep less
[08:36] <lynxman> that will try to look for the string less in ps output :)
[08:37] <Totem-Schalter> ahh ic
[08:37] <shadowpit> Hello, I've got a problem with my Ubuntu Server 11.04 amd64, can I request for help here or is there a better place to that ?
[08:37] <shadowpit> -to +for
[08:38] <irly> shoot
[08:38] <irly> if someone knowledgeable knows the answer, you probably get one
[08:38] <shadowpit> ok, thanks.
[08:42] <shadowpit> Here is my problem : I updated my server and I now have Linux 2.6.38-10-server (in addition to 2.6.38-8) and, when I try to boot on version "10", I think I have a KP because the screen keeps black and there is no use of the HDD (I can ear it working with version "8"). I'm using GRUB 2. I don't understand what is the problem.
[08:45] <Totem-Schalter> lynxman: hey i finnaly checked with "lsof -p" and i see that it has my file i made "/tftp" listed as type "cwd" is it safe to say that i have set my dir up ok ?
[08:45] <shadowpit> Sorry, I disconnected. ^^'
[08:46] <shadowpit> Is there anyone that can help me with that ?
[08:46] <Totem-Schalter> lynxman: sorry not type but FD cwd
[08:49] <shadowpit> I also looked at /boot/grub/grub.cfg and I didn't saw any diference between the lines for v10 and those for v8 (except for "8">"10" of course).
[08:50] <irly> shadowpit: have you tried booting into recovery mode?
[08:50] <shadowpit> No
[08:52] <shadowpit> OK, I just have tried with this result :
[08:53] <shadowpit> Loading of Linux 2.6.38-10-server...
[08:53] <shadowpit> Loading of ramdisk...
[08:55] <shadowpit> > No use of the HDD (I don't ear it), and it's "frozen", can't do anyting but reboot it by ACPI (nothing happend when hitting "Num Lock")
[08:56] <lynxman> Totem-Schalter: yeah looks like :)
[08:56] <lynxman> Totem-Schalter: sorry I was messing around with some stuff
[08:57] <BuenGenio> hello
[08:57] <BuenGenio> server just came out of a 40 minute long stall
[08:57] <BuenGenio> load average for the last hour was 104!
[08:57] <BuenGenio> don't even know where to start looking
[08:58] <BuenGenio> there are all these stack traces in syslog, that I don't know where they come from
[09:01] <BuenGenio> gone into stall again
[09:01] <BuenGenio> Load average: 95
[09:06] <shadowpit> Another question : can we have no submenus in Grub2 ?
[09:09] <shadowpit> My "v8" kernel is in a submenu of Grub, if I add GRUB_DEFAULT="Ubuntu, Linux 2.6.38-8-server" in /etc/default/grub, this will work ?
[09:09] <irly> shadowpit: sorry, I have no idea what the problem is. feel free to ask again some time later or in a different channel. #linux #grub might help.
[09:09] <irly> or just wait here :)
[09:09] <shadowpit> ok, thank, I will ask on #grub
[09:11] <shadowpit> I can wait here, but I'll have to explain my problem again and again, and I don't want to flood. ;-)
[09:12] <Totem-Schalter> lynxman: well i fixed it and its working now
[09:13] <lynxman> Totem-Schalter: excellent \o/
[09:13] <Totem-Schalter> TFTP_OPTIONS="--create --secure" had to add the --create part
[09:14] <Totem-Schalter> by defalt u cant create new files when tftping
[09:14] <lynxman> Totem-Schalter: yes, that's correct :)
[09:14] <Totem-Schalter> he he ..
[09:14] <Totem-Schalter> cd /
[09:14] <Totem-Schalter> opps
[09:14] <lynxman> Totem-Schalter: I normally just "touch" them and chmod appropriately
[09:15] <Totem-Schalter> well i using the tftp to back up IOS from Cisco router
[09:15] <Totem-Schalter> so il limited on commands
[09:15] <lynxman> Totem-Schalter: that's what I use it for normally, that and Cisco phones
[09:16] <Totem-Schalter> im  a cisco noob going for my CCENT and i was setting it all up with my GNS3 set up to learn
[09:17] <Totem-Schalter> and boy i learned more that i thought
[09:21] <lynxman> Totem-Schalter: it always happens, I used to manage an AS, it was... fun :)
[09:22] <Domoz> hello folks
[09:24] <Domoz> i accidentally rm'ed my /dev/ptyp* and now i am stuck at blank ssh screen after logging in. i can still access to root's sftp though
[09:24] <Domoz> any idea how to fix this?
[09:25] <Domoz> Server refused to allocate pty. stdin: is not a tty
[12:58] <hallyn> kirkland: so are you using tmux now instead of screen?  Apart from shiny and new, what is your motivation?
[12:59] <jMCg> kirkland: it's maintained, I heard.
[13:05] <jMCg> s/kirkland/hallyn/
[13:07] <jMCg> So strange. Different keybindings.. It's like using emacs all of a sudden.
[13:12] <uvirtbot`> New bug: #813494 in mysql-5.1 (main) "package mysql-client-5.1 5.1.54-1ubuntu4 failed to install/upgrade: trying to overwrite '/usr/bin/innochecksum', which is also in package mysql-server 5.0.92-2" [Undecided,New] https://launchpad.net/bugs/813494
[13:15] <kirkland> hallyn: byobu isn't using tmux yet;  but I'm using it quite a bit
[13:16] <kirkland> hallyn: as jMCg says, it's actively maintained
[13:16] <kirkland> hallyn: code is much cleaner, easier to work with;  upstream has already taken a patch of mine (I have a stack of patches against screen that never get applied)
[13:16] <kirkland> hallyn: jMCg: I've created a set of keybindings for tmux that duplicates those in screen and byobu
[13:20] <jMCg> kirkland: care to share?
[13:22] <jMCg> Nice: https://github.com/aziz/tmuxinator
[13:23] <jMCg> I hope I'm not too old to learn a new "wm" :)
[13:31] <hallyn> kirkland: newer.  actively maintained.  how old is the project?
[13:31] <kirkland> hallyn: 2007
[13:31] <hallyn> i figure it takes 2-3 years for the first major, subtle, horrible security design bug to be found
[13:31] <hallyn> hm, ok
[13:31] <kirkland> hallyn: screen -> 1987
[13:31] <hallyn> i trust screen bc it's already had horrible bugs found :)
[13:31] <kirkland> hallyn: tmux has 130 users in IRC right now, screen 70
[13:32] <kirkland> hallyn: lots of bugs unfixed, too
[13:32] <hallyn> right cause noone needs to join irc for screen :)
[13:32] <hallyn> its the same reason i trust IE :)
[13:32] <kirkland> hallyn: awesome
[13:32] <hallyn> all right, i may need to do a tmux code review then
[13:32] <kirkland> hallyn: sweet, that would be awesome
[13:32] <kirkland> hallyn: you'll find it far easier to read than screen's code
[13:37] <CloudAche84> Anyone got experience installing ubuntu to iscsi target with preseed?
[14:02] <uvirtbot`> New bug: #813519 in postfix (main) "package postfix-ldap 2.8.2-1ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127" [Undecided,New] https://launchpad.net/bugs/813519
[14:25] <disposable> 2 of my (lucid) servers have their clocks screwed - one is 20 mins in future, the other 7 mins in the past. I'm trying to slowly adjust the time to correct values without crashing postfix/dovecot/mysql/etc running on them. i've changed ntpd's start parameters to '-g -x' in /etc/default/ntp. how do i check if it's slewing the time now? /var/lib/ntp/ntp.drift has 0.000 in it.
[14:27] <patdk-wk> I believe that is logged
[14:27] <patdk-wk> but really, postfix/mysql won't care
[14:27] <patdk-wk> dovecot will complain, but get over it
[14:28] <patdk-wk> but your apps running on mysql, dunno
[14:29] <disposable> this is what confuses me in the log "ntpd[17683]: frequency initialized 0.000 PPM from /var/lib/ntp/ntp.drift
[14:30] <DanaG> Hmm, tmux... It'd be cool to remake byobu with it.
[14:30] <kirkland> DanaG: in the works
[14:30] <hggdh> dovecot will actually braf if the current time on-clock is in the past
[14:31] <hggdh> disposable: the drift value is dynamically calculated. It can take some hours to get it set.
[14:31] <DanaG> Oh, ever try, within screen, running ssh to somewhere and running screen /dev/ttyS0 there?
[14:32] <DanaG> Major keybinding confusion.
[14:32] <disposable> hggdh: thank you, i had that suspicion from the forum's i read.
[14:33] <hggdh> disposable: in addition, it will continuously be updated (er, 'continuously' meaning every hour or so)
[15:39] <yann_> Hello! When doing a netboot on a KVM VM with libvirt that has two network cards with two different NICs, is there a way to tell libvirt which NIC I want to boot from?
[16:43] <Ramosa> what is the main difference with debian and ubuntu server? usability?
[16:43] <TheEvilPhoenix> Ramosa:  framework and default packages
[16:44] <Ramosa> and by framework you mean?
[16:44] <TheEvilPhoenix> Ramosa:  the Ubuntu repos are more up to date, but sacrifice slight stability (in most cases) for features.  Debian sacrifices features for stability in the same manner.
[16:44] <TheEvilPhoenix> Ramosa:  Debian doesn't update their repos as often as Ubuntu does.
[16:44] <Ramosa> right
[16:44] <Ramosa> so Ubuntu makes more choices for me
[16:46] <TheEvilPhoenix> well...
[16:46] <TheEvilPhoenix> not really...
[16:46] <TheEvilPhoenix> Debian doesn't come with a default server install image
[16:46] <TheEvilPhoenix> but Ubuntu Server does.
[16:46] <TheEvilPhoenix> in pure fundamental terms
[16:46] <TheEvilPhoenix> the difference is in repo updates.
[16:46] <TheEvilPhoenix> but  they're basically the same software
[16:46] <Ramosa> http://upload.wikimedia.org/wikipedia/commons/9/9a/Gldt1009.svg
[16:47] <Ramosa> I wish there was a site where you can get an overview of the differences between all those distros
[16:47] <Ramosa> just the main topics
[16:47] <TheEvilPhoenix> remind me to slap people who post huge images like that
[16:47] <TheEvilPhoenix> Ramosa:  you might be able to google it
[16:47]  * TheEvilPhoenix checks google
[16:47] <TheEvilPhoenix> take a look here: http://ubuntuforums.org/archive/index.php/t-33310.html
[16:48] <TheEvilPhoenix> see if that answers some of your questions
[16:50] <Ramosa> im gonna do node.js, so i don't need LAMP
[16:52] <TheEvilPhoenix> by default you get to CHOOSE what gets installed with Ubuntu Server
[16:52] <TheEvilPhoenix> it doesnt automatically install everything
[16:52] <Ramosa> is LAMP included in the default server install image though?
[16:55] <TheEvilPhoenix> included, yes.  installed by default, no.
[16:56] <TheEvilPhoenix> meaning you have the OPTION to install LAMP
[16:56] <TheEvilPhoenix> but it doesnt automagically install
[16:56] <TheEvilPhoenix> during the process it asks what you want installed
[17:01] <Ramosa> ok
[17:09] <philsf> I want to install using LVM, but the Lucid CD I burned only seems to allow me to boot into graphical mode, which doesn't support it. How can I use debian-installer from the CD? there is no "install" or "expert" kernels in the boot options
[17:20] <ppetraki> philsf, I don't believe thats an option with the "desktop" iso, you'll have to use the server or alternative image
[17:20] <philsf> ppetraki, I'm using the server image
[17:20] <philsf> ppetraki, debian-installer boots if I create a USB boot image, but the installation fails, so I'm trying a CD
[17:20] <ppetraki> philsf, so you have a text only install interface?
[17:21] <philsf> ppetraki, no, I have a GUI only install interface
[17:21] <ppetraki> philsf, thats not it then
[17:21] <ppetraki> philsf, unless they've changed it
[17:21] <ppetraki> philsf, I know for certain that the text mode in the alternative iso offers it, I've used it
[17:23]  * philsf must have mixed up images then
[17:24] <ppetraki> philsf, http://releases.ubuntu.com/lucid/
[17:25]  * philsf must have mixed up images then
[17:25] <ppetraki> philsf, note that the "server" iso doesn't explicitly mention LVM, while the alternative one does
[17:25] <ppetraki> philsf, a bit confusing.
[17:26] <philsf> yup, I burned the wrong image. burned a 11.04 desktop that was lying around :/
[17:26]  * ppetraki is downloading to confirm suspicions
[17:26] <philsf> ppetraki, but the server image does allow LVM, right?
[17:26] <philsf> the alternate is a catch all, for both desktop or server install, right?
[17:27] <ppetraki> philsf, I think that's right
[17:27] <ppetraki> philsf, I PXE install so often I don't remember how they're distinguished :-)
[17:31] <ppetraki> philsf, verified, the server iso supports LVM
[17:34] <philsf> ppetraki, thanks
[17:34] <ppetraki> philsf, np
[17:36] <sorrell_> server offers LVM
[18:03] <RoAkSoAx> smoser: is it possible to re-run anything that cloud-init runned with runcmd?
[18:03] <RoAkSoAx> user-meta info
[18:03] <smoser> rm -Rf /var/lib/cloud ; reboot
[18:03] <smoser> RoAkSoAx, ^
[18:03] <smoser> that will mostely do it
[18:03] <smoser> but if you dont want to reboot, you can do othe rthings to
[18:04] <smoser> sudo cloud-config runcmd always
[18:04] <RoAkSoAx> smoser: ok cool
[18:04] <smoser> let me check
[18:05] <smoser> itll be a minute but you can basically invoke cloud-config yourself, and tell it to run the 'runcmd' module.
[18:05] <RoAkSoAx> smoser: awesome, thanks
[18:38] <dvd740> I was in here the other day, talking about needing a newer release of nut-ups than the one that is in 10.04.2lTS
[18:38] <dvd740> and someone suggested compiling from a src ubuntu package
[18:38] <dvd740> how do I know which one to get etc
[18:38] <dvd740> and can I try the packages from this directory first ?
[18:38] <dvd740> http://mirrors.easynews.com/linux/ubuntu/pool/main/n/nut/
[18:48] <spill> need help enabling upnp with shorewall on maverick server
[18:50] <spill> I need help enabling upnp with shorewall on maverick server, anyone?
[18:54] <spill> I need help enabling upnp with shorewall on maverick server, anyone?
[18:54] <dvd740> woot
[18:54] <dvd740> it installed
[18:54] <dvd740> 2 packages didnt' work but they aren't critical
[18:54] <dvd740> cgi and snmp interfaces
[18:54] <dvd740> but the core nut-2.6 from that dir installed
[19:00] <lifeless> gmorning :)
[19:03] <Pici> spill: You could try asking in #shorewall, or explain what you've tried here and perhaps we can help.
[19:07] <spill> k, I'll check shorewall first and go from there, thanks.
[19:25] <Ramosa> if kernel 3.0 is due out, how long till it starts appearing in distros?
[20:03] <lifeless> SpamapS: yo  yo yo
[20:10]  * RoyK is scanning through old xkcd strips http://xkcd.com/732/
[20:21] <SpamapS> lifeless: howdy
[20:23] <psssss> ((((
[20:25] <lifeless> SpamapS: we could talk for a few minutes now if you like, but I've actually got caught up with $other $things so haven't moved my understanding forward yet
[20:26] <SpamapS> lifeless: just ping me when you need anything.
[20:26] <lifeless> SpamapS: ok cool - thanks!
[20:26] <lifeless> btw whats the best channel for ensemble - here or -cloud or ?
[22:11] <hallyn> kees: around?
[22:56] <kees> hallyn: sorry, missed you earlier. what's up?
[23:02] <hallyn> kees: i was just going to ask what i asked on -hardened :)    thanks
[23:03] <RoyK> nite - miss you later
[23:13] <sw0rdfish> hey guys a download through sftp terminal is frozen, saying "stalled"
[23:13] <sw0rdfish> what can I do to resume it :)
[23:13] <patdk-lap> control-c, uparrow, enter
[23:13] <patdk-lap> but it will delete the file :)
[23:14] <sw0rdfish> I see.
[23:14] <sw0rdfish> the hard way...
[23:14] <sw0rdfish> lol :)
[23:14] <patdk-lap> maybe if you copy it now, and attempt rsync this time
[23:14] <patdk-lap> and tell rsync to keep partial files
[23:14] <sw0rdfish> hey I just looked now, and its continuing
[23:14] <sw0rdfish> haha
[23:14] <sw0rdfish> maybe it heard you telling me ctrl+c
[23:15] <sw0rdfish> and it got scared :P
[23:15] <patdk-lap> uploading?
[23:15] <patdk-lap> or, is it coming from a dsl/cable location?
[23:19] <sw0rdfish> downloading
[23:22] <kees> hallyn: ah, right. :)
[23:26] <hallyn> ok, someone set me straight.  The default kernel in ubuntu server is 2.6.32 still right?
[23:26] <hallyn> in lucid i mean
[23:26] <patdk-lap> yep
[23:27] <hallyn> phew thanks
[23:27] <patdk-lap> now you can install a backported maverick or natty kernel though
[23:29] <hallyn> yeah, but I don't think we can support that in X-dkms packages
[23:31] <uvirtbot`> New bug: #630343 in open-vm-tools (multiverse) "package open-vm-dkms 2010.02.23-236320-1+ubuntu1 failed to install/upgrade: open-vm-tools kernel module failed to build" [Critical,Confirmed] https://launchpad.net/bugs/630343
[23:36] <uvirtbot`> New bug: #640901 in open-vm-tools (multiverse) "package open-vm-dkms 2010.02.23-236320-1+ubuntu1 failed to install/upgrade: open-vm-tools kernel module failed to build (dup-of: 630343)" [Undecided,New] https://launchpad.net/bugs/640901
[23:36] <uvirtbot`> New bug: #641350 in open-vm-tools (multiverse) "package open-vm-dkms 2010.02.23-236320-1+ubuntu1 failed to install/upgrade: open-vm-tools kernel module failed to build (dup-of: 630343)" [Undecided,New] https://launchpad.net/bugs/641350
[23:36] <uvirtbot`> New bug: #641522 in open-vm-tools (multiverse) "package open-vm-dkms 2010.02.23-236320-1+ubuntu1 failed to install/upgrade: open-vm-tools kernel module failed to build (dup-of: 630343)" [Undecided,New] https://launchpad.net/bugs/641522
[23:38] <adam_g> hallyn: that reminds me, how is the case handled where someone is using a dkms module built for lucid kernel, but they've backported a newer kernel and upgrades/rebuilds of those dkms packages begin to break.
[23:39] <adam_g> is that just an unsupported practice and an invalid bug?
[23:39] <hallyn> adam_g: that's what I'm advocating right now :)
[23:39] <hallyn> adam_g: people are free to offer backported versions of the dkms package to go along with the kernel,
[23:39] <hallyn> but i was looking at open-vm-tools in particular, which is in multiverse
[23:40] <adam_g> bug #799630 is an interesting example
[23:40] <uvirtbot`> Launchpad bug 799630 in drbd8 "package drbd8-source 2:8.3.7-1ubuntu2.1 failed to install/upgrade: drbd8 kernel module failed to build" [Low,Incomplete] https://launchpad.net/bugs/799630
[23:40] <hallyn> adam_g: might be worth asking on #ubuntu-kernel what they think.
[23:40] <hallyn> for packages in main, i think it coudl be fair to say if we offer backporte dkernel, then we'll offer backported dkms packages
[23:40] <adam_g> drbd was merged into mainline in 2.6.33, so the out-of-tree dkms module wont build on anything after the lucid kernel
[23:40] <hallyn> for universe, heck no
[23:41] <hallyn> is drbd in main?
[23:41] <hallyn> (i assume so)
[23:41] <adam_g> in lucid, im not sure
[23:42] <uvirtbot`> New bug: #647309 in open-vm-tools (multiverse) "package open-vm-dkms 2010.02.23-236320-1 ubuntu1 failed to install/upgrade: open-vm-tools kernel module failed to build (lucid)" [Critical,Invalid] https://launchpad.net/bugs/647309
[23:42] <hallyn> (sorry, those 'new bug' reports are my fault :)
[23:42] <hallyn> gotta run and get some grub, bbl
[23:42] <adam_g> cya
[23:42] <hallyn> adam_g: are you going to ask in #ubuntu-kernel?
[23:42] <hallyn> anyway, yeah, cya :)
[23:42] <adam_g> hallyn: i will. not sure if today or tomorrow


[12:55] <kyrofa> Good morning everyone
[12:57] <kyrofa> shuduo_, I'd like to discuss your ROS problems today if you're around
[13:05] <asac> utlemming: do you have all-snap builds already for gce?
[14:08] <asac> hmm... latest ubuntu-core all-snap breaks my etherpad :(
[14:08] <asac> good news is rollback ubuntu-core resurrected it
[14:09] <asac> hmm. who broke stuff?
[14:10]  * asac updates again
[14:12] <asac> jdstrand: tyhicks: ok latest core bails my ethpad because it restricts syscall=49 which seem to not have caused issues before
[14:14]  * asac reboots and tries to find where the security pol info now lives
[14:16] <asac> hmm. what was the script againthat spits out syscall names?
[14:26] <asac> kyrofa: snapcraft generated something odd for caps for me: http://paste.ubuntu.com/14164111/
[14:26] <asac> any idea?
[14:26] <asac> my input was not having caps as a list item:
[14:26] <kyrofa> asac, eww
[14:26] <asac> cat snapcraft.yaml  | pastebinit
[14:26] <asac> http://paste.ubuntu.com/14164118/
[14:27] <asac> anything that strikes you?
[14:27] <kyrofa> Hmmmmm
[14:27] <asac> wow :)
[14:27] <asac> interestingly this worked though
[14:27] <asac> it gave my pad the network-servbices permission
[14:27] <kyrofa> Wait, what?
[14:27] <kyrofa> Hahaha
[14:27] <asac> and now the node process does not go defunct with bind syscall bailing anymore
[14:27] <asac> weird
[14:28] <asac> let me double check
[14:28] <asac> that i am on the ubuntu-core that has that problem with that that caps entry
[14:28] <asac> kyrofa: do you see in code whats going on with the caps transform?
[14:28] <kyrofa> There's got to be a bug here. Two I'd say, if that actually runs :P
[14:29] <asac> yeah
[14:29] <asac> :)
[14:29] <kyrofa> asac, I'm looking now
[14:29] <asac> let me commit this so you can run it yoursel;f
[14:29] <asac> give me one sec
[14:30] <asac> so confirmed that without that odd caps it bails on bind
[14:30] <asac> now adding it again and committing
[14:31] <kyrofa> asac, which snapcraft are you using?
[14:34] <asac> kyrofa: master HEAD ... https://github.com/asac/etherpad-lite/tree/snap-support
[14:34] <asac> get that branch, cd bin/snappy
[14:34] <asac> run snapcraft snap
[14:34] <asac> from master HEAD
[14:35] <kyrofa> Alright, let me play with it for a minute
[14:35] <asac> https://github.com/asac/etherpad-lite/tree/snap-support/bin/snappy
[14:35] <asac> also works with 1.x
[14:35] <asac> which is coolie :)
[14:36] <asac> but i suspect that we never really prevented bind etc. because it stopped working on all snaps from -2 to -4 when i didnt have that caps
[14:36] <asac> (in case you care about ubuntu-core runtime as well)
[14:36] <asac> ok stepping out for 5 min
[14:36] <asac> bbiab
[14:37] <asac> kyrofa: oh one more thing... i rfind it odd that we dont run "snap" as default on master... it just bails if i dont pass any target
[14:37] <asac> anyway... bbi5
[14:37] <kyrofa> asac, yeah it surprised me as well
[14:38] <kyrofa> asac, we'll pass that by sergio when he gets back, see how he feels about a default target again
[14:49] <asac> kyrofa: i get the same caps syntax on 1.x
[14:50] <kyrofa> asac, alright. We were just about to release, so I'll hold off
[14:50] <asac> lets see if 15.04 also eats this fine at least
[14:51] <kyrofa> asac, and yeah, I can reproduce so I'm working on this now
[14:51] <asac> kyrofa: release without sergio around or might he pop in today?
[14:52] <asac> asking bc i had two pulls i think woudl be nice to have included
[14:52] <asac> https://github.com/ubuntu-core/snapcraft/pulls
[14:52] <asac> topmost
[14:52] <asac> not needed for the variant above, but for my other build from outside recipe its needed
[14:52] <kyrofa> asac, I was hoping he might pop in long enough to make sure I didn't blow it to kingdom come, though that may not have happened anyway (in which case I wouldn't release, of course)
[14:53] <asac> e.g. for https://github.com/asac/etherpad-lite-snap
[14:53] <asac> ok... well, since i made this inline approach now the pull above could wait if it feels risky
[14:53] <asac> but have it for 1.x and master in case
[14:54] <asac> anyway, the caps is probably more interesting :)
[14:54] <kyrofa> asac, ah okay. I'll make sure I take a look at those :)
[14:54] <asac> ok so seems 15.04 also eats the - caps
[14:54] <asac> ODDDD
[14:54] <asac> :)
[14:54] <kyrofa> asac, yeah that's quite an impressive screwup
[14:54] <kyrofa> asac, you should be proud
[14:54] <shuduo> kyrofa, hi
[14:54] <kyrofa> shuduo, hey!
[14:55] <shuduo> kyrofa, let me post ROS build log
[14:56] <kyrofa> shuduo, please do. If you can post the ROS code, that would be great as well
[14:57] <shuduo> kyrofa, http://pastebin.com/RHbPTeWv actually i am trying to build ros example code of snapcraft I git clone from github.com
[14:58] <kyrofa> shuduo, ah that makes it easy
[15:02] <asac> ok filed bug for odd runtime beahviour here: https://bugs.launchpad.net/snappy/+bug/1528871
[15:03] <asac> kyrofa: https://bugs.launchpad.net/snapcraft/+bug/1528873 is the other side
[15:05] <kyrofa> asac, excellent, thank you :)
[15:05] <kyrofa> shuduo, wow, probably the most helpful error ever, huh?
[15:06] <kyrofa> shuduo, I'm particularly sorry that happened while you were trying to show it to someone
[15:06] <kyrofa> shuduo, that error, while being insanely unhelpful, I believe indicates that you're trying to launch a binary that can't be found, so it can't be wrapped
[15:07] <kyrofa> shuduo, I only know this because it happened to me just a bit ago (an error message I plan on fixing)
[15:07] <kyrofa> shuduo, can you give me a link to what you're trying to build?
[15:08] <kyrofa> asac, give me a sanity check?
[15:09] <shuduo> kyrofa, that's fine if you are already aware. I'm trying to build https://github.com/ubuntu-core/snapcraft/tree/master/examples/ros
[15:10] <kyrofa> asac, http://pastebin.ubuntu.com/14164908/ == good yaml?
[15:10] <kyrofa> (in python form)
[15:10] <asac> kyrofa: which one?
[15:10] <asac> ahh
[15:10] <asac> thougth pull etc.
[15:11] <asac> kyrofa: give me a patch and i try the real snap
[15:11] <asac> but the first looks ok now
[15:11] <asac> the binaries list
[15:11] <kyrofa> asac, I'm not to that point just yet. To me, that paste looks good. It's handed off to yaml.write, then if I read the write that's written, it looks terrible (as you've seen)
[15:12] <kyrofa> I think yaml.write is a third-party lib
[15:12] <asac> oddd
[15:12] <kyrofa> asac, excuse me-- yaml.dump
[15:12] <kyrofa> Still investigating
[15:13] <kyrofa> asac, have you tried making your caps lists regular lists (i.e. not inline [item1, item2] but:
[15:13] <kyrofa> -item1
[15:13] <kyrofa> - item2)
[15:13] <asac> so yeah i think it might be correct actually :(
[15:13]  * asac looks again
[15:13] <asac> yeah its correct
[15:14] <asac> just super unfortunate ordering
[15:14]  * asac marks invalid
[15:15] <kyrofa> asac, ohhhh it IS isn't it! the hyphen caps was really throwing me
[15:15] <asac> right
[15:15] <kyrofa> But yeah, still a valid map
[15:15] <asac> a way to guuide the yaml formatter?
[15:15] <kyrofa>  /list of maps
[15:15] <kyrofa> asac, I doubt it :(
[15:15] <asac> think we would love to see the serializer to produce name first
[15:15] <asac> and exec then
[15:15] <asac> etc.
[15:15] <asac> and caps last :)
[15:15] <asac> lol
[15:15] <asac> ok neat
[15:16] <kyrofa> asac, I'll look into it though
[15:20] <kyrofa> asac, why did you look at the generated package.yaml? How often do you think devs do that?
[15:21] <asac> many times
[15:22] <asac> caps will be very frequent
[15:22] <asac> it hink we should investigate if we can subclass Dumper
[15:22] <asac> or something and give some sanity hints somehow
[15:22] <asac> so it looks neat
[15:22] <asac> like you would write it
[15:22] <asac> start with name
[15:22] <asac> exec/start:
[15:22] <asac> description:
[15:22] <asac> end with caps list
[15:23] <asac> maybe we could use an event parser to remember the order for those elements that are just pass through?
[15:23] <asac> let me file a bug that the formatting looks ugly
[15:23] <asac> :)
[15:23] <asac> but nothing important afaics
[15:23] <kyrofa> asac, yeah if people look at that very often you're probably right. Do you mind logging a separate bug?
[15:23] <kyrofa> Haha, yeah thanks :)
[15:24] <kyrofa> Yeah I agree-- I'll get back to squashing release-blocking bugs. I'll take a look at your PRs as well :)
[15:26] <asac> ok filed https://bugs.launchpad.net/snapcraft/+bug/1528878
[15:28] <asac> oh i think the real thing is that my stuff gets transformed from map style to list style... where the name is in the name: field... maybe we could just keep same style to make things better for now
[15:29] <asac> ok added comment to bug for this
[15:30] <asac> oh seems my pull request adds too long line :)
[15:31] <kyrofa> asac, thanks for working out the kinks!
[15:31]  * asac fixes
[15:50] <asac> kyrofa: i have no idea how the test stuff works. where does it find the test package.json for the node test?
[15:50] <kyrofa> asac, the nodejs plugin test?
[15:51] <asac> kyrofa: yeah
[15:51] <kyrofa> asac, master branch?
[15:51] <asac> sure
[15:53] <asac> guess i dont get the mock
[15:53] <kyrofa> asac, after a quick look, there seems to be only one test that would require one, and it makes it itself (test_build_local_sources)
[15:53] <kyrofa> asac, the others just mock out the npm install
[15:54] <asac> right
[15:54] <asac> hmm
[15:54] <asac> let me think
[15:54] <asac> so i added a new option
[15:54] <asac> that allows to point to a dir other topdir for part to have the package.json
[15:54] <kyrofa> asac, well, since npm install is essentially shelled out (using snapcraft.common.run), if one mocks snapcraft.common.run, you can verify that npm install was called correctly without actually calling it
[15:55] <asac> fguess we are not testing npm /path/to/where/package.json is right now
[15:55] <kyrofa> asac, no, since (I'm assuming) /path/to/where was always the root?
[15:56] <asac> in the past it was
[15:56] <asac> now its allows to use a subdir of the part
[15:56] <asac> ok let me try something
[15:56] <kyrofa> asac, okay, so make a new test that sets up that environment, with the subdir etc
[15:56] <asac> how do i run those tests though locally?
[15:57] <kyrofa> Then assert that the run_mock was called with the right path
[15:57] <kyrofa> asac, that's outlined in the readme, but you can run the unit tests with ./runtests.sh unit
[15:59] <asac> git diff | pastebinit
[15:59] <asac> http://paste.ubuntu.com/14166326/
[15:59] <asac> how about that?
[15:59] <asac> err bad syntax
[15:59] <asac> moment
[16:00] <asac>  git diff | pastebinit
[16:00] <asac> http://paste.ubuntu.com/14166382/
[16:00] <asac> that oen
[16:00] <asac> ok let me in the readme
[16:08] <kyrofa> Sorry asac uhh... my mouse pointer disappeared :P
[16:09] <kyrofa> Having trouble getting those links. I guess X needs a restart
[16:09] <kyrofa> asac, be back in a minute and I'll be happy to help :)
[16:10] <asac> ok i think i fixed it :)
[16:11] <asac> lets see what travis thinks
[16:13] <kyrofa> Back
[16:13] <asac> kyrofa: ok so i think i fixed those i have a clue about
[16:13] <asac> those that are left i dont understand
[16:14] <asac> https://travis-ci.org/ubuntu-core/snapcraft/builds/98540359
[16:14] <asac> oh
[16:14] <asac> one sec
[16:15] <kyrofa> asac, alright so you may have a bug here
[16:16] <kyrofa> The npm install call happens with a working directory of the builddir
[16:16] <kyrofa> But you seem to have modified it to pass an extra parameter which in the case of test_build_local_sources is the same as the working directory
[16:16] <kyrofa> That may work fine, but the test will need to be updated to assert a different call on the mock
[16:16] <kyrofa> (i.e. including that extra parameter)
[16:18] <kyrofa> asac, the second failure is similar, though it seems like you're actually using subdir there. You need to change the mock assertion to make sure that extra parameter is there
[16:18] <asac> right will update test
[16:19] <asac> ok let me do this after dinner etc.
[16:19] <asac> thanks for your help
[16:19] <asac> no need to hold back release
[16:21] <kyrofa> asac, no problem! And yeah, I don't think the release is happening today. Sergio hasn't gotten back to me (I don't blame him) and I found another bug :(
[16:22] <kyrofa> asac, so a) don't work too hard, and b) releases are easy. We can always make another
[18:01] <kyrofa> Ugh... who ever thought that "Santa Baby" was a decent song