/srv/irclogs.ubuntu.com/2012/10/02/#ubuntu-server.txt

daniel_-somebody can help me? my log files e.g. auth.log syslog mail.log are all empty except the same files with a trailing number e.g. auth.log.100:05
daniel_-is this wrong? :/00:06
sarnolddaniel_-: a great many of my log files are also size 0, seems normal enough00:08
qman__daniel_-, that just means nothing has happened that needs logging since the last time logrotate ran00:08
sarnolddaniel_-: I think there was an update to the standard syslog rules that reduced the number of logged files, and probably logrotate doesn't know to stop making new ones...00:08
sarnold(though my empty wtmp is surprising..)00:09
daniel_-but there happened alot to auth.log, but all goes into auth.log.100:09
daniel_-I mean like sshd attempts00:10
qman__daniel_-, it goes into auth.log, but nothing has happened since the last time logrotate ran00:11
sarnolddaniel_-: the .1 version gets _new_ entries??00:11
qman__which could have been a minute ago00:11
daniel_-sarnold: yes the .1 gets new entries00:13
daniel_-all *.1 get the new entries. But I guess then its the default00:14
mkeysso still having this problem, ter in #udev suggest ubuntu support. :)00:20
mkeys(unable to enumerate usb disk at boot)00:20
sarnolddaniel_-: if new entries are going into the .1, that is a mistake. rsyslog _should_ have closed those files after the logs rotated. Hrm.00:21
sarnolddaniel_-: which log files are open in: sudo lsof -p `pidof rsyslogd`   ?00:23
sarnoldmkeys: some more options, you could try askubuntu.com or file a bug in launchpad (if you can be confident of which package is failing you in which way)00:24
daniel_-sarnold: alot of *.1 are open00:25
sarnolddaniel_-: I'd suggest filing a bug. That's not supposed to happen.00:25
sarnold(perhaps someone already has filed a bug?)00:25
daniel_-alright! thx for your help sarnold!!00:26
sarnolddaniel_-: in the meantime, a "kill -HUP `pidof rsyslogd`" _should_ fix those.00:26
daniel_-now a writing to auth.log has begun00:28
daniel_-*.1 are killed00:28
daniel_-thx man!00:29
sarnolddaniel_-: check your logs for anything from logrotate; there _may_ be some more details in the logs00:29
sarnolde.g., if logrotate is confined by AppArmor and does not have capability kill, it may not have been able to alert rsyslogd about the rotated files00:30
sarnold(only one of many potential reasons for failure)00:30
=== cpg is now known as cpg|away
=== matsubara-afk is now known as matsubara
=== n0ts_off is now known as n0ts
stgraberhallyn: is an up to date quantal container booting for you?00:58
hallynstgraber: in q i assume?01:02
hallynmy q laptop is over (waves) there01:02
hallynget back to you in a bit01:02
stgraberhallyn: yeah, on q. All I'm getting at startup time are mountall Event failed errors01:03
stgraberI'm also getting a whole bunch of errors from upstart in dmesg01:05
stgraber[40355.415061] init: Failed to spawn mounted-proc main process: unable to change root directory: No such file or directory01:05
hallyn(wgetting)01:05
stgraberhallyn: hmm, looks like something with the pivot root went quite wrong here... it also wiped the content of my laptops' /tmp at startup... rebooting01:08
hallynhooooly cow01:09
hallynhm mine failed on debootstrap.  what on earth?01:09
hallynoh, bad network01:10
stgraberhallyn: found the issue, it's totally my fault01:12
stgraberhallyn: I'm using lxc from staging which doesn't have a default lxc config (doesn't read /etc/lxc/lxc.conf) which means my container didn't have any networking config01:13
stgraberwhich explains why mountall failed (well, kinda)01:13
stgraberthen I turned off apparmor to see if that was the issue and that triggered the rest of the mess01:13
* stgraber really needs to push that lxc-create change upstream and get a default lxc.conf implemented there too, not sure all of our users could debug that kind of weird mess :)01:14
hallyndefualt lxc.conf upstream - still not sure how we can swing that01:14
hallynunless we default to an empty netns01:14
hallynwhich wouldn't be that bad i guess01:14
hallynwe could also add a script "lxc-add-dev brX -n containerX" to create a new veth pair, hook one end up on bridge brX, and pass the other into the named containerX01:15
stgraberI think we should ship a default lxc.conf that includes a bit of documentation as comments, ensures that a veth pair is setup but simply not bridged to anything01:16
stgraberthat way you get your eth0, the container is happy and you don can always bridge it to whatever you want later on01:17
hallynstgraber: just to be sure, q container started fine for me in q just now :)01:46
stgraberhallyn: good to know that the distro package is fine and it's indeed just my daily build that's missing some bits01:50
hallynstgraber: so the kernel seems to have built fine in ppa:serge-hallyn/lxc-natty.  i haven't tested it for the netns leak yet01:55
linociscohi all03:55
linociscoI could finally setup ubuntu mail server using postfix and dovecot03:55
linociscoI tried using Thunderbird on Windows and Android's IMAP email clients. It worked fine but with disable_auth= no in dovecot.conf. I dont know what would be if auth is enabled.03:57
=== cpg|away is now known as cpg
=== n0ts is now known as n0ts_off
hallynstgraber: eh never mind, my silly idea didn't work.  depending on what smb shares with us in the morning i may see about bisecting04:32
=== dendrobates is now known as dendro-afk
linociscowho is using ubuntu mail server for production environment like spanning 100 or 1000 multiple domains across the globe. I would like to be shared such kind of knowledge. As my office is just using windows server globally, I could never have such experience04:48
=== n0ts_off is now known as n0ts
=== matsubara is now known as matsubara-afk
SpamapSlinocisco: "mail server" is hard to pin down. Web mail? SMTP/IMAP? More?05:08
linociscoSpamapS, SMTP/IMAP. I have never tried webmail.05:08
SpamapSlinocisco: dovecot and postfix can scale to many thousands of domains05:10
linociscoSpamapS, is there any scenarios on step by steps setup on how to?05:12
SpamapSlinocisco: https://help.ubuntu.com/12.04/serverguide/05:12
SpamapSspecifically05:12
SpamapShttps://help.ubuntu.com/12.04/serverguide/email-services.html05:13
=== n0ts is now known as n0ts_off
linociscoSpamapS, yes. I read it already05:16
=== n0ts_off is now known as n0ts
SpamapSlinocisco: ok, so, whats your question?05:17
linociscoSpamapS, how to archive emails in portable readable format without needing email clients?05:18
sarnoldis Maildir an option? easy, piece of cake, downside is it may eat too many inodes if you've got tons of tiny mails05:18
linociscoSpamapS, in novell groupwise, there is ArchiveToGo software , which can download emails and burn on CD or USB stick into readable format.05:19
linociscosarnold, what are inodes? what does this mean?05:19
sarnoldmbox is another option that might be tolerable, it's easily human-readable, but may lead to huge files if you're not careful05:19
linociscosarnold, mbox is only text only one single file as far as I learnt05:19
sarnoldlinocisco: an 'inode' is the basic unit of unix filesystem storage. every file has an inode.05:19
sarnoldlinocisco: indeed, that's what makes mbox so awesome.05:19
SpamapSlinocisco: they're just ways to store email on disk05:20
SpamapSlinocisco: I suspect you want a comprehensive system..05:20
sarnoldlinocisco: different filesystems can be optimized for different tasks; you may have fewer inodes if you expect your filesystem to contain nothing but gigabyte-sized files, you may have more inodes if you expect it to contain many small files.05:21
linociscosarnold, so which could be better option to archive and how to ?  Actually administrator should delete email accounts of transfered staff after archiving and giving him a copy. At another duty station, another administer will create a new email account for him.05:22
linociscosarnold, that is what my org is doing not to keep a person's email for so long. I dont know what is more intelligent idea05:23
sarnoldlinocisco: if you're just keeping all your mail in spool files (a little odd, since you don't get folders that way, but the example is easy) then you just archive /var/spool/mail/sarnold and move on. If the person does have folders, it'll typically be stored in e.g. ~sarnold/Maildir or ~sarnold/Mail or some similar place. tar and rm as you see fit.05:23
sarnoldlinocisco: if you want to intentionally throw away mail, that takes a bit more effort. Probably a weekly / monthly cronjob run of procmail with appropriate rules over the mailboxes in question could do it. That feels pretty ugly though.05:25
linociscoSpamapS, in your point of view, what should be comprehensive system in my case?05:25
linociscosarnold, that means email policy.05:25
SpamapSlinocisco: GroupWise is.. massive. So. something else massive. Zimbra maybe.05:25
linociscoSpamapS, groupwise has calendar sharing and other intelligent business options. so alternative is Zimbra to be used with ubuntu mail server?05:27
SpamapSlinocisco: sure, take a look05:28
* SpamapS goes afk05:28
linociscoSpamapS, any other alternatives else?05:28
sarnoldlinocisco: if you want an MS Exchange-alike, look at these guys: http://en.wikipedia.org/wiki/Open-Xchange05:29
linociscosarnold, actually I want to hear success stories on what Linux admins are doing on mail servers in their enterprise. I tried to find on full cycle magazines and whitepapers on ubuntu .com . I found a few05:31
linociscosarnold, so that I can learn their tips and tools in stories like their night mare headache. reading documents like wiki is just boring.05:32
sarnoldlinocisco: heh, I know the feeling.05:32
sarnoldlinocisco: everyone I know runs something like postfix+dovecot or postfix+uw-imapd, except for one guy who runs postfix+powermail (downloads.powerdns.com/documentation/powermail/html/)05:34
sarnoldlinocisco: I don't know anyone who runs email for 100K+ user organizations though, so...05:34
linociscosarnold, thanks anyway05:35
=== n0ts is now known as n0ts_off
linociscosarnold,            http://summit.open-xchange.com is cool06:43
=== n0ts_off is now known as n0ts
=== linocisco is now known as gason
=== gason is now known as linocisco
=== smb` is now known as smb
smbSpamapS, Not sure whom you sent email yesterday. But it may not have been me... ;)07:34
smbDaviey, So what is the problem with xen (nobody caring to upload it)?08:37
Davieysmb: no, not that!08:40
Davieysmb: I did bounce a question to you on Friday.. can't remember what it was08:41
smbDaviey, I guess you mean the warning about email address not being ubuntu08:41
Davieyhmm08:41
* Daviey re-reviews08:42
Davieysmb: Ah yes.. it was conflict/replaces08:44
smbDaviey, Which I answered that I left them in as they were left in with the previous rc1 upload08:44
Davieyok, ok!08:45
* smb growls08:45
Davieysmb: libxen3 was dropped in natty?08:46
Davieywhich means that lucid->precise is the only upgrade path.. meaning this can be dropped.08:47
smbDaviey, Yeah I thought so too when doing the merge at the beginning of the cycle. zul kept them in. And I would not change that right now. It should not matter really08:49
smbWe should drop those for R08:49
Davieytrue08:50
Davieyok08:50
Davieysmb: so i updated changelog to point to quantal, and updated the maintainr08:51
smbDaviey, Ok, yeah, quantal was my fault and the maintainer something that was always "wrong" before08:52
smbeh no08:53
smbDaviey, You are right, messed that up and ignored it as I thought it complained about canonical08:54
janek_hi guys, I have just set my first ubutu serv and wanted to completely switch of the logs related to eth0 I am working on. Any help would be appreciated.11:08
=== n0ts is now known as n0ts_off
=== cpg is now known as cpg|away
=== JamesJRH_ is now known as JamesJRH
=== n0ts_off is now known as n0ts
vaHi. In ubuntu 12.04 server, gnome-control-center's 'unlock' button is inactive if logged in through Xrdp or through an LTSP thin client (works if logged in locally). It says "system policy prevents changes. contact admin" on hover. Anyone know how to enable it or what could be causing this?11:46
=== Noob is now known as Guest4020
=== matsubara-afk is now known as matsubara
mdeslaurva: it's caused by policykit. There's likely a policykit rule file that needs you to be on the console to get appropriate permissions.11:58
mdeslaurva: look in /usr/share/polkit-1/actions11:59
mdeslaurva specifically in org.freedesktop.accounts.policy12:00
Guest4020If i have a server on let's say 192.168.0.1 and I want to redirect all user to this IP if they try to reach me at 10.5.24.10x would the following Code do the job with Iptables?12:00
Guest4020iptables -t nat -A OUTPUT -d 10.5.24.10x -j DNAT --to 192.168.0.112:00
Guest4020Or how about this iptables -t nat -A PREROUTING -i eth1 -j DNAT --to 192.168.0.112:01
Guest4020Well is there anyone able to solve my problem ?12:05
Guest4020So you are able to change my username but answering is impossible12:06
Guest4020Great why am I even here12:06
=== dendro-afk is now known as dendrobates
Guest4020Hello ?12:09
vaGuest4020: iptables -t nat -A PREROUTING -i eth1 -d 10.5.24.101 -j DNAT --to 192.168.0.1  seems what you want12:09
Guest4020Great thank you man :)12:10
vawhether this will work if 192.168.0.1 is on the same machine that does the nat i'm not sure12:10
vau might need some additional trick12:10
Guest4020That would be ?12:10
Guest4020But actually it is one the same machine, I'm just curious :o12:11
vaGuest4020: hm, ye u probably wouldnt even want to do this NAT if the IP was on the same machine idk why i thought about it, god confused with tricks myself12:13
va*got12:13
Guest4020It's just about testing, I know it does not make enormous sense at all :D12:20
caribouCan someone tell me if 'bzr builddeb' is used frequently to build off LP branches ?12:33
cariboujust wondering if I should get used to use it or continue manually12:34
=== mcclurmc_away is now known as mcclurmc
=== n0ts is now known as n0ts_off
zookoHm, I see that an automated bring-up of an Ubuntu server has stopped on this debconf query: http://codepad.org/aBgISt2013:18
zookoThe command that start this was: apt-get upgrade -y13:19
zookoSeems like "-y  Assume Yes to all queries and do not prompt" isn't quite working as advertised.13:19
zookoAh: http://askubuntu.com/questions/146921/how-do-i-apt-get-y-dist-upgrade-without-a-grub-config-prompt13:21
zookoOh! New AMIs shouldn't have had this problem?13:22
zookoI must have gotten a stale AMI ID just now then. Whoops.13:22
SpamapSzooko: you using cloud-images.ubuntu.com ?13:23
zookoSpamapS: I used alestic.com.13:23
zookoWait, no I didn't.13:24
zookoHrm.13:24
zookoYeah, I used this: http://cloud.ubuntu.com/ami/13:24
zookoIs http://cloud.ubuntu.com/ami/ not the right place to find AMI ids?13:25
jcastro_zooko, those should be up to date13:29
zookojcastro_: they say 20120424 on them,13:29
jcastro_but yeah, http://cloud-images.ubuntu.com/ is much nicer imo13:29
zookoand the lp ticket says the bug was fixed 20120613:30
jcastro_man, these look way out of date13:31
zookoAnd, the AMI ID I got from http://cloud.ubuntu.com/ami/ has the bug.13:31
jcastro_daker, ping13:31
zookoDaily builds? Yikes, that doesn't sound like what I want!13:31
zookohttp://cloud-images.ubuntu.com/precise/13:31
jcastro_http://cloud-images.ubuntu.com/releases/precise/release/13:33
jcastro_is what you want13:33
jcastro_(they're under a releases directory)13:33
jcastro_though, why the dailies are in the root instead of under /dailies is beyond me13:33
zookoThanks!13:35
jcastro_I filed a bug, thanks for bringing it up!13:37
zookoThank you!13:37
zookoBug # please?13:37
zookoOr URL...13:37
zookoFound it.13:38
zookohttps://bugs.launchpad.net/ubuntu-cloud-portal/+bug/106019913:38
uvirtbotLaunchpad bug 1060199 in ubuntu-cloud-portal "Cloud images are out of date" [Undecided,New]13:38
zookoOkay, in a minute or so https://leastauthority.com should be back in operation using the recommended Precise AMI. Thanks for your help!13:41
jcastro_zooko, wow, that's really cool13:46
=== n0ts_off is now known as n0ts
zookojcastro_: thanks! I'm excited about it!13:47
zookoIt's just me and two other folks. ☺13:47
jcastro_that is quite excellent13:47
zookoDoing a test signup to see if the resulting Precise server comes all the way up...13:47
zookoWhoops... EC2Error: Error Message: The AMI ID 'ami-32845d2f' does not exist14:01
* zooko investigates...14:01
zookoI wonder where that AMI ID came from. Oops...14:02
SpamapSzooko: most common problem is you chose the wrong region14:02
zookoSpamapS: yep. sa-east-114:05
zookosa?14:05
zookoSouth America. Neat. But yes, that was the problem.14:05
zookoThanks!14:05
=== niemeyer_ is now known as niemeyer
dokoDaviey, what's the status of https://bugs.launchpad.net/ubuntu/+source/freeipmi/+bug/1052056 ?14:06
uvirtbotLaunchpad bug 1052056 in freeipmi "[FFe] [MIR] freeipmi" [Undecided,In progress]14:06
dakerjcastro_: pong14:07
jcastro_daker, I filed a bug on it, the images are out of date in the AMI browser?14:07
dakeroh yeah :(14:09
dakeri need to fix that14:09
zookoHm, so linux-ec2 and linux-image-ec2 are no longer present. I'm changing my setup from lucid to precise.14:24
zookoIs there a new package that I should install instead?14:24
Davieydoko: looking14:24
Davieydoko: it's In Progress :)14:24
Davieyroaksoax: Have you been able to do the things jdstrand requested for freeipmi?14:25
dokoDaviey, I'd say rather incomplete ...14:25
Davieydoko: No, the bug report has enough information to allow a developer to undertake the work, and it is assigned. :)14:27
roaksoaxDaviey: howdy, no not completely14:28
dokoDaviey, no, in-progress is not a status for a developer to finish the mir. but anyway, if it's being worked on ...14:29
roaksoaxDaviey: the only thing missing is fixing the compiler warnings... if someone could give a hdn with that would be great :) http://paste.ubuntu.com/1256058/14:40
hallynstgraber: d'oh, the grub update failure in lxc is real.14:48
dokoroaksoax, these are about unused results. so check the result, and error out in case that an error is returned14:49
roaksoaxdoko: will do14:50
Davieydoesn't dh do that automagically?14:55
SpamapShallyn: yeah I ran into that yesterday14:57
SpamapShallyn: have it on my TODO to report the bug14:57
SpamapShallyn: patch should be simple enough.. does it ever make sense to install grub in a container?14:58
=== zz_KristianDK is now known as KristianDK
SpamapShallyn: or rather.. to configure it in a container.14:58
Davieyzul: can you check bug 1059907 isn't a binary depends?15:10
uvirtbotLaunchpad bug 1059907 in nova "python-nova depends on python-setuptools-git?" [Undecided,Won't fix] https://launchpad.net/bugs/105990715:10
hallynSpamapS: it might, if you're using a loopback block dev as backign store and intend to later boot it in kvm15:11
Davieyzul: a source depends is no problem, but if there is a binary dpeend, we should fix it.15:11
hallynbut in general the answer is no15:11
zulDaviey:  build depends15:11
Davieyzul: certain?15:11
zulits not a binary15:11
zulyes checked it before i wrote that response15:11
zulDaviey: very certain15:12
Davieyzul: thanks15:14
SpamapShallyn: so perhaps the answer is not to fail postinst if root is not a block device.15:14
hallynSpamapS: or even if no access to the device15:15
hallynright now, no access would mean cgroups.  Next cycle, it might mean different user namespace15:15
hallynchanging locale, biab15:15
roaksoaxdoko: do you have a sample code for the unused result check?15:16
roaksoaxi haven't touchd C in years15:16
zulDaviey: i just uploaded stevedore to binary new can you please review it (dep for ceilometer)15:22
Davieyok15:22
dokoroaksoax, no, not at hand. afk today early, and tomorrow is bank holiday15:25
skritehey all, i am looking for an easy to run and configure web server distro that i can just put in a VM on ubuntu.. our company needs a mail server with a fqdn but i am trying to avoid a lot of config pain. any ideas?15:41
rbasakskrite: yeah that should work15:52
=== n0ts is now known as n0ts_off
zulhallyn: i havent been able to reproduce the libvirt hostname thing16:08
hallynhostname?16:08
_yac_i'm fiddling with xen in ubuntu server 12.04. i have a working bridged network setup but want to try a routed setup. is it safe for the dom0's networking to alter the xend-config.sxp to this effect? also comment out xenbr0 and comment back in the standard eth0 fare. pifalls?16:19
eutheriais there still an ubuntu directory server project?16:20
hallynzul: i'm not sure what you're talking about16:22
hallynstgraber: ubuntu containers don't have grub installed.  ubuntu-cloud containers (both precise and q) do, and updates are failing16:23
zulthe thing we were talking about yesterday16:23
hallynzul: with nova?16:23
zulhallyn: yeah16:23
hallynzul: cool, thanks for the info16:23
hallynhe did say 'once a month or so'  :)16:23
hallyniow bug reproducer's nightmare16:23
zuldah16:24
hallyndoo16:25
adam_gjamespage: hey, about OVS 1.4.3.. i'm going to propose lp:~gandelman-a/ubuntu/quantal/openvswitch/1.4.3 for uploading. theres a 1.4.3 package in  ppa:gandelman-a/ppa available for testing. any chance you can give that a run through your autmoated testing first (and possibly sponsor the upload:)?16:36
jamespageadam_g, yes16:36
jamespagelemme get my sprint out of the way for today and I'll test and upload later on16:36
adam_gjamespage: great, thanks. shall i propose the merge and subscribe you to the bug?16:36
jamespagesure - sounds good16:37
=== e11bits_ is now known as e11bits
mercsniper_anyone offer assistance with maas?16:54
melmothmercsniper_, there s a #maas channel as well.16:56
mercsniper_melmoth: thank you, I asked the question there and I can ask it here, is the cloud-init package still out of date?16:58
smbSpamapS, stgraber, Ok, so the v2 test kernel is up on people. If you got time I'd be quite interested to see how that goes. :)16:59
hallynstgraber: so were you going to file thtat as a bug against grub?16:59
hallyni'm wondering whether we do a simple 'is-container' check at top of update-grub, or check deeper inside grub whether we have write access to the root dev17:00
stgraberhallyn: I vaguely remember smoser or SpamapS mentioning that bug on #ubuntu-devel yesterday, maybe they already have a bug report for it somewhere17:01
stgrabersmb: thanks, will update and reboot soon17:01
smoseri did not mention such a hting. but that would be nice.17:01
hallynstgraber: i dont' think so.  SpamapS said it was on his todo17:01
SpamapSIt was on my todo to report it as a bug and suggest a patch to cjwatson17:02
SpamapSand still is actually17:02
stgraberhallyn: as LXC doesn't really support full disks but instead only partitions, I guess it's fine to just exit 0 if is-container returns 017:02
smoseri'd say that supporting partitions has nothing to do with it.17:04
hallynstgraber: i do fear that eventually we'll find there are cases where we want to support it, but for now it seems best17:04
hallyni'll whip up a patch this afternoon17:04
smosereven if it worked on a partition it isn't going to have an affect17:04
hallynSpamapS: if you report the bug, please give # here, else i'll report it after lunch17:05
* hallyn bbl17:05
=== josePhoe1ix is now known as josePhoenix
stgrabersmoser: well, I was thinking of a case where someone would use LXC to fix/upgrade an existing system (VM/external disk), but as LXC won't let you see the whole device anyway grub won't be able to update the mbr17:12
=== Malediction_ is now known as Malediction
=== mcclurmc is now known as mcclurmc_away
=== dendrobates is now known as dendro-afk
adam_gzul: where does the 'websockify' python module come from?17:46
melmothadam_g, universe ? http://packages.ubuntu.com/quantal/i386/websockify17:48
zuladam_g: what do you mean?17:49
adam_g# apt-get -y install websockify ; python -c 'import websockify'17:49
adam_gimport error17:49
zulw...t...f\17:50
adam_galso17:50
adam_gwhy does novnc provide an init script that starts nova-novncproxy?17:50
zuladam_g: i have no idea that area is a big mess17:50
melmothi realised both packaged conflicted one with another the hard way last week.17:51
adam_gmelmoth: is there a bug?17:51
=== dendro-afk is now known as dendrobates
melmothhttps://bugs.launchpad.net/ubuntu/+source/nova/+bug/105550517:52
uvirtbotLaunchpad bug 1055505 in nova "nova-vncproxy conflicts with novnc" [Undecided,Fix released]17:52
adam_gmelmoth: thanks17:52
adam_gugh17:53
melmothohhh, it s fixed :-)17:53
adam_gmelmoth: no, its not17:56
adam_gzul: consider yourself subscribed: bug #106037418:07
uvirtbotLaunchpad bug 1060374 in websockify "websockify installs no importable python module" [Undecided,New] https://launchpad.net/bugs/106037418:07
zulthanks18:18
jamespageadam_g, openvswitch tested OK18:20
jamespagepreparing the upload now18:20
stgrabersmb: the little bit of stress test I did on your kernel here didn't show any hang, though I'm not nearly as good at reproducing the bug as SpamapS :)18:22
adam_gjamespage: super thanks18:23
smbstgraber, I hope he won't be successful this time. ;) And interestingly proposing this variation seems to have refreshed some memory upstream. And I got some pointers to 3 patches in linux-next...18:24
jamespageadam_g, its in the unapproved queue18:24
jamespageDaviey, ^^18:25
* jamespage goes for food18:25
Davieyjamespage: reviewing18:27
=== KristianDK is now known as zz_KristianDK
zuladam_g: websockify wasnt actually a python-module per say...anyways its fixed upstream just need a FFE18:45
zulDaviey: ^^^18:45
adam_gzul: yea...18:59
adam_gzul: are you uploading something?19:00
zuladam_g: yeap its pending review19:01
adam_gzul: okay19:01
adam_gzul: as i predicted, that tgt config change broke nova-volume19:02
hallynSpamapS: filed bug 106040419:03
uvirtbotLaunchpad bug 1060404 in grub2 "update-grub runs and fails in containers" [High,Confirmed] https://launchpad.net/bugs/106040419:03
zuladam_g: the upgrade or just everything?19:03
adam_gzul: the removal of the '--conf' option from calls to tgt in nova-volume breaks nova-volume19:05
zuladam_g: looks like we are going to have to carry at patch19:06
zuler....a patch19:06
adam_gzul: ?19:06
zulblah....*grumble* *grumble*19:06
adam_gzul: specifying --conf causes other bugs, which is why it was removed19:06
adam_gzul: the real problem is chaning the 'include' statements in tgt's config. includes can only be specified in /etc/tgt/targets.conf, not from within included files in /etc/tgt/conf.d/19:07
adam_gso dropping nova_tgt in /etc/tgt/conf.d/ to inclue /var/lib/nova/volumes/ doesn't work, and never really did :|19:07
zuladam_g: but i have been running fine with it19:08
adam_gzul: no, you ahave never been using it. if --conf is specified to tgt-admin, /etc/tgt/targets.conf is never even consulted19:09
zuli havent19:09
SpamapShallyn: thanks for filing that. I only have one bit of feedback on your debdiff, which is to consider using debconf so that it can be internationalized19:18
SpamapShrm19:18
SpamapSactually thats daft19:18
SpamapSI wonder if there is a simple way to access 'templates' from maintainer scripts without telling debconf to nag the user with a question19:19
DavieySpamapS: priority19:19
Davieybut remember, debconf isn't a registry :)19:20
SpamapSDaviey: what I'm saying is, I want it to print out text that translators have a chance at internationalizing19:20
SpamapSits silly19:20
SpamapSserver.. containers.. we can skip i18n for now :)19:21
DavieyYeah, only en_GB matters TBH19:21
rbasak:-)19:22
zuladam_g: do you want to prep an upload19:22
adam_gzul: yes im filing a bug19:23
zuladam_g: k prep one for the cloud-archive and ill ack it19:24
adam_gzul: also, i've committed the missing xvpvnc / novnc stuff19:24
zuladam_g: good19:24
adam_gbut i'd like some input from someone who knows htf this is supposed to be packaged19:24
SpamapShallyn: ok forget my previous comment, but also the language needs some work. "not running because it is in a container" is a bit.. weird19:25
zuladam_g: check with vishy19:25
SpamapShallyn: "Declining to perform automatic grub install in container." might make more sense.19:26
Poapfelmy sysadmin gave me a ipv6 adress and a ipv6 gateway how do I use these to things to enable ipv6 on this server?19:29
Poapfel(I was able to use ipv6 for a couple of minutes but after closing my ssh session it was disable or so)19:29
Poapfel(by editing /etc/network/interface)19:30
=== acidflash_ is now known as acidflash
Jeeves_Poapfel: Just configure another ethX19:33
Jeeves_Instead of 'static inet', you configure it as 'static inet6'19:34
PoapfelI did that...19:35
PoapfelJeeves_: this is what my /etc/network/interfaces looks like http://paste42.de/4183/19:37
Jeeves_Your gateway is wrong19:37
Jeeves_That should be just an address19:38
Poapfelwhat is with this /48?19:38
Jeeves_Also, it suggests that you are in a /48, not a /6419:38
Jeeves_That's your netmask19:38
Poapfelbut the address had a /64 at the end19:38
Poapfeltherefore I thought the netmask is 6419:38
Poapfeland not not 4819:39
Poapfelshould I change the address to xxx:xxx:xxx:xxx:xx:0:0:0/64?19:39
Poapfeland the netmask to 48?19:39
hallynSpamapS: I'm fine with wahtever :)  if you come up with something good, could you post it in the bug?19:40
Jeeves_Poapfel: What did your admin tell you?19:41
hallynat this point I'm waiting for cjwatson input :)19:41
maswanhm. I'm not sure I've done a static gw in v6 actually. but I would tihnk that that was just an IP, not an IP with netmask19:42
maswanPoapfel: typically the adress ends in something not 019:43
maswanlike 2001:6b0:e:2018::16319:43
DataCruncherI'm running a minecraft server on Ubuntu Server. I am remotely connected with putty. I would like to be able to exit putty without shutting down the server. Is there any way to do that?19:44
maswanand gateway should just be the ::1 stuff, no /whatever19:44
maswanI think19:44
Jeeves_Indeed19:44
Jeeves_Just an address19:44
Jeeves_the same for 'address'19:44
maswannetmask goes in the netmask field in network/interfaces19:44
Jeeves_THe netmask is only mentioned in 'netmask' :)19:44
DataCruncherAnyone?19:44
maswanwhich you already have there19:45
Jeeves_Kinda makes sense! :)19:45
maswanDataCruncher: start it inside screen(1)19:45
Jeeves_DataCruncher: screen19:45
Poapfelhm19:45
PoapfelI am going to change the netmask to 4819:45
Poapfeland to be more specific my sysadmin gave me the following two informations(without any comments):19:46
Poapfel2a00:12c0:1015:100:44:0:0:0/6419:46
maswanPoapfel: Almost all the time the netmask is going to be 64 on ipv619:46
PoapfelGW: 2A00:12C0:1015::1/4819:46
PoapfelI guess the first one is the adress and the second on is the gateway, right?19:46
maswanok, that seems to be a network definition for router setup19:46
DataCruncherMaswan/jeeves: I'm confused, how would I do that?19:47
DataCruncherAnd what exactly does it do?19:47
Poapfelmaswan: well...19:47
maswanDataCruncher: first you start screen, then you get a new shell inside that and then you can start the minecraft server process inside there. then you can detatch screen by hitting ctrl-a d and logout. later you can login and use "screen -x" to re-attach to the running server19:47
Poapfelit is still a ipv6 address then, isn't it?19:48
maswanyeah19:48
Poapfelhm19:48
maswanwell, 2A00:12C0:1015::1 is an ipv6 adress19:48
maswan2a00:12c0:1015:100:44:0:0:0 is a network, you have to choose an IP inside of that19:48
maswanlike 2a00:12c0:1015:100:44::519:49
Poapfeloh19:49
Poapfelbut I thought that 2A00:12C0:1015::1 is my gateway19:50
* Poapfel is a total noob when it comes to networking19:50
maswanyeah, that's what he said it was19:50
maswanbut I don't really understand that bit either, since usually you need the gateway to be inside your network19:51
Poapfelmaswan: I am pretty much confused now...19:51
Poapfelwhat should I enter as a ip adress now?19:52
maswanPoapfel: yeah, so am I. could that be instructions for setting up a router for a whole subnet?19:52
Poapfelmaswan: no, I don't think so19:52
maswanPoapfel: I'm pretty confused at the instructions too then. :/19:53
Poapfel:(19:53
maswanand I've done ipv6 admin on ubuntu for a few years now19:53
Poapfelhm19:53
Poapfelwell...it is a kvm based vserver which is part of a big data center, but I don't know if this informations matters19:53
Poapfel(probably it doesn't)19:54
maswanyou could try choosing an IP in 2a00:12c0:1015:100:44::, like 5. and try the gateway 2A00:12C0:1015::1 and readjust the netmask to 48 and see how that works19:54
maswanbecause that's confusing, a network has a mask, not an IP. and the gw is just an IP19:54
=== guntbert_ is now known as guntbert
Jeeves_maswan: You disappoint me :)19:57
Jeeves_2a00:12c0:1015:100:44:: is just as much an ip as 2a00:12c0:1015:100:44::119:58
PoapfelJeeves_: so is 2a00:12c0:1015:100:44::1 my ip?19:59
Jeeves_Poapfel: yes, possibly20:00
Jeeves_But, the gateway-address you've got is outside the /64 you're configuring20:00
Poapfelhm?20:00
Jeeves_Poapfel: Your /64 network starts at 2a00:12c0:1015:0100:0000:0000:0000:0000 en ends at 2a00:12c0:1015:0100:ffff:ffff:ffff:ffff20:01
Jeeves_Your gateway is at 2A00:12C0:1015:0000:0000:0000:0000:120:02
maswanJeeves_: wouldn't the network adress be a bad idea for a host adress in ipv6 still?20:02
Jeeves_Which you cannot reach from 2a00:12c0:1015:100::20:02
Jeeves_maswan: ipv6 doesn't have network or broadcastaddresses20:02
maswanJeeves_: ah20:02
Jeeves_link-local20:03
Poapfelbtw: what is the correct way to reload the /etc/network/interfaces configuration /etc/init.d/networking restart seems to be deprecated20:05
DataCrunchermaswan: Just got it working, thank's for the help.20:05
Poapfelbesides I always get the error "RTNETLINK answers: File exists. Failed to bring up eth0."20:05
hallynstgraber: smb: you know, in the end eth0 is just a nic like any other - i wonder if the dnsmasq preventing clean shutdown bug is actually also to do with routes not being cleaned out at shutdown20:11
hallynprobably not...20:11
=== zz_KristianDK is now known as KristianDK
=== cpg|away is now known as cpg
hallynstgraber: temporarily assigned bug 1017847 to you to make sure i grok it - is the failing case meant to be caught?20:56
uvirtbotLaunchpad bug 1017847 in qemu-linaro "qemu segfaults when creating an armhf container on an amd64 host" [High,Confirmed] https://launchpad.net/bugs/101784720:56
stgraberhallyn: well, the problem is that we can't really know what architectures are supported by the running kernel21:01
stgraberhallyn: at least not in an easily parsable form for a bash script21:01
stgraberhallyn: so the code simply always call qemu-debootstrap if it's installed and deboostrap if it's not21:01
stgraberso the actual failure to mount is probably in debootstrap's code21:02
hallynstgraber: no, it's during the 'chroot $container apt-get update'21:05
hallyn(i believe)21:05
hallynso actually, maybe it's just because qemu-arm's dependencies are no longer in our path?21:05
stgraberhallyn: that's surprising, it should fail way before that...21:05
stgraberhallyn: it could happen if you have a container in the cache but qemu-user-static isn't installed anymore21:06
stgraberthen there isn't much we can do really...21:06
hallynnot sure what you mean21:06
stgraberyou could get that kind of failure if you do:21:06
hallynwhat i'm saying is it works with qemu-user-static but not qemu-user,21:06
stgraberlxc-create -t ubuntu -n p1 -- -r precise -a armhf21:07
stgraberapt-get remove --purge qemu-user-static21:07
stgraberlxc-create -t ubuntu -n p2 -- -r precise -a armhf21:07
hallynso i guess it has to do with kernel tries to fire off qemu-armel in the container's namespace, but does'nt find the libs21:07
stgraberas p2 will copy from cache but can't execute as the binfmt handler is no longer there21:07
hallynyeah that would happen too...  doesn't seem any wors than the original reported case21:07
hallynso, what do we do?  :)21:08
adam_gzul: are you going to take care of a new websockify?21:08
hallynhm, rsyslog keeps SEGVing in the armhf container21:13
Davieyhallyn: i saw a new rsyslog in the quantal queue btw21:14
hallynhm21:15
hallynthis container ws *just* created21:15
Davieyoh21:15
Davieyadam_g: I'll accept the new nova, but please can we have the man pages complete before release?21:17
Davieyperhaps track it via a bug?21:17
hallyngotta say, today unity in qemu over spice looks nice21:26
=== dendrobates is now known as dendro-afk
raubEmbarassingly easy question: can anyone spot what I am doing wrong here:21:51
raubssh -t -K server1.domain.com 'sudo -v' && ssh -t server2.domain.com "stty -onlcr; sudo tar czf - /etc/ldap/ 2>/dev/null" | tar xvf -21:51
adam_gDaviey: maybe. the manpages that sphinx generates are no less "stubby"21:56
=== dendro-afk is now known as dendrobates
SpamapShallyn: were you able to test smb's latest kernel?22:02
SpamapSsmb`: still failing w/ smb2 btw22:02
SpamapSis that the 'netns' kernel thread reporting that?22:03
SpamapSif we have a kernel thread, can't we tell it to go look for deadlocks?22:04
=== cpg is now known as cpg|away
hallynSpamapS: no, i haven't.  and i wont given it doesn't work for you :)22:14
hallynSpamapS: eod here, i gotta run  but will be back on later tonight22:15
uvirtbotNew bug: #1059459 in maas "Existing DHCP server not stopped" [Undecided,New] https://launchpad.net/bugs/105945922:47
uvirtbotNew bug: #1059556 in maas "/etc/init/maas-celery.conf not removed on upgrade" [Undecided,New] https://launchpad.net/bugs/105955622:47
uvirtbotNew bug: #1059899 in nova (main) "nova fails to configure dnsmasq, resulting in DNS timeouts in instances" [Medium,Confirmed] https://launchpad.net/bugs/105989922:47
uvirtbotNew bug: #1060053 in qemu-kvm-spice (universe) "Audio starts working several hours after starting Windows Vista guest" [Medium,Incomplete] https://launchpad.net/bugs/106005322:47
uvirtbotNew bug: #1060237 in maas (main) "apt-get install maas maas-dhcp maas-dns fails" [Undecided,Fix committed] https://launchpad.net/bugs/106023722:47
uvirtbotNew bug: #1060319 in juju (universe) "FFE - Juju" [Undecided,Triaged] https://launchpad.net/bugs/106031922:47
uvirtbotNew bug: #1060336 in nova (main) "nova-novncproxy does not install binaries or any running services" [Undecided,Fix released] https://launchpad.net/bugs/106033622:47
uvirtbotNew bug: #1060422 in nova (main) "nova-volume volume creation fails, tgt config not loaded" [Undecided,Fix released] https://launchpad.net/bugs/106042222:47
uvirtbotNew bug: #1060238 in logwatch (main) "unmatched entries for sshd" [Undecided,New] https://launchpad.net/bugs/106023822:48
uvirtbotNew bug: #1035320 in libvirt (main) "free(): invalid pointer" [High,Fix released] https://launchpad.net/bugs/103532022:49
uvirtbotNew bug: #1058760 in logwatch (main) "unmatched entries for dovecot login" [Undecided,Confirmed] https://launchpad.net/bugs/105876022:49
uvirtbotNew bug: #1059907 in nova (main) "python-nova depends on python-setuptools-git?" [Undecided,Won't fix] https://launchpad.net/bugs/105990722:49
uvirtbotNew bug: #1059973 in maas (main) "purging packages can't remove files because dirs are not empty" [Undecided,New] https://launchpad.net/bugs/105997322:49
uvirtbotNew bug: #1060175 in libvirt (main) "Libvirt not creating sockets anymore." [Undecided,Invalid] https://launchpad.net/bugs/106017522:49
uvirtbotNew bug: #1060184 in puppet (main) "puppet client init script pid file error" [Undecided,New] https://launchpad.net/bugs/106018422:49
uvirtbotNew bug: #1060218 in maas (main) "error deleting maas user removing the maas package" [Undecided,New] https://launchpad.net/bugs/106021822:49
uvirtbotNew bug: #994476 in libvirt (main) "libvirt-bin : error : virExecWithHook:328 : Cannot find 'pm-is-supported' in path: No such file or directory" [Low,Fix released] https://launchpad.net/bugs/99447622:50
uvirtbotNew bug: #1058987 in network-manager (main) "In Quantal, the root filesystem is not cleanly unmounted at shutdown or reboot" [High,In progress] https://launchpad.net/bugs/105898722:50
uvirtbotNew bug: #1059943 in lxc (universe) "lxc-start-ephemeral masks process exit code (dup-of: 1050351)" [Undecided,New] https://launchpad.net/bugs/105994322:50
uvirtbotNew bug: #1059979 in nova (main) "novnc quantal packages are incomplete" [Undecided,New] https://launchpad.net/bugs/105997922:50
SpamapSwhoa22:52
SpamapSuvirtbot: clock skew?22:52
uvirtbotSpamapS: Error: "clock" is not a valid command.22:52
uvirtbotNew bug: #1059272 in php5 (main) "php5-fpm init.d script does not return when php5-fpm  is started or stopped" [Undecided,New] https://launchpad.net/bugs/105927222:53
uvirtbotNew bug: #1059453 in maas "The celery cluster worker is not properly stopped" [Critical,Triaged] https://launchpad.net/bugs/105945322:53
uvirtbotNew bug: #1059485 in maas (main) "maas_local_celeryconfig.py is world readable" [Critical,Fix released] https://launchpad.net/bugs/105948522:53
uvirtbotNew bug: #1059567 in cyrus-sasl2 (main) "update-rc.d: warning: saslauthd stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (1) " [Undecided,New] https://launchpad.net/bugs/105956722:53
=== cpg|away is now known as cpg
uvirtbotNew bug: #1057325 in glance "Error when starting glance-api - unable to redeclare queue" [Undecided,Fix released] https://launchpad.net/bugs/105732522:54
uvirtbotNew bug: #1058669 in php5 (main) "htmlentities returns nothing" [Undecided,New] https://launchpad.net/bugs/105866922:54
xymantecHi is anyone around :)22:56
sarnoldirc tends to work better if you just ask :)22:57
xymantecI am having problems setting up a damn cron job... I have a lamp server (uOS 12.04.1) with php5-cli installed22:57
xymantecSERVER API = apache22:57
xymanteci "sudo vim /etc/cron.hourly"22:58
xymanteccreated a i.sh file22:58
xymantecinserted * * * * * php /var/www/cron/t.php22:59
xymantecand saved file, but I it looks like its not working. I did do research and have come to the conclusing that i need to include the path to php binary which is typically /usr/local/bin23:00
xymantec*conclusion23:00
sarnoldhopefully not /usr/local/bin/php, but /usr/bin/php -- check 'which php' for details there23:00
xymantecmy question is how do I include this path, do i include in the i.sh or the actually php script? and how to i include it23:00
sarnoldbut you've typed t.php and i.sh so far -- which are you running?23:01
xymanteci.sh is the shell script inside cron.hourly folder23:01
xymantect.php is the script i want to run on a cron cycle23:01
zuladam_g: already have23:02
xymantecits /usr/bin/php23:06
xymantecdo i put that in my shell script of in my php script?23:06
xymantec*or23:06
sarnoldxymantec: I would. Most cron problems come from improperly specified paths23:07
sarnoldxymantec: though it just strikes me; if you're using cron.hourly, you don't need the * * * * * time specifcation23:07
sarnoldlook at cron.daily or something for inspiration :)23:07
sarnoldyou only need the time specification for the "main" crontabs, not the "helper" crontabs23:07
sarnold(I hope that makes sense)23:07
xymantecgotcha well i really wanted to use it ever hour, but for test purposed i have it clocked at every minute ;)23:08
sarnoldwell, the thing is, you've got a syntax error in your file :)23:08
xymantechey since I have you helping, can you answer this. i tried using sudo crontab -e and it open up a default file, the problem is i could never figure out how to save it.23:08
xymantecwhich file?23:09
xymantecthe shell script?23:09
sarnoldxymantec: depends on which text editor it started. if it started vi, use <esc>:wq   to save and exit23:09
sarnoldif it started something else, you'll have to figure out how to drive taht other editors23:09
xymantechow to i setup the system default editor, because i think that part of the problem23:09
xymanteci installed vim-nox but for some reason it always uses some other crappy editor23:10
sarnoldxymantec: I think I uninstalled nano or whatever just to get the /etc/alternatives/ to use vim always23:11
xymantecI am assuming the correct syntax inside my shell script should be '* * * * * usr/bin/php x/path/phpscript.php '?23:11
sarnoldforget those *****23:12
xymanteci understand you dont want me to have those but for testing purposes (every minute) is it ok to leave them on temporarily?23:14
xymantecI just want to make sure the script works23:15
xymantecscript => cron23:15
sarnoldxymantec: it's not a matter of testing23:15
sarnoldif you want them in every minute, then put it into the /etc/crontab file directly23:15
sarnoldif you want it  every hour, take them out, and put it into the /etc/cron.hourly file :)23:16
xymantecok let me try sudoing that23:16
xymanteclol ok23:16
xymantecok wrote to main crontab23:21
xymantecdo i need to restart cron service or do i just restart apache?23:22
xymanteci guess ill see in a min if it works! :D23:22
xymantecYES it works23:22
xymantecsweet thanks a mil sarnold :)23:23
xymanteci can now go put ice on my forhead...(bangin my head against my desk lol)23:24
sarnoldxymantec: woo :)23:24
=== Ursinha is now known as Jorjao
=== Jorjao is now known as Ursinha
stgraberSpamapS: had a chance to test smb`'s new kernel?23:43

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