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

uvirtbot`New bug: #947617 in lxc (universe) "After update, lxc does not start" [Undecided,Confirmed] https://launchpad.net/bugs/94761700:20
=== sixstringsg|away is now known as sixstringsg
kieppiehi guys. are there any details available re virt for the upcoming 12.04 release? I'm thinking of re-installing my new host once it's released, and I'd like to know what to expect. I saw "openstack" as an option when I installed a desktop beta00:35
SpamapSkieppie: openstack isn't really "virt" as much as "api + management + scaleout of virt"00:39
SpamapSkieppie: for just a single box.. libvirt is still good00:39
kieppiethanks for that, SpamapS: I'm still running LTS 10.04.x on my production box, so I'd like to upgrade to the new stack with the next release.00:41
kieppieusing KVM + libvirt00:42
kieppieif oVirt (I think?) is production-reasdy & in the repo or a stable PPA by then, that would be nice00:42
SpamapSkieppie: yeah not much has changed there.00:42
kieppiethinkning about building a HA/faIL-OVER CLUSTER WITH REDUNDENT RESOURCES00:43
SpamapSkieppie: ovirt is not included AFAIK00:43
kieppiesry (caps)00:43
kieppiewhat's the other one....?00:43
SpamapSno clue.00:43
kieppieconvirt/convirture 2 - that's the one...00:44
kieppiealso, would be nice to get the desktop-virt going, with SPICE00:44
kieppiebut I can't find much of the way of news or what to expect on the server-side/virt-side re the next release - much of the focus has been on the desktop/UI advances00:45
SpamapSkieppie: spice has had some work done00:47
kieppieyea - I figured.... really looking forward to that....00:47
SpamapSkieppie: the release notes tend to solidify very late in the cycle00:47
SpamapSkieppie: The biggest change is definitely OpenStack vs. Eucalyptus as the cloud service in main00:49
kieppieSpamapS: is there anything I could look at now that  could give me some insight or get me exited?00:49
kieppieplease?00:49
SpamapSkieppie: I wrote this blog post a bit ago that talked about the stuff done over the last 2 years, but it is not really virt focused: http://fewbar.com/2012/03/precise-is-coming/00:50
kieppiecheers00:50
kieppiehehehe - pic looks familiar. ran across this page not that long ago :)00:52
kieppiewhat is Juju? I've encountered it, but not really paid much attention.00:58
kieppieis JuJu to services/SaaS what chef/puppet is to PXE hosts?00:58
SpamapSkieppie: Its not a perfect map. I say juju is to chef/puppet as apt-get/dpkg are to './configure && make && sudo make install'00:59
SpamapSkieppie: the idea is that you just want a service, not necessarily a server.00:59
kieppieinterresting.....01:00
kieppieextremely abstract, though. quite a departure from what I'm used to01:00
SpamapSkieppie: its quite concrete when you think about how you actually want to deploy stuff though.01:03
SpamapSkieppie: instead of trying to figure out how to deploy stuff *AND THEN* integrate with it.. you just deploy it, then figure out how to integrate with it.01:04
kieppieif I understand it (probably very poorly), this could be a great way of fluidly managing services across clusters, local or remote. not unline AC2 instances, etc with OpenStack, Orchestra, Bitnami, TurnkeyLinux, etc01:06
kieppie(talking *VERY* broad strokes here)01:06
j2daoshanyone know how to make the hostname of a system report to a router?01:08
SpamapSj2daosh: report?01:09
SpamapSj2daosh: like, with dhcp?01:09
EvilResistancej2daosh:  report in what manner?01:09
j2daoshall the windows systems in the house, an apple, and a redhat server report their hostnames to my router, but my ubuntu/debian boxes wont01:09
=== sixstringsg is now known as sixstringsg|away
SpamapSkieppie: yeah, bitnami and turnkey are similar ideas, though they still focus too much on the server.01:09
j2daoshbasically i want the hostname to show up on my router statistics page and be able to 'ssh $host' from any system on the network. I don't have any system running as a DNS server so I am not sure how all the windows/redhat/apple systems are able to resolve to a IP from a hostname01:16
SpamapSj2daosh: for the ssh $host .. avahi might get that done.. I use 'ssh $host.local' on my work without help from the router01:19
SpamapSj2daosh: for the other bit, ubuntu should be sending the hostname in dhcp requests already01:19
j2daoshhmmm01:20
j2daoshI set static networking though01:20
j2daoshdid i miss an option for it somewhere?01:21
SpamapSpossibly01:21
j2daoshhmm, i'll go back thru settings and look. thanks for the tip01:21
Zac_o_OHi all!  I have disks that are set to spindown in hdparm.conf, not being woken up by smartd (desired), and noatime set.  The disks spin up after only a few minutes of sleeping.  How do I figure out what's waking them up?01:58
nguyenthientam1Hi, I want to intall https on apache , help me02:01
=== sixstringsg|away is now known as sixstringsg
Zac_o_Oanyone?02:16
TeTeTZac_o_O: maybe try a fuser on the filesystem?02:46
Zac_o_OTeTeT: a fuser?02:47
TeTeTZac_o_O: a command for checking which process accesses a file, try fuser /02:48
Zac_o_OTeTeT: nice! I'll try that02:48
Zac_o_OTeTeT: So I'll do fuser on the mount point/director where this disk is mounted?02:49
=== fenris is now known as Guest65492
=== sixstringsg is now known as sixstringsg|away
=== Gallomimia_ is now known as Gallomimia
ghost13question: is there a script that can display the contents of tailf /var/log/auth.log | grep Failed to a webpage so i can see it live as my ssh is attacked?03:44
twbghost13: yes, fail -f /var/log/auth.log | grep Failed >> ~/public_html/index.txt03:45
twbs/fail/tail/03:45
twbBut you would do better to 1) fix your ssh so it can't be attacked in the first place; and 2) use logcheck to have it deliver hourly reports via email instead.03:46
ghost13i have denyhost installed so after 10 failed attempts there locked out.03:46
ghost13is logcheck installed by default?03:47
twbhttp://cyber.com.au/~twb/doc/iptab.ips03:47
twblogcheck is not installed by default.03:47
ghost13ok thanks..easy config in terminal?03:47
twbYou may have heard of logwatch; that does broadly the same thing but is IMO worse, because it must be told specifically to watch for things, whereas logcheck will report anything is has not been told is safe to ignore.03:47
ghost13ahh.. just what i was looking for but gave up on that. ill look into it. thanks again03:48
twbghost13: it basically does an egrep -v over your logfiles, so yes, simple to configure.03:48
twbYou will need to ensure that the system can actually deliver mail to you, of course.03:48
twbAlso syslog-summary is useful for compressing logs that are very repetetive03:49
ghost13it does send to my gmail but..it is from michael@local ?? not my host name and i am running noip03:49
twbI have all my systems log to a central logserv, and only it runs logcheck.03:49
twbghost13: then you need to fix your MTA03:49
twbghost13: probably by setting /etc/mailname correctly and restarting postfix, but it all depends.  /topic mentions the 10.04 admin guide which explains how to set up postfix.03:50
ghost13will fix my mta and just to make me feel envy..how many systems (servers) you running?03:50
twbhttp://paste.debian.net/158719/ and http://paste.debian.net/158720/03:51
twb 03:51
twb...show example output from logcheck w/syslog-summary and appropriate additional site-specific whitelisting.03:51
twbThe hugin "security" issue is one that has been raised in priority so it stands out, because it is collectd indicating a disk is nearly full03:51
ghost13do you run a single server for each task? ssh, httpd, etc?03:53
twbghost13: about one full rack of physical servers, plus about 25 virtual ones, a couple of APs running OpenWRT, a couple of LJ4s, and a hot desk workstation.03:53
twbghost13: I run one container per service, more or less.03:53
ghost13fun fun, running 3 services on one laptop hooked into dd-wrt. running ok but hadnt seen much pressure yet :)03:54
ghost13is running virtual servers more or less like vhost on apache? or is it for running apps?03:55
twbIt is more different than similar03:56
twbhttps://en.wikipedia.org/wiki/LXC are "containers", they are very similar to BSD jails or Solaris zones.03:56
ghost13never quite got into that yet.03:57
adam_gzul: https://code.launchpad.net/~gandelman-a/nova/patch_fixups/+merge/96050  here is that merge that fixes the patches again. this and future proposals should just merge clean into the ubuntu-server-dev branches03:57
twbIf you are used to KVM VMs, you can think of containers as very low-overhead VMs that are less secure.03:57
ghost13ahh ok.03:57
twbSometime when speaking in general I (and others) may refer to containers as another kind of VM, even though this is not strictly accurate03:58
EvilResistancehow can you set a repository's priority for every package *except* certain packages?03:59
twbEvilResistance: set the repo prio, then set the package prio04:04
twbThis in in apt_preferences(5) or so IIRC04:04
EvilResistancetwb, thanks04:17
=== jtv1 is now known as jtv
linociscoI have one ubuntu server with two NIc cards with different subnets, one card is connected to LAN. one card is connected to Internet. I want to setup route between two cards on server.05:17
linociscowhat do I do?05:18
linociscoI have one ubuntu server with two NIc cards with different subnets, one card is connected to LAN. one card is connected to Internet. I want to setup route between two cards on server.05:25
linociscoI have one ubuntu server with two NIc cards with different subnets, one card is connected to LAN. one card is connected to Internet. I want to setup route between two cards on server so that client from LAN can lookup DNS from that ubuntu server.05:26
twb!repeat05:30
ubottuDon't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/05:30
uvirtbot`New bug: #947744 in apache2 (main) "$ anchor doesn't work in Directory ~ regexp" [Undecided,New] https://launchpad.net/bugs/94774405:36
TeTeTlinocisco: the server just need to have ip forwarding between the cards enabled, it doesn't need a route, as it can access both networks. the clients however need to have the servers lan address as gateway. when the server also provides DNS, it needs to be supplied in the nameserver config, /etc/resolvonf. Usually DNS server are set via DHCP dynamically05:55
lucascastrolinocisco:  take a look at ubuntu server guide, firewall06:00
linociscoTeTeT06:26
linociscoTeTeT, hi thanks for your explanation. I m looking for ip forwarding. acutally my server external card is connected to Host which has got internet from physical gatway. my server is on VM06:27
linociscoTeTeT, also my client is on VM06:27
TeTeTlinocisco: you can check on the server with cat /proc/sys/net/ipv4/ip_forward if forwarding is enabled at all, should be 106:29
TeTeTlinocisco: on the VM, depending on the tech used, there might be firewall rules on the host that may make it harder06:29
linociscoTeTeT, What I am confusing is that i installed bind9 on that server. so I put that serveritself's IP in resolv.conf so that client can point. but server also has original DNS server got via DHCP entries. what do I do?06:37
TeTeTlinocisco: the server does not strictly use itself as DNS server, but it may, as it speeds up due to caching. You don't need the DHCP servers if bind is configured correctly06:44
TeTeTlinocisco: make that: does not need to strictly use itself ...06:44
linociscoTeTeT, I have vbox installed on my WindowXP host, which got internet from office router, ubuntu server got internet access from host via NAT. though I installed bind9. mine is still getting DNS from host06:51
TeTeTlinocisco: well, NAT is quite evil when you want to set up routing, as the route has to go through your host. I don't think I can support you with this. I recommend changing the network structure of the guests to bridged, if possible06:53
linociscoTeTeT, all guest OS( ubuntu server and windows client)'s networking mode into bridge?06:54
TeTeTlinocisco: that's what I did on my ubuntu desktop system with lots of vms on it, makes networking easier, IMO06:55
linociscoTeTeT, okok bro. so I have two cards on ubuntu server. should I also make both cards to bridge mode?06:56
TeTeTlinocisco: really depends on what you want to achieve, two virtual cards bridged to the same LAN don't look to useful to me06:57
bluefroglinocisco, you should ask yout IT admin to help you06:57
linociscobluefrog, I am the IT guy06:57
bluefroglinocisco, then you should start reading (no offense) seriously06:58
bluefroglinocisco, basically all stuff  I read is kind of basic IT knowledge06:58
bluefroglinocisco, so depending on what you want to achieve, you should take care security wise. don't expose your intranet to internet and so on...07:00
linociscohi07:30
=== jtv1 is now known as jtv
=== smb` is now known as smb
gvandeweyerhas anybody tested the ubuntu server lts 10.04.4 on a dell optiplex 990? in the previous version, the nic was not recognised, forcing to upgrade to a non-lts version08:17
twbgvandeweyer: run lspci -nn08:22
twbgvandeweyer: pastebin the result into kmuto.jp; it will tell you what is supported by what kernel08:22
twbIf you mean "previous versions of 10.04", they all have the same kernel, so support will be unchanged08:22
twbhttp://kmuto.jp/debian/hcl/ that is08:23
gvandeweyertwb: I read that there was backported hardware support in 10.04.4, that's why i asked.08:30
gvandeweyerthanks for the lspci hint08:30
twbOh, yeah, possibly if you enable backports and pull in a newer kernel08:31
twbI tend to avoid backports08:31
twbAnyway 12.04 is coming out in a month, so you might as well aim for that08:31
gvandeweyer'pull in a new kernel' is an issue if you don't have ethernet support :-)08:32
gvandeweyerindeed, I just might wait for 12.04.08:32
twbgvandeweyer: uh, so put in a temporary second nic08:32
twbOr use apt-walkabout, or ethernet over firewire, or whatever.08:33
twbUse some INITIATIVE man08:33
gvandeweyer:-)08:34
uvirtbot`New bug: #947804 in lxc (universe) "Unable to start lxc instances" [Undecided,New] https://launchpad.net/bugs/94780409:03
lynxmanmorning o/09:25
linociscohi all10:06
linociscoI found ip_foward is always 0 however I edited or changed via nano. into 110:07
linociscowhat do I do?10:07
rbasaklinocisco: it probably won't work if you use an editor, since it's not a normal file and the editor will try and rename a new file over the top.10:11
linociscoso what do I do?10:11
rbasaklinocisco: use "echo 1 > ip_forward" instead of "nano ip_forward" (and fix the path if you're in a different directory)10:11
linociscoI tried "echo 1 > /proc/sys/net/ipv4/ip_forward"10:12
rbasaklinocisco: this will only change it until next reboot. To keep it persistent across reboots, edit the file /etc/sysctl.conf (you can use nano for that)10:12
rbasaklinocisco: that should work if you're root. If you're trying to use sudo, it won't work directly, since the redirection is done as the user. I use "sudo -i" to get a root prompt first.10:12
linociscorbasak, but my client could not ping to external card's gateway10:13
rbasaklinocisco: does "cat /proc/sys/net/ipv4/ip_forward" now say 1?10:13
linociscorbasak, yes. it is now 110:14
rbasakOK, so then you have some other problem. Perhaps routing or firewall.10:14
linociscorbasak, i can ping to external card's IP of ubuntu server from my XP client10:15
rbasakAre you sure you don't need NAT?10:16
linociscorbasak,  i need nat10:20
linociscoecho 1 > /proc/sys/net/ipv4/ip_forward is not ok?10:20
rbasaklinocisco: no, that will only enable forwarding without nat10:21
rbasakYou need to add nat rules as well10:21
_rubenassuming you want that to be permanent (persistent across reboots), you should edit /etc/sysctl.conf instead (or probably even better, add a file to /etc/sysctl.d/)10:21
rbasakhttp://www.netfilter.org/documentation/index.html#documentation-howto - there's a nat howto10:21
linociscoya10:21
Davieyjamespage: Hey, are you touching ci this week?10:27
linociscorbasak, I think I just need only one line like that" iptables -t nat -A POSTROUTING -o [external NIC card] -j MASQUERADE10:30
linocisco" , right?10:30
linociscorbasak, how to check existing iptables command?10:38
linociscorbasak, how to check existing iptables commands?10:38
linociscorbasak, how to check existing iptables commands which has been entered?10:38
diplolinocisco, iptables -L10:53
linociscodiplo, and then?10:53
diploThat will list iptables rules10:53
diploGood read here for basics : https://help.ubuntu.com/community/IptablesHowTo10:54
linociscodiplo,11:02
linociscoI found Chain input/chain forward and change output with heading11:02
jamespageDaviey: yep11:13
linociscoentering "/sbin/iptables -P FORWARD ACCEPT11:15
linocisco" in rc.local is correct?11:15
jamespagejodh, whats the best way to programatically determine the status of a service?  grep the output of service XX status?11:26
jamespageDaviey, I see lots of discussion last night - what needs doing?11:27
jodhjamespage: you can do that, or maybe use the D-Bus interface if that's more appropriate for your needs? If you care about being notified of state changes, use D-Bus.11:30
jamespagejodh, hmm - now that is an interesting idea11:30
linociscohi11:34
linociscoi can now ping to gateway of external card11:35
linociscobut proxy is not ok yet though I have edited in squid11:35
linociscohi11:40
linociscoI followed that https://help.ubuntu.com/11.04/serverguide/C/squid.html. but client don't get interenet through squid yet11:51
linociscomy squid doesnot work yet12:00
aibohi after boot I'm getting clean /etc/resolv.conf, I need to store nameserver permanently, how can I do it?12:29
aibooh, solved12:32
sorenzul: Why did the adduser call in keystone get moved to preinst?12:39
zulsoren: i was trying to break up the posinst before it got too big12:40
sorenzul: By moving half of it into the preinst?!?12:42
zulsoren: yep12:43
sorenzul: You do understand they serve different purposes, right?12:43
zulsoren: right12:43
sorenzul: So you can't just move stuff back and forth willy nilly.12:43
zulright12:50
zulit will be fixed in the next upload12:50
zuli dont know how yet but it will12:50
sorenzul: Don't... know... how? Just move it back?13:01
zulsoren: probably13:01
sorenzul: You said you moved it because the postinst was getting too big.13:01
zulsoren: im going to play with it this week13:01
zulanyways i have to drop liam off at the bus bbl13:02
sorenHave fun.13:02
zuland freeze my arse off at the same time :)13:02
* koolhead11 burps13:08
Davieysoren: Hmm, if it's just adduser handling, what issues do you expect to see, between doing it in the postinst or preinst?13:17
eutheriai would like to backup my lucid server to a remote host, I tried duplicity because of its encryption, however it seems to be fairly buggy, can anyone suggest an alternative?13:21
pmatuliseutheria: rsync13:28
eutheriapmatulis, with encryption?13:30
eutheriaif duplicity was more reliable it would be fantastic, for backing up to a remote host securely13:31
sorenDaviey: First of all, it was done without adding a Pre-Depends on adduser.13:31
sorenDaviey: But that aside, adding users typically happens in postinst. It was *moved* into preinst. There could be reasons why this is needed. I just don't seem them.13:32
sorenDaviey: "Make postinst shorter".. not a good reason.13:33
Davieysoren: To be fair, on Ubuntu, this is just a lintian warning.  I've *read* your views on trivial lintian warnings :)13:33
sorenDaviey: What is just a lintian warning? The lack of Pre-Depends?13:34
Davieysoren: yes13:34
pmatuliseutheria: yes, rsync can use ssh encryption13:35
zulgood morning13:36
eutheriapmatulis, not the network layer, the file system of the remote machine is where i need the encryption13:36
sorenDaviey: How is it deemed just a warning when it'll make the install fail?13:36
Davieysoren: How many Ubuntu boxes do you know that don't have adduser installed?13:37
DavieyWhilst it isn't Priority: required, it is in base, right?13:37
Davieys/base/minimal/13:38
sorenDaviey: It *is* priority: required.13:39
sorenDaviey: And there is a Depends: on it. But there's no PRe-depends. But this is not the point.13:39
Davieyis it?13:39
sorenThe point is that postinst and preinst aren't the same thing.13:39
Daviey$ dpkg -I adduser_3.113ubuntu2_all.deb  | grep Priority Priority: important13:39
Davieyline break fail, but ygti13:40
sorenSo if you move stuff between them, I sure hope, there's a better explanatino that "the other one was getting too big".13:40
sorenDaviey: That may be what the package claims.13:40
sorenDaviey: The archive says otehrwise.13:40
sorenotherwise, even. apt-cache show adduser | grep Priority:13:41
sorenPriority: required13:41
Davieysoren: true dat13:42
rbasakeutheria: use LUKS or ecryptfs on the remote end?13:42
Davieysoren: so either way, do you agree that it is little more than a lintian warning?13:42
rbasakeutheria: or if you want to use an external provider, take a look at tarsnap13:43
eutheriarbasak, i have no control over the backend13:43
rbasakeutheria: duplicity is the only answer I know of then.13:44
eutheriaduplicity seems great but buggy13:44
sorenDaviey: I don't get wound up about what Lintian says. It's an unexplained change that I wondered about. The answer left me wondering even harder.13:45
Davieysoren: ok, fair comment.13:45
koolhead11nijaba: around13:47
jamespageDaviey: you pinged me earlier about CI?14:36
Davieyjamespage: ah yes.. Wanted to know what ws in the works for this week?14:37
jamespageDaviey: refactoring to make the tarball creation/build process more re-usable14:38
jamespagefiguring out the best way to manage all of the jenkins jobs...14:38
jamespagegenerally consolidating everything that had been done to-date14:38
Davieyjamespage:Have you ben tracking tempest integration ?14:38
Davieyand juju as a client test?14:39
jamespageDaviey: tempest integration - no adam_g is point on that14:40
jamespagejuju as a client test == new requirement so I'm guessing no work has been done on that14:41
jamespagewe are still running devstack in the lab14:41
uvirtbot`New bug: #932800 in glance (main) "New glance dependency: ca-certificates" [Medium,Fix released] https://launchpad.net/bugs/93280014:42
Davieyjamespage: sorry, what is devstack doing?14:42
Davieythe exercise.sh?14:42
jamespageyep14:42
koolhead11BTW before i could think of it uksysadmin has already made this simple script for keystone https://github.com/uksysadmin/OpenStackInstaller/blob/essex/keystone-services.sh14:49
koolhead11am testing it from ubuntu keystone package14:50
lynxmanjamespage: do you have 5 mins for a packaging doubt I have? If so dm me pls14:54
jamespagelynxman, sure14:55
lynxmanjamespage: thanks :)14:56
koolhead11thanks to zul Daviey i can sleep in peace tonight!! :)15:18
stgraberjjohansen: any news on a fixed apparmor? we started getting bug reports of broken lxc...15:35
malihey.. I notice slappasswd does not handle passwords wello. it would seem it is most likely the same iossue which seems to have been patched in january by debian aka, passwd field is not encloised by brackets. So what is the best way for me to patch my server... wait for you or sort it out myself?15:40
uvirtbot`New bug: #948115 in mcollective (universe) "Detect if system is running upstart seems wrong" [Undecided,New] https://launchpad.net/bugs/94811515:51
jjohansenstgraber: sorry fixed the bug I was expecting and turned up more, I am running through some testing on the latest set of patches now15:51
stgraberjjohansen: ok15:52
=== smw_ is now known as smw
uvirtbot`New bug: #948156 in php5 (main) "Include PHP 5.4 to Ubuntu 12.04  release" [Undecided,New] https://launchpad.net/bugs/94815616:31
uvirtbot`New bug: #948157 in ntp (main) "package ntp 1:4.2.4p8+dfsg-1ubuntu2.1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1" [Undecided,New] https://launchpad.net/bugs/94815716:31
thervehi there16:35
thervemy nice rabbitmq fix got bumped with the latest upgrade, anything I can do about it?16:35
therve#913464 fwiw16:37
jamespagelynxman, ^^ know you are working on rabbitmq to tidy up stuff - can you re-instate the fix for bug 91346416:37
uvirtbot`Launchpad bug 913464 in rabbitmq-server "rabbit creates new PAM session" [Medium,Fix released] https://launchpad.net/bugs/91346416:37
thervejamespage, thanks :)16:38
lynxmanjamespage: yessir16:38
jamespagelynxman, ta16:38
jamespagetherve, np16:38
lynxmanjamespage: actually I already had it in mind, it was in the diff (looking at it)16:39
jamespagesweet16:39
malihi, which channel is a normal linux support chan_16:40
maliubuntu+1_16:41
zuladam_g: can you review the glance ubuntu/debian merge proposal please16:41
adam_gzul: yeah, just added a comment about a typo in patch16:44
adam_gzul: will look closer in a bit and build some test packages16:44
zuladam_g: typo in which patch?16:44
adam_gzul: the one that sets the default pipeline/paste flavor16:45
zuladam_g: ah ok16:45
adam_gzul: also, https://code.launchpad.net/~gandelman-a/nova/patch_fixups/+merge/96050 this syncs patches back to a known working state16:46
zulkk16:46
malihey guys17:05
=== koolhead17|away is now known as koolhead17
malifinally17:05
maliI noticed that in slapd when configuring for the ldap admin password, "advanced passwords" often faiil, due to the slappasswd script doesn't enclose the variable in "" . What is the best thing for me to do to patch this?17:06
malipatch it locally then lock down my version?17:06
malikinda sounds like security updates can easily break.. or do I give ya the patch and ask why , since this was fixed in january in debian and upstream around then.. it still isn't in ubu? :_p17:07
rbasakmali: this fix isn't in the current development version?17:10
rbasakmali: and do you know in which version it was fixed in Debian?17:12
maliI  just came back to ubutnu server ONLY for server reasons and not ever desktop reasons again so I woudln't lknow. I can only say looking at this: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635931 and the patch http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=15;filename=slappasswd.patch;att=1;bug=635931 upstream and debiaN fixed this already in jan17:12
uvirtbot`Debian bug 635931 in slapd "slapd fails to install due to configuration error" [Normal,Fixed]17:12
rbasakOK so this was fixed in Debian in 2.4.28-117:13
maliI can confirm that on the oneiric server I installed today and running the sscript iot fails with my 35ish character long password and does seem however to work if I do ot manually (slappasswd) and enclose with " although I think that becomes part of the password. dpkg-reconfgure does seem to wkr after I reran it manually17:14
rbasakUbuntu precise is on 2.4.28-1.1ubuntu3 so it probably has the fix.17:14
mali(I am checking now.. I haven't been on ubuntu , you see, since17:14
rbasakOneiric is on 2.4.25-1.1ubuntu4.117:14
maliah ok, so precise server is out or in beta?17:14
rbasakBeta17:14
maliya ok. I see.17:14
malithank you rbasak . Does this mean then I have to patch a lot of stuff myself for about 3-6 months on a production server, in general?17:15
rbasakThe bug was fixed in Debian only in January, and Oneiric was released in October. Hence it won't be expected to have the fix unless there's an SRU.17:15
maliok. I know it is not a threat as such, except, it doesn't allow for rather ore secure passowords, which for me... being the root password for ldap, is rather half important.17:16
maliso I am just trying to get my head around how it the ubuntu server team works. Sorry if I seem outdated on this as I am.17:16
malibut given Canonical and Debian as such is more voluntary or so... how come it goes slower on ubuntu ? (please bear my ignorance as I left Ubuntu Studio at the time due to this unity thing they had) no sure if it still will be in ubuntu but I am only here for the ubuntu server.17:18
rbasakmali: if you want, you can request an SRU: https://wiki.ubuntu.com/StableReleaseUpdates17:18
rbasakmali: brb17:18
malino , it's ok rbasak : sorry , it is just me who kinda not used to seeing if server / desktop follow similar methods of update.. and also getting used to ubuntu server options as I am starting some businesses but will be setting up most of the infrastructure on th eproduction systems myself along with an admin and two i will enlist. For now I am doing testing to see which system to go for.17:20
maliI suspect BSD should be the winner but since I was always a linux bloke, I am sticking to it. I am on arhc linux now which is so amazing but I just can't think quite rolling release might be dodgy on server systems in a small business.17:21
maliA huge business with many redundant servers and a large team for testing , for sure it is the best but ye. I do hmmm, worry a bit if certain updates might be slow. Although this is not a security issue more than indirectly (simple passwords do not fail but which production server would use simple passwords)17:22
=== mali is now known as mali`aweeh
krauti just went into some creepy situation with ecryptfs on nfs... http://pastebin.com/j0JbCwYn17:24
krautis that interesting for you?17:24
rbasakmali: Ubuntu is based on Debian. So updates in Debian filter through to Ubuntu usually upon the following Ubuntu release.17:25
mali`aweehya, that is an upstream bug though I think. kernel code is erronous.17:25
krautmali`aweeh: did you mean me?17:26
mali`aweehya17:26
krautmali`aweeh: ah, thanks for the tip. do you got any bug id?17:26
krautor anything else where i can look?17:26
mali`aweehya I know rbasak but with all the users ubuntu took on from debian and given it is a company which also offers server professional support, one would think it wasn't like just hacking debians stuff again :p but what do I know. that's why I was asking :) anyway, dog walkie time.17:27
rbasakmali: once a release is made, it generally isn't changed to keep it stable. This is the same as Debian and most other distributions. Arch is an exception17:27
mali`aweehye but you do patch security updates though through right?17:27
rbasakmali`aweeh: yes, and bugfixes are backported as well17:27
mali`aweehso I agree, one wouldn't get the upstream version fix but17:28
mali`aweehya.. ok cool.17:28
krautoO17:28
rbasakmali`aweeh: usually bugfixes are backported on request17:28
mali`aweehI would expect perhaps a patch17:28
rbasakmali`aweeh: see https://wiki.ubuntu.com/StableReleaseUpdates for details of the policies and process17:28
jdstrandmali`aweeh: we have a team dedicated to providing security support for ubuntu. it is separate from the bug fix updates you initially asked about17:28
mali`aweehok good. so my initial question then, which was:17:28
mali`aweehgot ya jdstrand : and that is a paid service yes?17:28
jdstrandmali`aweeh: no. it is free17:29
rbasakmali`aweeh: no, it's not paid.17:29
rbasakmali`aweeh: you can follow the process yourself17:29
jdstrandmali`aweeh: fyi, https://wiki.ubuntu.com/SecurityTeam/FAQ17:29
mali`aweehNice.. thanks17:30
mali`aweehso in general, say I find N patches to perform locally, which some are low/,edium priority , is it better to lock down my system for updates since I am patching myself?17:31
mali`aweehthats the final question.. since there is info on this page17:32
rbasakmali`aweeh: if you do that you'll miss out of security and stable updates17:32
rbasakmali`aweeh: the best thing to do is to supply the patches and get them sponsored. If they conform to policy then they'll go in.17:33
mali`aweehye I know. that is why I am not sure what happens, if I still make locally patched versions of packages, and then wish to update other downstream fixes17:33
rbasakmali`aweeh: you can control the version number of your own packages, and you can use apt pinning to avoid getting updates for particular packages if you want17:34
rbasakmali`aweeh: you might want to look into PPAs as well17:34
rbasakhttps://help.launchpad.net/Packaging/PPA17:34
mali`aweehokidokie. Well. In that case, I will patch it for now locally. repackage it. lock it. then continue ldap and all the other horsepulling mauling setup of stuff! :)17:35
mali`aweehthanks for the help and time.17:35
rbasakno problem17:36
raubvogelIf I am not mistaken, when you want to see the cert for a ldap server, you usually would do something like openssl s_client -connect ldapserver.domain.com:636 -showcerts17:45
raubvogelBut, what if the ldap server only supports tls instead of ldaps?17:45
mali`aweehI just find it funny now one has set up ldap on ubuntu server for 3 months or so, asking for this to be patched :p can confirm the old password thing still fails manually. i.e. the patch is needed. I will post it tonight if i ever get the time, sigh.17:45
rbasakmali`aweeh: I think ldap being fairly enterprisey is mainly used on the LTS release. Is this patch required there?17:57
phretorI've set the hard/soft nofile limits for my user into /etc/security/limits.conf but ulimits -n keeps displaying the default value (1024): Any clue?17:58
mali`aweehrbasak, actually, true.. I am waiting for the new lTS release... and indeed I am using the oneirc as a testbed till it is out. I was just curious thought about the process, given the LTS releases still follow the same principles, right?18:07
mali`aweehAs I am waiting for new servers anyway in about a monnth, which I with a little hope. will coincide more or less with the new LTS18:07
mali`aweehand I do have the 10.04 in a vm from yesterday , I could check but for now, I am not gonna get around to do anything for a few hours18:08
mali`aweehrbasak, nevermind, I will patch it myself either tonight or tomorrow *as I need to refresh the debian packaging system anyhow* and in precise it will be fixed (I will chuck in a report on it if there isn't)18:11
smoserutlemming, i dont think that apt retry would change much.18:27
utlemmingyeah, that's what my testing is proving18:28
smoseri'm not sure whether or not it will retry on a 403, and that is the only remotely "retryable" tihng18:28
smosers/thing/error wer're seeing/18:28
utlemmingsmoser: http://paste.ubuntu.com/871898/18:43
utlemmingsmoser: if you fetch the file via wget/curl, its okay, while if you fetch via apt, it fails18:44
smoserbut is that reproducible ?18:44
smoserie, does it fial again for apt ?18:44
smoseror was it just transient and you not lucky with wget/curl18:45
utlemmingI'm getting the failure consitantly on my instance now18:45
smosercan i come in ?18:45
utlemmingI can reproduce it will....yup, give me a minute18:45
utlemmingsmoser: dns pinged to you privately18:46
utlemmingapt is configured in debug mode18:46
smoserrun by18:47
smoserrun byobu, utlemming18:47
smoserand showme18:47
utlemmingsee the 403?18:48
rbasakthanks mali`aweeh. If you're not planning on deploying things in production until 12.04 is out, you might consider using 12.04 as your testbed now instead of oneiric. It's in beta, past feature freeze, it's mostly there apart from bugfixes, and that way you'll have an opportunity to get bugs that affect you fixed much more easily.19:03
=== Lcawte|Away is now known as Lcawte
=== sixstringsg|away is now known as sixstringsg
=== marrusl_ is now known as marrusl
adam_gsmoser: yeah, same errors across different instance types too ive got nova-compute on one node, glance and everything else on another.19:31
smoserhttp://paste.ubuntu.com/871947/19:31
smoserand19:32
smoserhttp://paste.ubuntu.com/871940/19:32
mali`aweehrbasak, in fact, that is a very good idea.19:32
smoserin yours (second one), it seems to me that init in the ramdisk must be failing *very* early19:32
mali`aweehback, by the way. Grrr, I have installed a server now for the 5th time in 7 days hehe. but how long would you say till 12.04 is out? mid april?19:33
adam_gsmoser: can you pastebin the libvirt template for the instance?19:34
smosermali`aweeh, https://wiki.ubuntu.com/PrecisePangolin/ReleaseSchedule?action=show&redirect=PreciseReleaseSchedule19:34
smoseradam_g, that is from canonistack, so no, i cannot.19:34
adam_gah19:34
smoseradam_g, can i get at your instance ?19:35
mali`aweehok end of april19:35
smoserer...19:35
smoserat your host19:35
smosermali`aweeh, it will release on the 25th of april19:35
smoserubuntu releases arrive on time19:35
mali`aweehhmm, its pushing it for me but I might as well though run it and see if I can follow through.19:35
mali`aweehye, for me it doesn\t matter if its beta or oneiric atm so sure, am downloading now.19:35
adam_gsmoser: ehh not really without a bit of work19:35
smosermali`aweeh, wait. sorry, 26th.19:36
uvirtbot`New bug: #948320 in postfix (main) "main.cf should not refer to localhost" [Undecided,New] https://launchpad.net/bugs/94832019:36
uvirtbot`New bug: #948323 in ipxe (main) "Rom images for e1000 and ne2k missign vendor and device id" [Low,New] https://launchpad.net/bugs/94832319:36
mali`aweehya tis ok. I was hpoing to go live more around 14/15th but then again, I can't afford redundancy in servers enough to run arch *which I admit would be my preference* , besides, I need to reteach myself deb* style managment again19:37
mali`aweehbut I shall rarely ever forgive the desktop attempt of forcing unity on old timers ,p19:38
lamontI'm inclined to call 948320 a configuration error: localhost had better be resolvable19:38
_rubenand localhost is ::1 as well ;)19:39
_rubenand not being able to resolve localhost is indeed, well, atlteast troublesome :)19:39
SpamapSseveral RFC's require localhost to be resolvable and always treated specially19:40
smoseradam_g, so you have the fifo patch from rbasak ?19:40
smbsmoser, note above ipxe bug. I think the quicker fix could be in xen (I am working on another report for that). KVM itself seems to work differently, so it does not seem to require the pci id in the rom header.19:40
smoseradam_g, you're in the initramfs at this point19:42
smoserso you might be able to reproduce just using the initramfs and kernel (kvm -kernel -initramfs -apend)19:42
smoserbut i don't know.19:42
smoseras it seems to me like it is racy19:42
smoseryou are using the fifo output ?19:42
adam_gsmoser: adding --no-log to kernel parameters fixes it19:45
adam_gsmoser: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/93666719:46
smoseradam_g, i don't know that i understand (or believe) that :)19:46
uvirtbot`Launchpad bug 936667 in upstart "Upstart early job logging causes boot failure for systems with no initramfs (error is "No available ptys")" [High,Confirmed]19:46
smoserwell, maybe now i believe it19:47
zulsmoser: heh19:47
smoserbut how did you get no initramfs19:47
smoser?19:47
adam_gsmoser: no idea, just gave that a shot when i had a libvirt domain manually defined. adding it to the nova xml template gets me a booted instance19:48
smoserthat doesn't make sense.19:49
smoseroh.19:49
smoseri see.19:49
smoseryou registered a kernel19:49
adam_gsmoser: http://paste.ubuntu.com/871975/ same instance19:49
smosernot disk image, but kernel.19:49
smoserie, you used the tarball19:49
adam_gsmoser: i extracted and used glance add..aki, glance add..ami19:50
smoserright.19:50
smoserso generally, you dont want to do that :)19:50
smoserits good you found this bug, but you really want the .img file, not the .tar.gz file.19:50
adam_gsmoser: well, in theory that should work just as well as any other method, no?19:51
smoserwell...19:51
smoseryou want the .img file.19:51
smoserbecause it is a "full disk image" whereas inside the .tar.gz file there is only a partition image (or, rather a un-partitioned disk image).19:52
smoserthe issue with the second is that there is no bootloader installed, so you have to supply a kernel19:52
smoserand in doing so, you will not be able to 'apt-get dist-upgrade && reboot' and get a new kernel.19:52
smoserie, if you do, you'll reboot into that old kernel that you registered with.19:52
adam_gright19:52
smoserbut yeah, other than that, it "should work"19:53
smoser:)19:53
adam_gsmoser: whats the workflow for upload the .img?  just 'glance add container_format=ami disk_format=ami < foo.img' with no aki specified?19:54
smoseri have to look in devstack.19:54
smosercloud-publish-image ....19:54
adam_gok19:54
smoseror cloud-publish-ubuntu19:54
adam_gill check. i didnt know devstack did anything other than what i was doing19:55
smoser(you are more than welcome to make those 2 commands use glance and shortcut the ec2 api)19:55
smoseradam_g, you're right19:56
smoserglance add -A $SERVICE_TOKEN name="${IMAGE_NAME%.img}" is_public=true container_format=ami disk_format=ami ${KERNEL_ID:+kernel_id=$KERNEL_ID} ${RAMDISK_ID:+ramdisk_id=$RAMDISK_ID} < <(zcat --force "${IMAGE}")19:56
smoseradam_g, in essex is there a reasonable expectation that the above would be doable by a non-admin user ?19:56
adam_gsmoser: yes, you dont need to be an admin to use the glance client.19:57
smoserif so, and we had bug 928378 fixed, then we could easily make cloud-publish-image upload to glance.19:57
uvirtbot`Launchpad bug 928378 in glance "glance client should be separate from server" [Medium,New] https://launchpad.net/bugs/92837819:57
adam_gsmoser: AFAIK, in theory the images a regular user publishes are accessible by users associated with its tenant, unless is_public=true.19:58
adam_gill check on that, though.19:58
smoserwe'd just have to make bucket optional if nova path was taken (ie, normally it requireds 'arch, image, bucket' as inputs)19:58
smoseradam_g, i would like to do this.19:59
smoseras it would make people able to use 'cloud-publish-image' or 'cloud-publish-tarball' as a consistent'ish interface.19:59
adam_gsmoser: im gonna get something to eat, get the regular .img published through glance w/o using any utils. i want to verify what i just said about users/tenants, too19:59
adam_gsmoser: isn't glance client part of glance-common?20:00
adam_g(which alone doesn't pull in either server)20:00
smoser$ dpkg -S `which glance`20:00
smoserglance-common: /usr/bin/glance20:00
smoserit appears to be now.20:00
sorenDoh.20:01
sorenOh, that's the client?20:01
smoseryeah.20:01
sorens/Doh//20:01
smoserso thats a good thing.20:01
sorenYeah.20:01
adam_git perhaps should be seperated into its own package though20:01
smoserbut 'glance-client' would be better.20:01
smoseryeah.20:01
adam_gglance-common should contain common dependencies for the servers, not the client20:01
* adam_g lunch20:02
zulagreed20:06
=== sixstringsg is now known as sixstringsg|away
smbzul, smoser, bug 948333 (I tried to be helpful by providing a debdiff ;))20:17
uvirtbot`Launchpad bug 948333 in xen "Xen: pxeboot for e1000 emulation not working" [Medium,In progress] https://launchpad.net/bugs/94833320:17
zulsmb: ill get to it tonight20:18
smbzul, Cool, make sure I did not mess up any formalities (changelog and style) its kinda latish20:18
zulsmb: ack20:19
smosersmb, thank you. zul thank you.20:19
uvirtbot`New bug: #939766 in nova "python-novaclient flavor-list is broken against nova diablo/stable" [High,Fix released] https://launchpad.net/bugs/93976620:43
zulbbl20:51
Davieysmb: Great contribution !!21:07
Davieysmb: I am suprised xen is still using etherboot, i thought we switched over to ipxe21:08
=== uvirtbot` is now known as uvirtbot
utlemmingsmoser: I found the cause of the S3 Hashsum/Size mismatch: Bug 94846121:29
uvirtbotLaunchpad bug 948461 in apt "apt-get hashsum/size mismatch due caused by swapped local file names" [Undecided,New] https://launchpad.net/bugs/94846121:29
robbiewSpamapS: https://bugs.launchpad.net/ubuntu/+source/chef/+bug/94843721:31
uvirtbotLaunchpad bug 948437 in chef "Remove unsupported release from Precise" [Undecided,New]21:31
robbiewhttps://bugs.launchpad.net/ubuntu/+source/ohai/+bug/94843821:31
uvirtbotLaunchpad bug 948438 in ohai "Remove unsupported release from Precise" [Undecided,New]21:32
robbiew...and boom goes the dynamite :/21:32
smoserutlemming, that doesn't make any sense.21:32
smoserpackages.bz2 shows python-defer has md5sum of 3653165af1f20a437a14632ce0a2e6c221:32
smoserbut the 'Get:65' showed that 'aptdaemon' had that21:33
SpamapSrobbiew: ACK21:33
smoserand per 'md5sum *' , xul-ext-ubufox_2.0-0ubuntu1 had that!21:33
utlemmingsmoser: yup21:33
utlemmingsmoser: I'll let you take a look at the evidence21:33
=== koolhead17 is now known as koolhead17|afk
smoserthat just seems like a really unlikely race condition.21:36
smoseri dont trus the log output21:36
smoseras it could just be serialized badly21:36
smoserbut the file you have on disk there definitely seems to have different content than its name implies21:36
utlemmingI've ping you the DNS name21:36
uvirtbotNew bug: #948447 in lxc (universe) "Starting an LXC changes the volume (sound!) of the host" [Undecided,New] https://launchpad.net/bugs/94844721:38
smoserutlemming, i'm just trying to think of how that could happen.21:47
utlemmingsmoser: I'm pulling the code now to see if I can make heads or tails of it21:48
smoseruless you're lying to me, and you must renamed those files as a joke, i have no idea what would do that :)21:49
utlemminglol21:49
utlemmingbelieve me, I wish it was _that_ simple21:49
=== sixstringsg|away is now known as sixstringsg
uvirtbotNew bug: #948481 in telepathy-mission-control-5 (main) "adjust Build-Depends to include dh-apparmor" [Low,Triaged] https://launchpad.net/bugs/94848121:56
smoserutlemming, how does htis fail?22:15
utlemmingsmoser: this one is either a hashsum or size mismatch22:15
smoseryou attached the wrong file in comment 222:15
smoser(you attached a screenshot)22:15
smoserplease do attach the output correctly there.22:16
smoserand then also, see if you can't reproduce on oneiric22:16
utlemminglol that was entertaining22:16
smoseror even, try installing oneiric apt on precise and see.22:17
* utlemming tries replicating with oneiric22:17
smoserand have you actually seen this on non-s3 mirrors ?22:17
utlemmingI have, but _very_ rarely22:17
smoserfyi, you can potentially short cut this with --download-only for apt22:17
smoser(assuming it goes through the file checks in that path)22:18
smoserutlemming, https://bugs.launchpad.net/linaro-android-infrastructure/+bug/932088 bug they're not on precise.22:18
uvirtbotLaunchpad bug 932088 in ubuntu "Ubuntu EC2 package mirror intermitent failures" [High,Confirmed]22:18
smoserso either that is not related to this, or they are seeing in on natty even.22:19
smoseranyway.22:19
smoseri've got to run.22:19
utlemmingk, I'll see where I can replicate this22:19
smosergood sleuthing, utlemming22:19
smoseryou should maybe tag bugs that have mention of the ec2 mirrors with a given tag22:20
smoserso we can remember them easily22:20
smoserutlemming,22:20
utlemmingec2-s3-mirrors22:20
smoserwell, i'd skip 's3-mirrors'22:20
smoserer...22:20
smoserskip 's3'22:20
smoserbut i dont know22:20
smoseri just want to see the others too22:20
smosermaybe tag for that too22:21
utlemming"all-hail-smoser"?22:21
smoserexactly22:21
=== Lcawte is now known as Lcawte|Away
=== sixstringsg is now known as sixstringsg|away
uvirtbotNew bug: #948559 in vlan (main) "eth* NIC names hardcoded" [Undecided,New] https://launchpad.net/bugs/94855923:48

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