/srv/irclogs.ubuntu.com/2012/06/19/#ubuntu-server.txt

=== niemeyer_ is now known as niemeyer
uvirtbotNew bug: #1001725 in clamav (main) "(could not find var/log/clamav DIR to create file in; did not autocreate directory) package clamav-daemon 0.97.3+dfsg-1ubuntu0.11.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [High,New] https://launchpad.net/bugs/100172501:11
frank_Buenas alguien me pueden ayudar01:13
uvirtbotNew bug: #1014916 in lxc (universe) "simultaneously started lucid containers pause while starting after the first seven" [Undecided,New] https://launchpad.net/bugs/101491601:41
lifelesssmoser: around?01:57
hecsaHi! Does somebody know something about bind9 troubleshooting?04:58
twbhecsa: what is the real question04:59
hecsaHi twb! I'm having some strange issue in an Ubuntu server 10.04 starting some days ago...05:00
hecsaIt is the internal dns server, which has my other machines declared in my bind9 files05:00
pehdenok any one want to help me with ubuntu server with postfix/dovecot/ using mysql based accounts, via ispconfig305:01
pehdenok any one want to help me with ubuntu server with postfix/dovecot/ using mysql based accounts, via ispconfig3 server 12.0405:01
hecsayesterday something strange started to happen...I can ping all the machines using their IPs05:01
twbpehden: sorry, I don't support WHCPs05:01
hecsabut when using dns names, it does NOT loose any package, but takes too long to answer05:01
pehdenwhcp?05:01
twbpehden: web hosting control panel05:02
twbpehden: ispconfig, webmin, cpanel, etc05:02
hecsaI took a look into /var/log/daemon.log05:02
pehdeni dont need help on that part, its the config files theres somthing wrong there05:02
twbhecsa: IP packets are still called "packets" in English, not "packages"05:02
hecsahehe...sorry!05:02
pehdenwierd thing im able to log into the aemail account but cant send email from my accont and server is rejecting all incoming mail05:03
hecsasometimes I translate from Spanish to English the wrong way05:03
twbhecsa: no problem05:03
twbhecsa: I tell you so you know, not because I am angry or anything05:04
hecsawell...the daemon.log file has something like this:05:04
pehdenwow im now getting : Relay access denied05:04
pehdenTransaction failed05:04
pehden554 5.7.105:04
pehdenthats more then i was before05:04
hecsanamed[2345]: client 10.1.4.40#58694: update 'pirulo.com.ar/IN' denied05:04
hecsaBUT 10.1.4.40 is my bind9 server05:05
hecsathis is what confuses me05:05
twbhecsa: have you hooked bind up to your DHCP daemon?05:05
hecsanot that I know05:06
twbpehden: so probably it thinks the sender is not in mynetworks and is not authenticated, and is (correctly) refusing to be an open relay05:06
pehdenok that points me in the right area, ill loook at that for a min twb05:06
hecsathis machine is a dhcp server too...05:07
twbpehden: oh obviously it's not an open relay if the mail is destined for a domain postfix handles itself05:09
hecsaI don't know if this has or hasn't something to do with the troubles I'm experiencing when pinging my machines using IPs vs DNS names05:09
twbhecsa: so the symptoms are that local host names do not resolve anymore?05:09
pehdeni kow right, the wierd thing is it should still be able to send an email from itself to itself right05:09
hecsathey resolve instantly, but take a long time to answer when pinging if I use dns names05:10
twbpehden: that depends05:10
hecsaI loose no packet (I said packet ;-) )05:10
hecsabut the answer time is 1 vs 1005:10
pehdenemail@mydomain.com to email@mydomain.com05:10
pehdenshould send05:10
twbpehden: use postconf to compare your current main.cf to the default main.cf and see what is there and what is missing05:10
twbdiff -U0 <(postconf -d) <(postconf)05:11
pehdenok will do that05:11
hecsathe ping issue happens when trying to access a web server too if I use dns names. If I use IP address, everything works perfectly05:11
twbOr -U999 to see everything05:11
twb(There will be a handful of differences that are Ubuntu defaults which you don't need to worry about, e.g. default mailbox size)05:12
twb*size cap05:12
twbhecsa: are you testing this on 10.1.4.40 itself?05:12
twbhecsa: what is in resolv.conf on the test host?05:12
hecsatwb: I have domain pirulo.com.ar05:13
twbhecsa: on 10.1.4.40, try "dig @127.0.0.1 foo.pirulo.com.ar".  In particular, see if it responds quickly or takes a while.05:13
hecsatwb: search pirulo.com.ar05:13
hecsatwb: instantly05:14
twbOK.  Now try "dig @10.1.4.40 foo.pirulo.com.au" on the host you were having slow ping from05:14
twbWe are testing to see if this is slowness in DNS or elsewhere05:14
hecsatwb: instantly too05:15
twbOK, now try "getent hosts foo.pirulo.com.ar" on that host05:15
hecsatwb: I tried something with nslookup05:15
hecsatwb: that host = the dns server?05:16
twbhecsa: well on the slow-ping host, but it is interesting on any host if dig is fast but getent is slow05:16
twbNote that by foo.pirulo.com.ar I mean you should be testing with a real hostname at your site05:17
hecsatwb: no output...is this normal?05:17
pehdencrazy i went to reset the install for ispconfig and there is an update so one moment05:17
pehdenlol05:17
hecsatwb: I wrote it wrong...sorry...it answer instantly05:18
hecsatwb: it answers instantly05:19
hecsatwb: when I ping using dns names, it resolves them instantly, but the answer time is driving me crazy05:20
twbIt makes no sense that if foo.pirulo.com.ar = 1.2.3.4, pinging foo.pirulo.com.ar is slower than pinging 1.2.3.405:20
twbExcept if DNS was slow, and we have shown that it is not05:20
hecsatwb: and something strange too is that when I try to cancel the ping with Ctrl-C it takes a lot of time to give me the prompt back...as if it is waiting for somthing to timeout05:21
twbhecsa: hm, then perhaps your system is under very heavy load?05:21
hecsatwb: that's right! I'm very confused with this...05:21
twbLook at e.g. free -m, to see if you are using a lot of swap.  Look at top, to see if all the CPU is used.  Look at iostat to see if the disks are using lots of I/O05:21
hecsatwb: I monitored it too...it's 99.5% free with top. I try¿ied iotop too, and there is no overloaded disk05:22
twbAlso if you are in the same building you might be able to listen to it or see it doing the washing machine dance05:22
hecsatwb: hahaha...now there is nobody here...only me and my dns...and this machine is really free of load05:23
twbhecsa: sorry but I am out of ideas05:24
hecsatwb: don't worry, thanks a lot for taking your time to answer05:25
hecsatwb: I'll continue digging into this, let's see if there is something else05:25
twbIf you find it, and it is interesting, come back and let me know what it was05:26
hecsatwb: sure I will! Thanks again!05:26
pehdenum twb postconf: warning: /etc/postfix/master.cf: unused parameter: smtpd_bind_address=127.0.0.105:29
pehden/usr/sbin/postconf: warning: /etc/postfix/master.cf: unused parameter: smtpd_bind_address=127.0.0.105:29
twbpehden: so fix that05:30
pehdenwhere do i start lol05:30
twbWell who wrote that file?05:30
twbMy bet is it was ispconfig and ispconfig has fucked it up.  Which is why I originally said: I don't do WHCPs05:30
pehdenright05:30
twbI don't know offhand how to fix it.05:31
twbIf I were you I'd probably talk to #postfix05:31
twbIt's probably a variable that has a different name in the version of postfix you have, to the version ispconfig assumes05:31
pehdenim looking at the .conf right now for them to see05:32
pehden#postfix05:33
pehdenum looking in postfix now it shows mynetworks = 127.0.0.0/8 [::1]/12805:35
pehdenhmm let me test it now05:36
pehdenhttp://pastebin.com/MtHyB0VG05:39
pehdenthere was a typo05:47
pehdenthats fixed now i cant log in05:47
pehdento my email05:47
pehdenwhats the netstat to see listening ports only06:28
=== zyga-afk is now known as zyga
sorenpehden: -l (1.4 seconds looking at netstat's man page would have told you that, too)07:03
Nafallowait. use netstat when we have ss? I'm confused.07:05
twbBecause ss has stupid spacing behaviour in its output07:07
twbSo if you have a 200-line terminal, and three columns that are like 8 characters wide, you end up with them separated by like 80 columns of whitespace07:08
th0mzehlo07:09
sorentwb: Exactly. Piping it through cat helps, though.07:09
twbAlso I recall it excludes some results in certain circumstances that are easy to forget about07:10
twbI can't remember the details07:11
twbsoren: yeah I do that, but it's a pain in the arse to have to do so07:11
sorenIndeed.07:11
sorenI always go back to netstat.07:11
pehdeni tried -l but i didnt see it the way i wanted, soren07:13
pehden-ln is as close as i can get from what it looks like but there is still extra junk below07:16
twbss -nlp | cat07:17
pehdeni use watch -c .1 netstat -ln07:17
sorenpehden: You should have mentioned that instead of wasting other people's tie.07:19
pehdenim sorry i was waiting for a responce then didnt notice i had one07:19
sorenpehden: I'm talking about your initial question.07:20
sorenpehden: If you've already tried the obvious solution and it doesn't do what you want it to, say so instead of having to go through this useless bit of back and forth.07:20
pehdenfor some reason my imap isnt running07:20
pehdeni was assuming it was part of postfix. but is that dovecot instead07:21
sorendovecot does imap, yes.07:21
sorenAnd postfix does not.07:21
sorenIf you don't want the unix sockets at the end, use -lntu.07:22
twbsoren: may be my fault for getting him fixated on postfix07:22
pehdenok i was a bit confused, i have been trying to get this part of my server running the way i want for months07:22
pehdenok thankts i will keep that saved07:22
twbIMO the real problem is his WHCP07:23
pehdenit has worked before i upgraded to 12.0407:23
sorenDon't waste brain matter memorizing stuff like that. Just understand that you (apparently) only want tcp and udp sockets. That's -t and -u, respectively.07:23
sorentwb: whcp?07:24
twbSigh07:24
twbispconfig07:24
twbwhcp = web hosting control panel.  /me pines for dpkg bot instead of ubottu :-/07:24
twbI have an -l1 -n3 md raid array.  I have a fourth disk plugged in.  I want to add it as a spare (not active) node in the array.07:26
twbWhat's the right way to do this?07:26
pehdenim hosting sites, and i use one of them for my email, but due to the last upgrade the email servers have been unavailable. i have been dealing with many errors.07:26
pehdenso far im the closest yet thanks to twb07:27
twbI'm still looking through the manpage07:27
pehdenare you familier with dovecot?07:28
pehdeni can pastebin my config07:28
twbpehden: dovecot config is not very interesting.07:28
pehdeni think i see another typo07:29
pehdenssl_cert = </etc/postfix/smtpd.cert07:29
pehdenssl_key = </etc/postfix/smtpd.key07:29
pehdenis the < supposed to be there07:29
twbpehden: yes07:30
sorentwb: Isn't that just -a /dev/whatever?07:30
twbsoren: that adds it as an active node07:31
twbAt least it did just now when I removed the dead disk and added the first (or two) new ones.07:31
sorentwb: Why?07:31
sorentwb: Oh.07:31
twbMaybe add is smart enough to make it active if there is a slot for an active one, and a spare if there isn't?07:31
sorentwb: Right, ok. Yes, in that case it'll probably try to reach the same number of replicas as it was created with.07:31
twbOtherwise I am guessing I need something like mdadm /dev/md0 --grow --spare-devices=1 ?07:31
sorentwb: Yeah.07:31
twbI'll try just -a'ing it -- worst case is it'll be active and I can remove it again07:32
twbIt made it active :-/07:32
sorentwb: In reality, it's added as a hot-spare, but immediately turned into an active node, because there's a disk missing.07:32
twbOops, no it didn't.  I can't read07:32
twb-a did the right thing -- http://paste.debian.net/175207/07:33
twbsoren: thanks07:33
sorentwb: Sure thing.07:33
pehdenwhere would dovcot logs be, there not in /var/log07:44
=== fenris is now known as Guest13007
glanceHi. I would like to automaticly coordinate reboots of cluster-machines. Eg. In a cluster of machines, no two machines may reboot at the same time. If both would like to reboot, eg. after a kernel update, One need to complete its reboot before the other one is allowed to start theres. Anyone bin poking around with this type of stuff before?09:02
ikoniaglance: no idea how you could manage that outside of manually managing the machines09:03
glanceI have some ideas about distributed databases with locks, but that feels just like a whole heap of troubble =)09:04
glanceAnd, i like my systems to be as hands-off as posible.09:05
ikoniaI can see possible ways of doing it, but as you say it's going to be a massive overkill09:06
glanceI just thought that someone else might have thought about this before =)09:06
ikoniamanaging clusters (in my view) will always need some form of manual work needed09:07
uvirtbotNew bug: #1015058 in dovecot (main) "package dovecot-ldap 1:2.0.19-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/101505810:35
=== railsraider_ is now known as railsraider
=== railsraider__ is now known as railsraider
uvirtbotNew bug: #1015041 in ntp (main) "Conflict between NTP and NTPDATE " [Undecided,New] https://launchpad.net/bugs/101504111:58
hallynlynxman: hey, did you have any opinion on bug 1014005 ?  i don't know enough about the various different rom s to know whether we care enough to say no12:43
uvirtbotLaunchpad bug 1014005 in ipxe "Please generate and include ipxe.dsk to the ipxe binary package" [Wishlist,Triaged] https://launchpad.net/bugs/101400512:43
lynxmanhallyn: oh let me have a look12:43
lynxmanhallyn: well it's definitely wishlist, wouldn't it be extremely hard to do I reckon12:44
hallynwould there be any reason not to?12:44
uvirtbotNew bug: #1015104 in samba (main) "package winbind 2:3.6.3-2ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/101510412:46
lynxmanhallyn: hmm not really, unless its broken somehow (could be)12:46
zulgood morning12:53
zulhow do i configure grub12:53
hallynlynxman: thanks13:01
lynxmanzul: :)13:05
=== hito_jp0 is now known as hito_jp
hallyngary_poster: hey, for the 8+ lucid containers, have you tried running that on something cheaper like m1.xlarge, and it wasn't enough?  (just wondering)13:25
hallyn(just wondering whether i can save a few bucks :)13:25
hallyngary_poster: and if not, which ami did yo use with the cc2.8xlarge?13:32
koolhead17Daviey, ping13:39
=== niemeyer_ is now known as niemeyer
=== zyga is now known as zyga-afk
hazmathallyn, ping13:48
hallynhazmat: .13:50
hazmathallyn, greetings, and thank you.. i wanted to ask about the ramifications of unconfined containers and arbitrary package selection causing problems on the host13:50
hazmathallyn, the most common use case we use lxc for is basically for people to install on their primary desktop/laptop.. and then their installing and developing charms against fairly random packages.. the scenario i want to avoid is ofc toasting the host.13:51
hazmatie. not so much malicious escape, but inadvertant perm changes to the host13:52
hazmatit wasn't clear to me to what extent the aa profile is helping against that13:52
hazmatits mostly just functional denial and afaics this is one of the few times we've come up against it directly13:53
hallynhazmat: well the aa policy *does* prevent against accidents, but we used lxc for years without aa without worrying too much, or too manya ccidents13:55
stgraberhallyn: reading your e-mail now (one of these days where I need over an hour to catch up on feeds/e-mails/irc backlog/...)13:55
hallynso i don't *expect* anyone to lose data or their host13:55
hallynhazmat: there are still other protections, like the devices cgroup13:55
hazmathallyn, what sort of ops would entail accidents that AA might prevent?13:56
hallynecho b > /proc/sysrq-trigger13:56
hallynplaying with binfmt-misc module params13:56
hallyn(installing some qemu packages)13:56
gary_posterhallyn, I use the big machine because that's what we need for our own tests now, so it's easy.  We saw it on the 4 core hyperthreaded machine I think, but not sure.  I can try to replicate it there too.  AMI: juju handles that for me, but I had some notes on what API to use from before; lemme see if I can figure it out really quickly13:57
hallynhazmat: is this what my writing a custom apparmor profile for will help a bit?13:58
hallynhazmat: in any case, i dont' think you need to not use lxc just bc you have to disable apparmor13:58
hazmathallyn, definitely, i'm just trying to eval if we put this fix in on the short term13:58
hazmatre custom profile13:58
hazmatshared fs are going to be a common thing for setting up app charm stacks via lxc13:59
gary_posterhallyn, here are somewhat old instructions on getting an AMI for the big machine: http://pastebin.ubuntu.com/1049152/14:00
hallynhazmat: you can share with bind mounts?14:00
hallyngary_poster: thanks14:01
hazmathallyn, i think given the current state of juju local provider, which is isn't great, its probably better for us  to leave off on disabling aa  for a few weeks till the next upload..14:01
gary_posterwelcome.  thank you for looking at it.  you want me to try the 4 core/8 hyperthreaded machine and see how to dupe?  Happy to if it helps.14:02
hazmathallyn, the goal is that they take what they've done locally and deploy it to public cloud or bare metal without changes.. bind mounts don't really help14:02
stgraberhazmat: so far I've been recommeding users to copy the default apparmor profile and add the required overrides in there, though anything that is known to be "safe" should find its way into the main profile14:02
=== guampa is now known as Guest59391
hallynhazmat: makes sense, thx14:02
stgraberhazmat: you should also be able to make these mounts from lxc's fstab instead of the fstab inside the container, that'll bypass apparmor14:03
hallynstgraber: (this is re the email last night) we just need to provide them with custom rules, and they can have juju always add those14:03
hazmathallyn, stgraber that sounds good re custom profile14:03
hallynok i need to go for a bit, bbl14:04
hazmathallyn, thanks14:04
hazmatstgraber, we don't actually know per se what the mounts are when we allocate the container14:04
stgraberhazmat: right, but the mounts can be allowed per fstype, and if that fstype is "safe" we can even allow it in our default profile14:05
stgraberhazmat: (the definition of "safe" being whether the container can bypass apparmor restrictions by mounting it)14:05
=== guampa_ is now known as guampa
stgraberhazmat: in your case, you may want to:14:06
hazmatstgraber, ic what would that look like14:06
stgraber1) cp /etc/apparmor.d/lxc-default /etc/apparmor.d/lxc-default-with-glusterfs14:07
stgraber2) edit /etc/apparmor.d/lxc-default-with-glusterfs14:07
Davieykoolhead17: hey14:07
stgraber - change the profile name at the beginning of the file14:07
stgraber - add "mount fstype=glusterffs," to the content14:07
stgraber3) /etc/init.d/apparmor reload14:07
stgraber4) edit your containe config to use lxc.aa_profile = <profile name you put at the beginning of the new file>14:08
stgraberhazmat: the problem being that you then need to keep our main profile and your alternative profile in sync somehow. I suppose you could script the generation of your profile or simply get us to merge your changes in the main one (we can even SRU these)14:09
hazmatstgraber, is there an include for a profile?14:10
hazmatie. inheritance of some form.. or is that limited to separate policy files14:10
hazmatits not clear that's really a solution though, it means white listing things on a case by case basis14:11
hazmatjust going through rdepends on a few fuse packages, get's me a list of 84.. http://paste.ubuntu.com/1049175/14:13
stgraberhazmat: apparmor supports includes but it works like #include in C, so won't help there as it'd include the whole profile including the profile definition14:13
K4kAre there any alternatives to landscape for managing Ubuntu client systems? I'm trying to get things more organized around here and I've got our Redhat systems managed under Spacewalk but the Ubuntu machines are still unmanaged and I'm relying on "unattended-updates" to ensure machines stay current which is not really an ideal solution for patch vetting.14:13
stgraberhazmat: let me test this quickly, I'd be surprised that we wouldn't have a way to allow any fuse based filesystem at once14:14
hazmatstgraber, thanks14:14
stgraberhazmat: and if there isn't, we can probably convince jjohansen to add one ;) nice thing of being the upstream14:14
hazmatstgraber, :-)14:15
hazmatK4k, puppet?14:15
K4khazmat: I thought puppet was more for configuration deployment. Does it handle binary deb files as well?14:16
stgraberhazmat: http://paste.ubuntu.com/1049182/14:17
hazmatK4k, well you can have it setup to cron a check against installable updates/deltas or report back via any preferred protocol, and then have it install a given set of package updates specific to a release, its quite a bit more fiddling/development than something like landscape, but it can definitely be done.14:17
hazmatstgraber, perfect14:18
stgraberhallyn: ^ looks like we should allow fstype=fuse.*, in the default profile. I can't think of any problem with that, do you?14:18
hazmatstgraber, so the ideal would be just getting that into the default profile14:18
K4khazmat: I'll consider that. Thanks. I'm mainly looking for alternatives to save costs but perhaps, if landscape isn't terribly expensive, I could convince management to approve some sort of budget for this.14:18
stgraberhazmat: yep, I'm working on a few other apparmor profile changes for quantal, will include this one in the set unless hallyn thinks it can be a problem, then this one should be SRUed back to 12.04 with the next batch (in couple of weeks)14:20
hazmatstgraber, sweet! thanks again14:21
WomkesHey guys, I have a windows 7 machine with virtual box and one of my vm's is my Ubuntu workstation (for development and stuff) and I have two bare-metal servers connected to my home network. When I connect through ssh from my Ubuntu vm to these bare-metal server I get a ssh timeout during a session (doesn't have to be idle just happens after a few minutes). I do not have this problem when14:26
WomkesI connect through ssh from my windows box using putty.14:26
WomkesAny thoughts why this might happen?14:26
RoyKWomkes: connecting from the vm to a server should work well. does other types of networking work?14:29
Womkesyeah no other problems as far as I can tell RoyK14:30
WomkesThe Terminal session to the server just die with this message14:30
WomkesTimeout, server srv2.bluejay.nl not responding.14:31
WomkesAnd when I reconnect the last commands I entered are not in my bash history14:31
RoyKWomkes: telnet server 2214:31
RoyKWomkes: just to see if networkingworks14:31
stgraberhallyn: I think I have a pretty nice improvement for our apparmor config, will put that in a branch so you can have a look14:31
RoyKWomkes: just to see if networking works14:31
WomkesWhen I connect from my Windows 7 PC to the server there is no problem14:31
Womkesfrom the ubuntu vm or from my windows box RoyK?14:31
RoyKfrom where it doesn't work14:31
RoyKmeaning the ubuntu vm, I guess?14:32
=== zyga-afk is now known as zyga
Womkesyes14:32
WomkesOk14:32
Womkesyou want the output pastbinned ?14:32
RoyKk14:32
Womkeshttp://paste.ubuntu.com/1049198/14:32
hallynstgraber: sounds good14:32
WomkesI have of course put 192.168.178.110 srv1.bluejay.nl in my /etc/hosts file14:33
RoyKWomkes: that means you should be able to ssh there14:33
RoyKwhy?14:33
WomkesYeah ssh works14:33
Womkesit just get disconnected14:33
RoyKah14:33
Womkesafter a few minutes14:33
RoyKsetup ssh keepalives, then14:34
Womkeseven when the session isn't idle, like in the middle of doing stuff14:34
RoyKor use bridged networking14:34
WomkesI tried, but still occurs14:34
Womkeslemme check if I used bridge in vbox14:34
RoyKWomkes: ServerAliveInterval 514:34
arusselhow do you create an ec2 snapshot without lvm installed and with default fs (ie, not xfs) ?14:34
WomkesYeah, I use Bridged Adapter in virtual box14:34
RoyKin $HOME/.ssh/config14:34
RoyKarussel: you can't14:35
RoyKarussel: that is, unless amazon lets you do that from their tools14:35
arusselwith lvm I could freeze the fs while doing the backup, but I kind of 'forgot' to install lvm on that one.14:36
WomkesOk, I will try RoyK, I think I tried it before though and it didn't work14:36
Womkesbut I put it in /etc/ssh/ssh_config14:36
Womkesnot in ~/.ssh/config14:36
RoyKarussel: only fs with snapshot support in ubuntu is, afaik, btrfs, and then, zfs, but that's with fuse14:37
RoyKarussel: lvm snapshots aren't very good - the more snapshots, the slower i/o14:37
RoyKWomkes: shouldn't matter much14:37
arusselamazon doc says: 'Some file systems, such as xfs, can freeze and unfreeze activity so a snapshot can be made without unmounting.', but I'm with ext314:37
arusseland if I umount, postgres might be pissed off.14:38
RoyKarussel: stop postgres ;)14:38
RoyKarussel: and ext3 will probably handle that rather well14:38
RoyKarussel: a filesystem without a journal will have a harder time, though14:38
RoyKWomkes: erm - you put that in /etc/ssh/ssh_config on the client or server?14:41
arusselwasn't lvm by default on previous ami ?14:41
arusselI don't remember installing it is there on the 10.x14:42
Womkeson the client14:42
RoyKok - that's where it belongs14:43
WomkesI believe it is /etc/ssh/sshd_config for server and then it is ClientKeepAlive something14:43
WomkesI tried that also :)14:43
RoyKWomkes: I haven't used client VMs like that, so I wouldn't know, but all my ssh sessions survive all sorts of gateways with just that line I gave you14:44
arusselfuck it, I'll redo the volume. Any advice between lvm or xfs ?14:44
Womkesok, I have it running now14:44
Womkeswe'll know in a few minutes :)14:44
stgraberhallyn: lp:~stgraber/ubuntu/quantal/lxc/apparmor-profiles-rework14:44
stgraberhallyn: I haven't tried a build of the new package but I'm running with these profiles on my machine and they work great14:45
stgraberhallyn: these should be much easier to customize as /etc/apparmor.d/lxc/* can now just inherit from the main profile, that also greatly simplifies the with-nesting profile14:45
hallyn(looking)14:48
hallynstgraber: looks great14:49
hallynstgraber: presumably not SRUable, but perhaps we can put up a wiki page with a script for people to convert to that setup14:50
stgraberhallyn: yeah, we won't be able to SRU that, though the fstype=fuse.*, stuff is SRUable if you can't think of a reason why it'd be bad allowing it14:51
stgraberhallyn: when we get the API work and the hooks in a good enough shape and get these uploaded to quantal, I'll probably start maintaining backports of lxc as well as continuing with the srus, that way people can choose whether they want just bugfixes or also new features14:53
hallynstgraber: regarding always allowing fuse...  i dunno, it does scare me a little15:03
stgraberhallyn: I think the potentially dangerous thing is /dev/fuse, not the filesystems themselves and we already allow /dev/fuse15:04
stgraberhallyn: I'll go ahead and upload these changes including the fuse.* change to quantal. Will rediscuss whether it's safe or not with the next batch of SRUs. I think that if we consider fuse to be risky, we should block it in the ubuntu profile but still allow it in apparmor (so one doesn't need to change their profile if they allow the node in their config)15:11
stgraberhazmat: FWIW, fuse.* is now allowed in quantal. Making alternate profiles is also much simplified as you can now do it without duplicating the default one15:15
hallynstgraber: agreed, given that /dev/fuse is allowed, i must have agonized over it before and decided it was ok :)15:16
hallyninterestingly i can't reproduce gary_poster's parallel-lxc-start-ephemeral/dnsmasq race on a m1.xlarge.  i wonder if it's a race that needs faster/more cpus15:17
hallyn(race in dnsmasq is my guess, really)15:17
stgraberhallyn: apparmor changes uploaded to quantal. Rebased my liblxc+python-lxc branch on that one and uploaded to my ppa for precise and quantal15:23
hallynjust ppa:stgraber/ppa ?15:23
stgraberhallyn: ppa:stgraber/experimental15:23
hallynok15:23
stgraberI'm still running precise on my laptop but like to have the new shiny lxc with python-lxc support ;)15:24
grendal-primei use to be able to change wich physical interface was atached to wich eth device in 10.04 with the /etc/udev.rules/70-persistent-net  file..how do i do that with 12.0415:29
patdk-wksame way?15:31
grendal-primeya but there is nothing in there.15:35
patdk-wkyep, hmm15:40
grendal-primei mean it currently has to be stored somewhere15:41
* patdk-wk tests15:41
pteixeirahello! i need to run the vmbuidler command from a web application (takes the info related to the packages to be installed from the web application and uses vmbuilder to create the VM image), but i need sudo permissions to run it.. is there a way to overrun this or is it simply not possible?15:42
pteixeira(jeos and vmbuilder page redirected me here, dont know if this is the right place...)15:42
grendal-primeit seems to me that the 75-persistent-net-generator.rules does not run automatically anymore15:43
grendal-primepteixeira, ya the www-data user having sudo privilages may not be good..you may want to just make your script sudo15:44
hazmatstgraber, nice15:44
grendal-primemeaning making it the one script that that particular user has sudo access to.15:44
hallynstgraber: syslog corruption...  what do you think?  do we continue to put up with it until after user namespaces are complete?  (preferable from a dev point of view, not from user pov)15:46
hallyn(but only not preferable from user pov if we can get a real fix in :)15:46
pteixeiragrendal-prime, thanks! i didnt even know that was possible :)15:46
grendal-primepteixeira,  np here15:49
grendal-primehttp://www.cyberciti.biz/tips/allow-a-normal-user-to-run-commands-as-root.html15:49
pteixeirathank you very much :)15:49
stgraberhallyn: that doesn't sound like an easily fixable thing so I don't think it's worth risking delaying the user namespaces work for it, especially as it's really just annoying, it's not dangerous.15:50
grendal-primewell shucks...ill tell ya what you can repay me by marrying my sister (The ugly one).15:50
uvirtbotNew bug: #1009579 in tomcat7 (universe) "[MIR] tomcat7 (replaces tomcat6)" [High,In progress] https://launchpad.net/bugs/100957915:51
hallynthe biggest reason it's not 'easily' fixable is that it still isn't clear which namespace should own the syslog ns :)  (or how to control unsharing it)15:51
grendal-primein my country that is the honorable way to repay such a debt.15:51
gary_posterhallyn, I saw your comments about not being able to dupe.  Weird.  I'm going to try making a fresh ec2 instance with nothing else on it.  I'll try both the sizes you did.15:51
hallyngary_poster: thanks.  i tried your exact commands from the bug report...15:51
hallynoh maybe  i did just reproduce it15:52
gary_posterhallyn, yeah, I figured you did.  They worked for me.  Maybe the fact that I had used the system quite a bit before affected it.  I'll report back.  thanks again.15:52
gary_posterI mean I figured you tried the exact commands.  but if you did just repro, yay!15:53
patdk-wkgrendal-prime, I just tested it, using udev/rules.d/70-persistent-net works fine15:53
patdk-wkit's just not auto-filled anymore15:54
hallyngary_poster: yeah.  so the bear is going to be writing a script to figure out which container doesn't yet have an address :)15:54
grendal-primeok so is there anyway to initally have it grabe whats there so i can just move around what it found?15:54
hallyndhclient3 didn't start until after the 3 mins, so the q is did the first one die, or did something wait for 3 mins15:54
hallyni'm going to blame udev15:55
gary_poster:-)15:55
grendal-primepatdk-wk, i tried to fire off the 75-persisant-net-generator script but i got to mess with the perms to do that. (no Xecute)15:56
grendal-primeor execute it with bash..15:56
grendal-primebut ...well it doesnt seem to do what i want15:56
grendal-primeand it just pukes a buch of errors.15:58
gary_posterhallyn, should I bother continuing to spin up ec2 instances or is that moot since you duped?15:58
grendal-primestarting with 75-net-description.rules: line 4: SUBSYSTEM!=net,: command not found15:58
hallyngary_poster: moot - thanks15:59
gary_postercool15:59
hallyni'm going to try with separate containers15:59
hallyn(still i'm pretty sure the problem is udev pauses and the containers don't get an eth0 to run dhcp on )16:00
=== zyga is now known as zyga-afk
uvirtbotNew bug: #1015186 in bind9 (main) "bind9 init script relies on unavailable capability kernel module" [Undecided,New] https://launchpad.net/bugs/101518616:21
smoserroaksoax, i suspect this is magically all working...16:21
smoserbut can you verify that the maas/cobbler pxe install path uses16:21
smoser http://www.syslinux.org/wiki/index.php/SYSLINUX#IPAPPEND_flag_val_.5BPXELINUX_only.5D16:21
smoserie, that pxelinux appends "BOOTIF=" for us? and then the installer (if given 'auto' for the netcfg/choose_interface uses that)?16:22
=== Lcawte|Away is now known as Lcawte
grendal-primethis kinda blows..alot16:24
grendal-primei just want to change the order of these damn interfaces16:24
adam_gzul: what are we waiting on specifically, wrt nova hitting -proposed?16:41
uvirtbotNew bug: #1015194 in postfix (main) "package postfix 2.9.1-5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/101519416:45
stgraberhallyn: http://paste.ubuntu.com/1049431/ <- unicode works fine in python3-lxc + liblxc now (though utf-8 is hardcoded, so I'd expect it to explode quite badly if using another encoding)16:48
hallynstgraber: excellent, i can start my ki-ich, ki-ni, and ki-san containers now16:56
hallynstgraber: do you know offhand of a rate limit imposed by either udevd or the kernel's uevent subsystem?16:58
hallynfeh, i suppose kernel could just be running out of memory for th euevents17:02
hallyn<chuckle> a per-container syslog woudl sure be helpful ehre :)17:05
hallyngary_poster: is the given workaround (disable udevam trigger) worakble for you?  (set that up in the initial lucid container, and it gets copied into the pehemeral ones)17:07
hallyngary_poster: i don't knwo whether (a) udev in container is failing to allocate a netlink socket and then timing out,17:07
hallyn(b) kernel is failing to allocate memory for some events (can certainly happen), or (c) kernel or userspace is just throttling17:08
hallyni'm guessing a.  in any case, i prefer to ignore it and move to other stuff, if the workaround works for you17:08
jjohansenhazmat: I'd like to get some more info from you on how you would like to extend apparmor profiles17:09
gary_posterhazmat completely understood that you want to move on.  I'll give it a try and report back.  What would be symptoms of it not working?17:10
hallyngary_poster: it works (i tried it), i meant - is it doable for you to modifiy the initial container every time17:10
hazmatjjohansen, so with the change to allow fuse in the default its not clear we need to.  but if we do need to customize it, the ideal scenario is that we can include the default and override the relevant bits17:10
stgraberjjohansen: not sure if you saw my lxc upload to quantal but I moved most of our apparmor profiles around ;) basically adding two entries in /etc/apparmor.d/abstractions that are then included in usr.bin.lxc-start, lxc-default and lxc-default-with-nesting. This now allows people to "inherit" from our implementation and removes the need for copy/pasting everything17:10
jjohansenstgraber: right17:11
hallynstgraber: which is of course what i always wanted to do :)  just hadn't gotten around to it17:11
hallynstgraber: we might even introduce a lxc-set-profile -n containername script,17:11
hallynwhich just creates a new empty profile, sets the config to use that, and then the user can go hack from there.  small improvement, but at the same time huge usability improvement i think17:12
jjohansenhazmat: right I understand what you want, let me rephrase I am looking for ideas/visions of how you would like to see it function.17:12
PlizzoMy Ubuntu Server has been disconnected from the network for some hours, and now that I plugged it back in it only gets an IPv6 address, and no IPv4 one. This means I cannot access it properly, what do I do?17:12
gary_posterhallyn, oh, ok.  Yeah, we do surgery for various other issues already.  Thanks!  I'll report back on the bug after I have a bit of experience with it, to make sure it works for us17:12
hallynbtw can i just say, for all the wanting lxc-devel to stick around, there's not a lot of review there!  <grumpy>17:12
hallyngary_poster: awesome, thanks.  ttyl17:13
gary_posterttyl17:13
stgraberhallyn: sounds useful indeed. I've been helping quite a few folks do the copy/pasting, reloading, lxc.aa_profile stuff and it's getting a bit boring having to copy/paste the same instructions over and over again ;)17:13
jjohansenstgraber: I can imagine :)17:14
hallynheh17:14
jjohansenstgraber, hallyn: same basic question applies to you too. If you have ideas on extending the language to make this easier lmk17:15
hallynjjohansen: well, the per-fs thin would be very useful.  i.e "deny write to sysrq-trigger on any procfs".  i relize that's more than a language change :)17:16
jjohansenhallyn: yeah I am working on that17:17
hallynjjohansen: great :)17:17
hallynfor instance, debootstrap isn't allowed bc of that :(17:17
hallynanyway, dont' know that i have anything more.  (back to hackhackhack)17:18
PlizzoHow can I force my server not to accept an ipv6 address?17:18
PlizzoOr atleast to obtain an ipv4 one17:18
PlizzoLike it used to17:18
RoyKPlizzo: ipv6 should work by default with address discovery17:20
RoyKPlizzo: ipv4 can be set manually or by dhcp/bootp  in /etc/network/interfaces17:20
PlizzoRoyK: IPv6 is working, but for some reason my server is not getting an IPv4 address17:20
RoyKdo you have dhcp around?17:20
PlizzoRoyK: My router is set to give my server a static IPv4 address, and the server is the only computer which obtains IPv617:20
PlizzoRoyK: It's always been getting the same IPv4 one until now17:21
uvirtbotNew bug: #1015207 in juju (universe) "juju setup fails, ERROR Invalid SSH key - 12.04 LTS" [Undecided,New] https://launchpad.net/bugs/101520717:21
hazmatjjohansen, so std include statement should work fine to grab a definition, and then a stanza prefix/statement to specify an override/modification block over an existing entity (program, profile, etc)17:21
RoyKthen your router is probably having a fit17:21
hazmatso something like @override\n profile lxc-container-default  { deny /dev/zero }17:22
jjohansenhazmat: okay thanks17:24
stgraberhallyn: just looked at my bug mail, does that mean that gary_poster's bug doesn't happen with >=precise containers?17:33
hallynstgraber: right17:33
hallynstgraber: which is why i had assumed it would turn out to be udev :)17:34
hallynstgraber: where is your bzr tree for the lxc api now?  i'll make my destroy/create changes against that17:39
stgraberhallyn: lp:~stgraber/ubuntu/quantal/lxc/lxc-api-and-python17:40
stgraberhallyn: actually, are you part of the ubuntu-lxc team?17:41
stgraberbecause I guess it'd make sense to just share that branch for now instead of branching/merging for every little bits17:41
arusselis it a problem for xfs_freeze if a subdirectory is used as mount point ?17:43
stgraberhallyn: now at lp:~ubuntu-lxc/ubuntu/quantal/lxc/lxc-api-and-python and I added you to ~ubuntu-lxc so you can directly push to it17:43
stgraberhallyn: the liblxc changes are in the last quilt patch, so you can simply update the files and refresh the patch17:43
stgraberno need to create any more patches at this time17:44
roaksoaxsmoser: we don't specify bootif=XYZ17:44
roaksoaxsmoser: but we do have ksdevice=bootif17:45
smoserroaksoax, i think we end up specifying BOOTIF=17:45
smoseras it seemed our pxelinux (in grepping cobbler) hyas 'ipappend 2'17:45
roaksoaxsmoser: http://pastebin.ubuntu.com/1049530/ we don't specify a bootif=XYZ17:46
hallynstgraber: do you think lxc-destroy should now be deleting custom profiles?17:46
hallynmaybe best not...  but hate to have those proliferate too much17:46
roaksoaxsmoser: but in this one we specify ksdevice=bootif17:46
roaksoaxsmoser: http://pastebin.ubuntu.com/1049531/17:47
smoserroaksoax, we dont specify bootif=17:47
smoserwe specify ipappedn 217:47
hallynstgraber: thanks  (i'd have ben happy doing merge proposals :)17:47
stgraberhallyn: unless we decide to always have one profile per container which IIRC we said wasn't a good idea, we probably shouldn't be removing them. At some point it might be interesting to detect unused profiles and show the list at the end of lxc-destroy17:48
roaksoaxsmoser: right we do17:48
roaksoaxsmoser: i think those don't really apply to Ubuntu though as they are for anaconda...17:48
hallynstgraber: yeah, a purge command shouldn't be too hard.  look for all profiles not mentioned in a config, and query the user one at a time.  anyway, later.17:49
stgraberhallyn: and will be even easier to do in python ;)17:49
roaksoaxsmoser: though, I just found this: https://bugs.launchpad.net/ubuntu/+source/casper/+bug/92321917:49
uvirtbotLaunchpad bug 923219 in casper "[Oneiric] PXE/NFS boot requires "IPAPPEND 2" in PXE menus" [High,Confirmed]17:49
roaksoaxsmoser: so yes, it should be using the bootif for the installer if netcfg/choose_interface=auto17:50
hallynstgraber: lp:~serge-hallyn/ubuntu/quantal/lxc/lxc-aa-custom-profile adds a lxc-aa-custom-profile, works for me17:50
hallynlunch, bbl17:51
smoserwhich magically makes BOOTIF= appear on the linux command line17:51
smoserroaksoax, ^17:51
stgraberhallyn: ok, having a look and will merge in lp:ubuntu/quantal/lxc if it looks good (and then rebase my lxc-api-and-python branch on the main branch)17:52
hallynstgraber: i'm not sure it's worth a separate commit, was thinking we'd just queue it in ubuntu:lxc until a more important one17:52
stgraberhallyn: (oh yeah, you might have to use "bzr pull --overwrite" with lxc-api-and-python from time to time as I rebase it on the main quantal branch whenever something lands)17:52
hallynthen again, you've done more of the tedious repetition than i have (explaining how to do it) :)17:52
stgraberhallyn: yeah, I'd merge it but not upload it17:52
hallynok17:52
roaksoaxsmoser: bootif=XYZ18:00
roaksoaxsmoser: so my guess is that ipappend 2 adds bootif=XYZ as a kernel param on runtime rather than in the file itself?18:00
smoserroaksoax, right.18:00
smoserits magic/genius pxelinux. and it appears that our whole stack uses it for automated install.18:01
smoserreally clever idea from pxelinux to do that. it basically passes the interface that it booted from up to linux.18:01
roaksoaxsmoser: indeed, which really make sense18:02
smoserSpamapS, if you wanted to think about https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/101522318:05
uvirtbotLaunchpad bug 1015223 in cloud-init "cloud-init-nonet main process killed by TERM signal" [Undecided,New]18:05
smoseri'd appreciate it.18:05
uvirtbotNew bug: #1015223 in cloud-init (main) "cloud-init-nonet main process killed by TERM signal" [Undecided,New] https://launchpad.net/bugs/101522318:06
=== koolhead17 is now known as koolhead17|afk
SpamapSsmoser: reading18:12
=== emobathtub_ is now known as emobathtub
matt_keysI had a 250gb sata disk running 10.04 and replaced it with a 120gb ssd running 12.04. My kvm images are now on sdb3, how do I move them into sda3?18:29
RoyKmatt_keys: they're normally under /var/lib/libvirt/images18:39
RoyKjust files18:39
miceikenokay this is weird18:40
miceikeninsserv is installed, but when I use it it says command not found18:40
RoyKmatt_keys: the vm config is under /etc/libvirt/qemu - you might want to move them over as well18:40
Aatonanyone having problems with 12.04 LTS not rebooting when your doing a network install?18:49
fratermmatt_keys, if you have any good references for configuring those Virtual Machines networking statically I'd like to pick your brain.18:49
matt_keysRoyK : I've got sdb3 mounted on /sdb, so I recursive copied /sdb/var/lib/libvirt/* and /sdb/etc/libvirt/ , but they're not showing up in virt-manager18:50
fratermpermissions I bet.18:50
Aatonthe debian-installer seems to be caught in a loop. if I have a preseed/late_command it will try to run it twice but fails the second time since /target is unmounted18:50
matt_keysfraterm : worked for me just configuring static since they're bridged.18:50
fratermmatt_keys, are all of your VMs ubuntu ones?18:51
roaksoaxAaton: afaik you can only have 1 late_command in the preseed18:52
fratermI only have one and it's a centos 6.2 beasty.18:52
matt_keysRoyK : I do see the volumes on the storage screen, though.18:52
RoyKmatt_keys: restarted libvirt?18:52
matt_keysRoyK : ahh... one sec.18:52
Aatonroaksoax: yep I have only one.18:53
AatonI get a dialog box about the machine rebooting but it then tries the late_command again instead18:54
matt_keysRoyK : restarted qemu-kvm and libvirt-bin both, still not there18:55
matt_keysfraterm : not all of them. I have centos 6.2 ones too.18:55
fratermI must have a squirrelled up resolv.conf I suspect.18:55
matt_keysfraterm : dns keep getting wiped?18:55
fraterm/etc/resolv.conf is there.18:56
roaksoaxAaton: how are you running your late_command?18:57
Aatond-i preseed/late_command string wget -Y off -P /target http://10.X.Y.Z/d-i/precise/late_command.sh ; chmod +x /target/late_command.sh ; chroot /target/ /bin/bash /late_command.sh18:57
Aatonit works. and completes the commands I have inside it.18:58
roaksoaxAaton: I think you should do it like this:18:58
matt_keysfraterm : I've seen network manager wipe out the static dns settings... you have to set a few things in ifcfg-eth0 to keep it from doing that18:58
fratermbasically broken network configuration here I think then.18:59
fratermit´s that networks are unreachable.18:59
roaksoaxd-i preseed/late_command in-target sh -C 'wget http://10.X.Y.Z/d-i/precise/late_command.sh; etc etc etc'18:59
* fraterm turns off NM_CONTROLLED19:00
roaksoaxAaton: or similar, but you need to use in-target so that it does stuff in the targe19:00
roaksoaxAaton: it is probably because of the way you are doing it that it fails19:00
Aatonroaksoax: ok I'll give that a try19:00
roaksoaxfraterm: man resolvconf will tell you how to set static dns19:01
fratermI dunno that it's resolvers.19:02
Aatonwill it use the wget that is in busybox or the wget in /target. I have to make sure it doesn't try to use the proxy I'm behind.19:02
roaksoaxAaton: in-target19:03
roaksoaxAaton: that's why you use the in-target19:03
fratermI can ssh in to the machine over the bridged network, I can't ping anything outside of my subnet from within the machine.  I can ssh out to machines inside my subnet.19:03
matt_keysfraterm : http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-networkscripts-interfaces.html . you'll want to use PEERDNS=yes, then DNS1=8.8.8.8 DNS2=8.8.4.419:03
fratermI´m behind a proxy though.19:04
fratermBut I will give that a look.19:04
matt_keysfraterm : unless you're restricting icmp out, proxy shouldn't interfere with it... just http/https traffic19:04
fratermBut I should still be able to ping X host in a different network... I bet I have a gateway or netmask or other setting a bit off.19:05
matt_keysfraterm : can you ping internal network hosts?19:06
fratermmatt_keys, certain ones yes19:07
fratermmy host vm IP address, and one host that is in our subnet.19:07
fratermdns no, gateway...19:08
matt_keysfraterm : traceroute 8.8.8.819:09
fratermcan ping the gateway... hurmph19:09
matt_keyswhere does it stop?19:09
fraterminstalling traceroute would help.19:09
fratermmatt_keys, no more assistance til I get some good debugging tools though.19:10
fratermI don´t want to waste your time with this.19:10
matt_keysnp19:10
matt_keysstill trying to figure out why i can't see my vms :p19:10
matt_keysbrb19:11
fratermI had a big problem with 12.04 recognising my ability to alter the configuration to use the bridge.19:11
fratermUntil I did it as root.19:11
fratermthe virtual machine manager gui isn't able to alter that setting unless you have the VM "powered off" as well... and as a normal user it doesn't alter the parameter for the network away from using NAT.19:12
axisysHP DL380 would be a good server to run mysql? I have about 20GB worth of ibdata with one table with 6 million transactions and another for 1 million.. running RT19:19
rocketsHere's a silly question: How does Ubuntu pick which version of a package to install, if I have multiple apt repositories in my sources.list that contain that package? Does it just pick the newest one?19:22
ikoniarockets: if you don't have pinning setup, pretty much yes19:29
rocketsThanks ikonia19:36
K4kWhen creating an install disk with a ks.cfg file. Is it possible in the %packages section to somehow tell the system to install all normal packages and then just specify the individual packages you specifically need to apt-get install in addition?19:47
muszekhi... I'm running Nginx and PHP on my computer.  Today update manager told me there's a few php5* packages to be upgraded.  But along with this upgrade it wants to install a bunch of Apache packages... I don't run apache and don't want it installed... what gives?19:47
smoserSpamapS, that bug make sense? the same basic issue is present in failsafe.conf20:20
SpamapSsmoser: totally makes sense20:21
SpamapSsmoser: seems like that shouldn't be on the console20:21
smoseris there a way to gracefully be terminated? so that init would'nt output such a scary message?20:21
SpamapSseems like it should be lowered to 'info' priority. Who cares about the TERM?20:21
SpamapSit is being "gracefully" terminated20:21
SpamapSby upstart is all20:21
SpamapSsmoser: anyway, I'm running off to lunch, bbiab. Agreed that it should be solved. Not sure exactly how though.20:22
SpamapSsmoser: IMO thats a bug in upstart20:22
smoseryeah, i agree.20:22
smoserfwiw, SpamapS you have mixed tabs and space in failsafe.conf20:23
matt_keysback, can't remember who I was helping earlier20:23
arusselI've configured postfix to forward mail to an smtp server following: https://help.ubuntu.com/community/GmailPostfixFetchmail I'm not using gmail as a server, but I've  been using my own mail server20:32
arusselwhen I test the setting with "sendmail -bv me@gmail.com"20:32
arusselI don't have any error but I get the message "Mail Delivery Status Report will be mailed to <ubuntu>."20:33
arusseland ubuntu does get a mail in its mailbox on the server20:33
arusseltelling that delivery to was OK20:34
arusselthe problme is I've got nothing in my mailbox at gmail.20:34
arusselWhere should I start looking to fix this ?20:34
derpyderphi! is it normal that i get the message "--libvirt command not found; --addpkg command not found" when trying to run the vmbuilder command in the jeos-and-vmbuilder page? i can boot the image and login, but there are no packages created, i dont have grub and apparently nothing on he disk...20:35
uvirtbotNew bug: #1015294 in samba (main) "package samba 2:3.6.3-2ubuntu2.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 128" [Undecided,New] https://launchpad.net/bugs/101529420:36
Aatonroaksoax: tried your preseed/late_command method. it did not fix the problem I was having where the debian-installer does not reboot. d-i finished the late_command and then tried to reboot but doesn't. then runs the late_command again which fails.20:36
Aatonhave to cold reboot the system20:37
derpyderpanyone?20:43
miceikenHi.20:44
miceikenVirtual packages like 'gitosis' can't be removed <- what does this mean? how do I remove it20:44
lifelessyou can't, because its not installed20:45
lifelesssome other package is installed, which is providing it.20:45
lifelessThis is crazy UI wise, sure, but it is what it is :)20:45
miceikenah thanks lifeless20:47
miceikenwhile i have you here20:47
miceikeninsserv is installed, but when I use it it says command not found20:47
derpyderplet me rephrase my question: i need to create custom VM images, and im trying to do so via the bash script provided in the JeOS and vmbuilder page in the ubuntu website. however, i get three error messages when the process is complete: --libvirt =qemu:///system command not found, --addpkg command not found, --addpkg command not found" :|20:49
derpyderpactually it says "--libvirt=qemu:///system: No such file or location", plus the other two --addpkg command not found, my bad20:51
=== pjdc_ is now known as pjdc
roaksoaxAaton: is it possible for you to show me the syslog of the installtion process?20:55
Aatonroaksoax: sure once the system comes back up I'll grab it from /var/log/installer/syslog21:01
uvirtbotNew bug: #1015311 in clamav (main) "package clamav-base  not installed  failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/101531121:15
hallynstgraber: d'oh, src/lxc/tests is empty in your bzr branch :)21:41
hallynstgraber: and IIUC lxclock.h and lxccontainer.h will no longer be exported to /usr/include/lxc21:41
stgraberhallyn: what?21:42
hallynnm, i'm an idiot21:42
stgraberroot@python-lxc:~/lxc-api-and-python# ls src/tests/21:42
stgrabercontainertests.c  locktests.c  Makefile.am  startone.c21:42
hallyn(quilt patches were not applied)21:42
stgraberoh yeah, you need to fight with quilt as usual ;)21:43
hallynwell it seems like policy has changed - i thought bzr used to keep the patches applied <shrug>21:43
stgraberI usually fight until the point where "bzr st" looks reasonable, then look at the code ;)21:43
stgraberwell, they definitely are applied in the branch21:43
stgraberroot@python-lxc:~/lxc-api-and-python# bzr revno21:43
stgraber12021:43
stgraberroot@python-lxc:~/lxc-api-and-python# bzr st21:43
stgraberroot@python-lxc:~/lxc-api-and-python#21:43
hallynreally???  try a clean fetch21:44
hallynbzr branch lp:~ubuntu-lxc/ubuntu/quantal/lxc/lxc-api-and-python21:44
hallyncd lxc-api-and-python; quilt ap21:44
stgraberhallyn: hmm, let me try to convince LP that what I have locally is right :)21:46
stgraberhallyn: gah, my bad, didn't push at the right place, that's why it's all broken...21:47
stgraberhallyn: should be good now21:47
hallyni should re-fetch?21:47
stgraberyeah21:47
hallyni'll wait until i finish writing my testcase and then just copy that over21:47
hallynthanks21:47
stgraber>>> test.start(cmd=["/sbin/init", "--debug"])21:49
stgraberTrue21:49
stgraberhallyn: ^ I have support for the *args => char** in my local branch now too21:49
stgraberhallyn: still need to fix the refcounting/memory management part of that hack though :)21:50
hallynstgraber: cool21:51
hallynstgraber: I'm going to suggest that container->destroy() doesn't need to try and stop the container, that is, it'll jsut fail if the container is running, and caller can sto pit if need be?21:56
hallyn(lemme know if you disagree)21:56
stgraberhallyn: that's what my python function does at the moment (throw an exception if the container is running), so WFM21:56
hallyngreat21:57
=== LordOfTi- is now known as TheLordOfTime
=== jedney is now known as JonEdney
stgraberhallyn: just checking, the container name is mandatory and can't be set after lxc_container_new()?22:16
hallynstgraber: correct22:18
hallynidea would be to use lxc-clone to get one with a new name22:18
hallynof course, you can cheat and just set c->name :)22:18
hallynwhy do you ask?22:18
hallyndestroytest passed, yay.  now the tough part, create :)22:18
hallynstgraber: do you think it should b set-able?22:19
hallyn(this of course shoudl be reminding me that we need clone still...  but i'll wait until someone asks for it)22:20
stgraberhallyn: wanted to check that my current implementation of .name being read/only was correct and for some reason I don't currently enforce a name to be passed to Container(), fixing that now22:20
blendedbychriscna i resize a partition of a drive that is mounted?22:28
hallynstgraber: what did you think about whether c->create(c) should save the config to disk?22:33
hallyni suppose it should22:33
stgraberhallyn: I just pushed a small debian/rules change to match your introduction of another test binary and I also pushed an update python binding including the switch to the new liblxc destroy()22:34
stgraberhallyn: I think it'd make sense for it to save the current config yeah22:35
stgraberhallyn: so I guess you'll need to implement save_config() first ;)22:35
hallyndrat22:38
stgraber>>> test.destroy()22:41
stgraberlxc_container: No such file or directory - failed to open freezer for 'test'22:41
stgraberFalse22:41
stgraberhallyn: ^ did I miss something?22:41
stgraberhallyn: oh, my bad ;) wrong mapping22:43
hallynphew22:43
stgraberworks fine now ;)22:43
stiv2ki am having problems with ecryptfs22:55
stiv2ktrying to run ecryptfs-umount-private22:55
stiv2ki keep getting this22:55
stiv2kfopen: No such file or directory22:55
stiv2kfopen: No such file or directory22:55
stiv2kCannot chdir into mountpoint.22:55
stiv2kany idea?22:56
=== Lcawte is now known as Lcawte|Away
tyhicksstiv2k: Lets get the obvious question out of the way first... is your ~/Private directory actually mounted?23:06
tyhicksstiv2k: Take a look at /proc/mounts to verify that it is currently mounted.23:06
AceFacehello all!23:10
AceFaceim looking for help configuring a startup script, would anyone be willing to help?23:10
SpamapSAceFace: can you be more specific?23:20
stiv2ktyhicks i fixed it23:21
tyhicksstiv2k: good to hear23:21
stiv2ktyhicks i was running the command as sudo when i shouldnt have been23:21
stiv2ktyhicks i had to uninstall and disable the encryption because the web site hosted on that user's account would only work when he was logged in23:22
stiv2kotherwise it couldnt see any of the files23:22
AceFaceSpamapS:23:22
AceFaceSpamapS: sure23:22
AceFacei have a script that i want to execute at bootup (script located here: http://pastebin.com/hxk4fwVD ) and this script is supposed start a service called connection manager (binaries located here: http://download.igniterealtime.org/connectionmanager/connection_manager_3_6_3.tar.gz ) so i extracted the folder "connection_manager" to /opt , to see directory structure please look inside the tarball. ive tried a few things and i just cant make the scri23:22
=== jedney is now known as JonEdney
SpamapSAceFace: chopped at 'just cant make the scri'23:23
tyhicksstiv2k: Right. You've got to enter some type of secret to provide an encryption key.23:23
tyhicks(the login password decrypts the encryption key, in this case)23:24
AceFaceive tried a few things and i just cant make the script start at bootup. does anyone have any suggestions?23:24
SpamapSAceFace: you don't say what you've tried23:25
AceFaceok, ive tried copying the script located at /opt/connection_manager/bin/cmanager.sh to /etc/init.d/conmgr.sh23:27
SpamapSAceFace: the simplest thing would probably be to make an upstart job.. http://paste.ubuntu.com/1050091/ .. put that in /etc/init/cmanager.conf ..23:27
AceFacethen doing sudo chmod +x /etc/init.d/conmgr.sh23:27
SpamapSAceFace: init.d's shouldn't have .sh suffixes23:27
SpamapSAceFace: they also need to take start/stop arguments23:28
AceFaceoh...23:28
AceFaceshows how much i know! haha23:28
rocketsIs the final version of server 12.10 going to have apache 2.4?23:28
AceFacei will try your given paste and report back in a few minutes23:28
SpamapSAceFace: this is actually better http://paste.ubuntu.com/1050095/23:28
=== qhartman_ is now known as qhartman
AceFaceSpamapS: what the difference between adding "post-start" and not?23:30
uvirtbotNew bug: #1015337 in clamav (main) "clamav-base fails configure with `/usr/share/doc/clamav-base/examples/main.cvd': No such file or directory" [Undecided,New] https://launchpad.net/bugs/101533723:31
AceFaceSpamapS: please take a look, is this what you mean?: http://img.ctrlv.in/4fe10c29022c9.jpg23:33
SpamapSAceFace: first one is just a bit more "hacky" .. the second one will work more reliably if you, say, go to single user mode and come back23:33
SpamapSAceFace: yes that screenshot looks good23:34
SpamapSwell except the theme on those windows.. ;)23:34
SpamapSthat looks like a prison23:34
AceFacethen after making /etc/init/cmgr.conf i then can reboot and expect the "conf" script to start /opt/connection_manager/bin/cmanager.sh ?23:35
AceFacewell, the workstations in the office are all MS windows, whereas the server rack is ubuntuserver located in a locked room23:36
AceFaceso i putty into the rack...23:36
SpamapSAceFace: yeah should work fine23:37
SpamapS\o/23:39
SpamapSOpenstack summit in San Diego23:39
SpamapS*woot*23:39
AceFaceSpamapS: i really appreciate your help, but the service doesnt seem to start23:40
AceFacedo i have to chmod +x the /etc/init/cmgr.conf ?23:40
AceFaceif you look here http://pastebin.com/wWskn4MW i have to normally cd /opt/connection_manager/bin/ and then do ./cmanager.sh to make the program work23:44
SpamapSAceFace: no23:45
SpamapSAceFace: ahh, add a new line    chdir /opt/connection_manager/bin23:46
AceFaceok, me being new to linux, i figured i  needed to make the script change paths, but i didnt know what to say to explain such a thing23:47
AceFacei will try it23:47
AceFaceSpamapS: !!! SUCCESS!!!!23:49
AceFacethank you very very much23:49
AceFacei would paypal you a couple bucks to show my appreciation23:52
AceFacebut i guess thats a practice usually frowned upon23:52

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