/srv/irclogs.ubuntu.com/2013/05/07/#ubuntu-server.txt

=== wedgwood_away is now known as wedgwood
=== wedgwood is now known as wedgwood_away
=== airtonix_ is now known as airtonix
=== arrrghhh is now known as arrrghhhAWAY
=== arrrghhhAWAY is now known as arrrghhh
gustavGmail doesn't accept e-mails from my exim4 host. Wat do kil self?07:12
gustavOh, it deblacklisted me now. That's awkward.07:14
=== smb` is now known as smb
RoyKhm... on precise, where can I find why a reboot may be required? /var/run/reboot-required doesn't give any hits07:44
=== Sargun_ is now known as Sargun
zokkohello folks10:26
=== Nigel_ is now known as G
student-2013hello12:54
student-2013Can i run an application on  amazon EC2?12:55
student-2013Why no answer?12:57
premerastudent-2013: what appllication ?13:11
greppypremera: they left the channel.13:12
premerak13:12
pmatulisusing resolvconf on 12.04, say i make a change to interfaces file by adding dns-nameservers line.  is restarting networking service the only way to enable that change (update the resolv.conf symlink)?15:18
SpamapSpmatulis: I think you can just re-run 'ifup ethX'15:27
adam_g_zul: http://people.canonical.com/~agandelman/ca/grizzly/libvirt/15:29
DasIchI'm running the latest ubuntu and would like to serve my website using spdy with nginx. I'm already using nginx and ssl but following the nginx documentation I get '[...]invalid parameter "spdy"[...]' in the error.log15:48
DasIchDoes the nginx version in the repositories not support spdy?15:49
DasIchIf so is there are reasonable and secure way to get a more recent nginx version without compiling nginx myself?15:49
jacobwDasIch: see if someone else has packaged it or use the vendor's binaries16:00
NafalloDasIch: launchpad has a ppa for latest stable.16:01
DasIchNafallo: if I understand https://launchpad.net/~nginx/+archive/stable correctly the ppa was last updated in february, there have been several nginx releases since then16:12
=== wedgwood_away is now known as wedgwood
NafalloDasIch: looks like you're correct. might be worth mailing the maintainer and ask what's up?16:32
hallyn_jjohansen: hi, have apparmor controls on setns() been considered?  (sorry i haven't read your email yet, so sorry if it's answered in there)17:00
jjohansenhallyn_: yes17:01
DasIchNafallo: yeah, I will try that17:01
hallyn_jjohansen: cool, considered as in it's on the roadmap?17:01
jjohansenhallyn_: we have a work item for it17:02
hallyn_cool, thanks.17:02
jjohansenI'm not sure which bp its in, probably july or august17:02
hallyn_awesome17:03
=== wedgwood is now known as wedgwood_away
hallyn_stgraber: for cloning ubuntu-cloud images, smoser would like to have a lxc.clonehook, which could point to a script to be executed (with all arguments passed to lxc-clone after '--') at clone time to update the rootfs.  Do you see any issues with that/18:17
stgraberhallyn_: I'm fine with lxc.hooks.clone though the arguments part will make it a bit different from the other hooks, do we actually have variable arguments for lxc-clone or could we get away with a few additional env variables?18:19
smoserlxc-clone -o orig -n new -- --my-clonehook-arg1=value ...18:20
smoserthen "my-clonehook" gets passed:18:20
smoser  /var/lib/lxc/orig /var/lib/lxc/new --my-clonehook-arg=1value18:20
hallyn_stgraber: yeah it would be a bit different, and i'm not entirely comfortable with it, but it's doable18:21
hallyn_confile would just store it as one long char*, and lxcapi_clone() would parse it18:21
stgraberhallyn_: I think I'd rather add a LXC_CLONE_ARGUMENTS env variable that we pass to the hook. That way we keep the hook parameters consistent.18:27
stgraberhallyn_: so basically have the clone() call in the API take the extra parameters (similar to create and start) and just push those into LXC_CLONE_ARGUMENTS before calling the hook (if there's one set)18:28
stgraber(remember that I just got back from a week of doing client stuff, I haven't yet had time to catchup on the various patches, so the above is solely based on what I read on IRC ;))18:29
hallyn_feels hacky though.  Perhaps these should be kept semantically separate from container startup hooks.  So we have container create hooks (which right now is just the template) and clone hooks, and heck maybe destroy hooks18:31
hallyn_anyway, it's something to think about and hopefully discuss at vUDS next week18:31
hallyn_stgraber: there's a way around this, at any case - using a pre-start hook which checks whether /var/lib/lxc/$c/NOTNEW exists, if so exits, if not creates it and does the update.  But that doesn't have the arguments, so it's not quite sufficient18:33
=== Ursinha-afk is now known as Ursinha
stgraberhallyn_: nah, I think adding more hooks makes sense, it's just that we need to expose the arguments to the hooks and we should do that in a generic way for all hooks (as in, I should be able to get the arguments of lxc-start ... -- ARG in some environment variable in our current hooks)18:35
stgraberthat way we could also have pre-start/mount/... hooks that vary based on init arguments (for example)18:36
stgraberso it sounds like a thing we can generically apply to all hooks with no special casing for the clone usecase18:36
oDiafanosHello! I run ubuntu server x86 12.04.1 and mysql refuses to start. On reboot it hanged so i tried 2 different backups. Mysql refuse to start.error seems to be dpkg: dependency problems prevent configuration of mysql-server:18:38
oDiafanos<oDiafanos>  mysql-server depends on mysql-server-5.5; however:18:38
oDiafanos<oDiafanos>   Package mysql-server-5.5 is not configured yet.18:38
hallyn_to be clear i misspoke before, the lxc.clonehook entry in /var/lib/lxc/$c/config would not list the extra arguemtns, they'd be listed on the lxc-clone command line.18:38
hallyn_but yeah18:38
sarnoldoDiafanos: try sudo dpkg-reconfigure -a18:39
stgraberhallyn_: right, that's how I understood it18:39
hallyn_stgraber: btw i haven't yet pushed Dwight's last 6-patch set to staging.18:39
stgraberhallyn_: I did18:39
hallyn_thx18:39
hallyn_can't believe i did some of those...  <blush>18:39
stgraberhallyn_: I'm a bit lost with the lxc-devel backlog, so if there's anything that I should be reviewing, let me know, I completely lost track...18:40
hallyn_stgraber: i think i pushed everything up to those 618:40
stgraberok good. I'll probably send an e-mail post-vUDS asking for anyone who submitted patches that didn't get applied to speak up, there are always a few we miss...18:41
hallyn_yeah18:43
oDiafanossarnold, thanks but no..same error18:44
sarnoldoDiafanos: try sudo dpkg-reconfigure --force mysql-server mysql-server-5.5   ?18:44
oDiafanos1 sec I'm on ssh so i trying instantly18:45
oDiafanosnope..I even tried to del and install again the pkg18:46
oDiafanosany other suggestions?18:51
=== mikehale_ is now known as mikehale
pmatulisdoes kexec/kdump/linux-crashdump work on 12.04?20:33
hallyn_stgraber: so i've updated lxc-snap, it now snapshots under $lxcpath/snapshots, but as a result it supports lvm, btrfs and zfs, not just overlayfs.  (I figured I"d test the limits before considering putting it in the api)22:03
stgraberneat22:03
bcessahi there, any recommendations for a CLI tool to manage a custom CA, yes I know OpenSSL is just enough but I'm just curious if there's already a tinyCA0-like CLI alternative22:24

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!