/srv/irclogs.ubuntu.com/2011/10/26/#ubuntu-server.txt

* RoyK installed his home server on broken mirrors and just resynced them on a newly added drive - nice00:28
RoyKnow, how do I install grub on the new drive?00:29
RoyKthere are issues in all sorts of software, but it's only in the lands of Oracle and Microsoft where you need a handful of gods or a trillion dollars to fix them.....00:45
* genii-around shakes his fist in the general direction of Oracle00:46
* RoyK shakes his fist in the direction of his home server where he just added a new drive to mirror up the root and now it's noisy, the little bugger - damn it's only got like six disks......00:47
twbRoyK: go put it in the 19" rack in the basement then00:48
RoyKwish I had one00:49
genii-aroundI have like 3 empty server racks, 2 19" one 21" which are rusting away here in my basement00:51
=== Ursinha is now known as Ursinha-afk
RoyK21"?00:52
RoyKnever heard of those...00:52
RoyKwhat do you use those for? 19" equipment with sufficient amount of gaffer tape? ;)00:54
genii-aroundRoyK: They used to house Rogers Cable equipment, I sort of inherited them.00:54
twbIt is the way of things00:55
genii-aroundThese particular cabinets housed the battery backup system, 32 huge lead acid buggers00:58
RoyKaren't lead batteries the most used even today in UPSes?00:59
qman__I don't have a rack either, my stuff is hanging in the floor joyces by various means02:09
twbRoyK: yes, because they're stable02:19
Roastedanybody ever see Samba do this before? failed negprot: NT_STATUS_IO_TIMEOUT02:22
twbRoasted: no,02:26
twbRoasted: maybe strace it or something02:26
Roastedtwb, strace?02:27
twbIf you don't know what that means, I can't help you02:29
Roastedsweet02:31
Roastedgreat attitudes here :D02:31
Roastedanybody else ever see that error? I saw it when i ran smbtree. For some reason this laptop was unable to connect to my samba share when it had done so previously the day before without a hitch.02:32
twbI am not representative of normal IRC denizens.02:32
Roastedthat's good. we'd be in trouble if you were.02:32
Roastedthanks anyway, I'll keep asking around.02:32
twbRoasted: test with smbclient on localhost first02:32
twbOtherwise problems could be unrelated to smb, like your cat5 cable is buggered02:32
Roastedwireless02:32
twbWhatever02:33
twbHeh, I had a freakout because my laptop had ifupdown 0.703:57
twbBut it's ifupdown 0.7~really0.6...03:57
=== nandemonai is now known as Guest54577
=== Guest54577 is now known as nandemonai
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
TakyojiIs there a way to write a script that runs when an interface is up?06:29
twbTakyoji: /etc/network/if-up.d06:29
Takyoji/etc/network/if-up.d/ or?06:29
Takyojiahh alright06:30
twbTakyoji: what's your use case?06:30
TakyojiMounting an NFS share06:30
twbBecause if it's firewall, iptables-persistent package is better06:30
twbOr ufw, I guess06:30
Takyojiregarding the issue of fstab trying to mount the NFS share before the network is even accessible06:30
twbOh that shit06:32
twbOne moment06:32
twbhttp://paste.debian.net/139962/06:32
twbThat last stanza06:33
twbAt at 10.04, I encountered a cyclic dependency in NFS mounting at boot, and that was the only way to fix it short of replacing mountall and upstart with stuff that actually worked06:33
twbAnd yes, that really does tell mountall to try to finish mount -a every tenth of a second FOREVER06:34
Demosthenesanyone else have an issue with initial shell logins taking up to 5 minutes to occur? i suspect its the fancy welcome message (disk status, users, packages, etc)06:40
twbDemosthenes: immediately after a reboot?  Yes, remove byobu06:41
twbThe package responsibel is actually called something like unattended-upgrades-common and has Section: gnome06:41
twbIf it continues to happen indefinitely, it's a fuckup in your nsswitch.conf settings06:41
twb(e.g. the ldap server is unreachable)06:42
Demosthenestwb: interesting.06:42
Demosthenesgenerally after reboot and first login per user.06:43
twbYep06:43
Demosthenessometimes even times out and you hve to try again06:43
twbThen it's the former06:43
Demosthenesthats as annoying as that "command suggestion" thing06:43
twbYou can stop c-n-f on a per-user basis btw06:43
twbhttp://cyber.com.au/~twb/.shrc06:43
twbline 2406:43
Demosthenesoh no, whole box. ;]06:44
twbin that case just uninstall c-n-f06:44
c0nv1ctmenu in ubuntu07:04
c0nv1ctMT07:04
c0nv1cthttp://i.imgur.com/1YbXp.jpg <-- meant to paste this... any idea what is causing it? showed up after recent update07:05
twbc0nv1ct: are those characters unreadable, or is that an artifact of your photo?07:05
c0nv1cttwb: that is exactly how my tty looks at boot07:06
c0nv1ctno readable text since grub complaining about fd007:06
twbDoes hitting Alt-<left> a dozen times fix it?07:06
c0nv1ctevery tty is the same garbled font07:06
twbOK, then what I would do is go in with a live CD and blacklist the framebuffer, reconfigure console-setup (and rebuild the ramdisk), or disable plymouth07:07
twbProbably all of the above07:07
c0nv1cti can ssh in fine, framebuffer seems like the culprit since there is some blankness during boot that would imply that07:07
twbOh, I'm assuming you're on x86 and are OK with ASCII -- if not then that's more effort07:08
twbLike if you need to see greek on the tty or something07:08
twbYeah the problem is clearly something funky fb-wise07:08
twbI haven't seen those specific symptoms before07:08
c0nv1ctdmesg says it is using efifb... pretty sure this old AMD doesnt use EFI07:10
twbso blacklist it07:11
Demosthenestwb: it was landscape!07:35
twbSigh07:35
Demosthenesremoved landscape-common, and no more lag07:35
Demosthenesat login anyway07:35
twbThat install option for landscape should say "DO NOT pick this unless you gave Canonical your VISA card" or something07:36
twbSince AFAIK it's pointless and harmful unless you actually have a support contract or whatever07:36
riot_lehello, i am searching for Help by setting the correct Group-Permissions on a Path, maybe anyone who can help?07:39
Demosthenestwb: yeah, seemed advertisy, but i can't begrudge them a little branding.07:40
twbDemosthenes: more just that I get called in to clean up when users try to be their own admins, and sometimes they pick that because it sounded neat07:41
Demosthenestwb: just frustrating that i read the user profiles, and /etc/bash.bashrc, etc, and none of it clued me in. wasn't til i found the MOTD was where they're written, and somehow autoupdated.07:41
twbWhich sounds like what happened to you07:41
Demosthenesi don't recall asking for it07:41
twbDemosthenes: yeah, update-motd and friends.07:41
Takyojiriot_le: changing what group a file/folder is owned by, or read/write/execute for a group on a file?07:41
Demosthenesi tend to be a package minimalist07:42
Demosthenesand i'm not interested in their service07:42
twbDemosthenes: the other one that messes with me, is you get an MTA by default *iff* you configure software raid.07:42
Takyojiriot_le: If you're changing the group, the syntax is: chgrp (group name) (file name)07:42
Takyojiif it's a folder and you want it done recursively, add -R to the command07:42
twbTakyoji: -Rh if you're paranoid07:42
Demosthenestwb: wild ;]07:43
twbDemosthenes: it's because mdadm has Recommends m-t-a so it can send panic mail07:43
riot_le@Takyoji: I added a User to a System and gave him the Path as Homepath where he can write. When User X add a File to the Path the File has the Attributes Owner X Group X07:44
Demosthenestwb: wise mdadm07:44
riot_lebut i want that the Group is still y (like any other Files in Folder)07:44
Demosthenestwb: of which i appreciate. i'm running raid1 and raid6, and already tested that ;]07:44
twbriot_le: you might want setgid on the dir07:44
Demosthenesraid1 across a pair of 16GB usb sticks for booting the OS ;]07:44
twbDemosthenes: yes, but it's not logical that you get (an unconfigured) MTA iff you configure software raid07:45
twbDemosthenes: it violates principle of least surprise07:45
Demosthenesyeah, unconfigured is a pita07:45
Demosthenesoh thank god someone else knows that principle07:45
TakyojiAlso, twb, I managed to write a script that works upon the interface going up, for it to wait 3 seconds, and kill mountall.07:45
twbOK, to be fair, I *think* during install it prompts you to configure postfix07:45
Takyojiso yay, it works07:45
TakyojiYes, it does install postfix as a requirement07:45
TakyojiAlso, can you check for faulty drives via /proc/mdstat? :P07:46
twbTakyoji: you'd just better hope that 3s stays correct everywhere you put it07:46
TakyojiI know. :P07:46
DemosthenesTakyoji: mdadm monitors and emails...07:46
twbTakyoji: e.g. if you also deploy that config on an embedded box and an s/390 or something07:46
TakyojiI don't have the emailing function configured at all07:46
riot_le@twb how to setgid?07:46
twbTakyoji: btw, if you think of a better solution (that works for LTS), do let me know07:47
Takyojialright; I'll keep it in mind.07:47
twbriot_le: uh, it's dangerous to tell you without the full explanation of how POSIX DACs work, and I don't have time07:47
jamespagemorning all07:47
=== almaisan-away is now known as al-maisan
lynxmanmorning o/08:19
BuenGeniohello08:20
BuenGeniohow do I check the current power consumption?08:20
BuenGenioin Watts08:20
twbBuenGenio: plug in a power meter between mains and your server08:22
BuenGeniotwb, really?08:22
twbReally.08:23
BuenGenioyou know you can just use the post office to send mail?08:23
BuenGenioplus receiving post cards is much nicer08:23
BuenGeniowhy don't you do that?08:23
twbBecause I have no friends to write.08:23
BuenGeniothought so08:23
twbIf you expect me to build a better solution, then go back in time and deploy it in time to get into the release of Ubuntu you're running, then you're shit outta luck.08:24
BuenGenioif you're talking to me, I wasn't expecting /you/ to do anything. not to give smarty-ass answers, anyway.08:25
twbBuenGenio: fair enough.08:25
BuenGenioI don't know who you are and what ou do, but - shoving a power meter in my rack is not the answer I was looking for.08:26
twbit's what I did last week08:26
BuenGenionot sure if it's the sentiment I share with your (would-be) friends...08:26
BuenGeniohah!08:26
BuenGeniomaybe I'm a bit stressed (and missing the obvious).08:27
BuenGenioI don't know08:27
twbMaybe if you have name-brand Sun gear or something, there is a better way, but AFAIK not for fungible whitebox crap08:27
BuenGeniomaybe I need to see a shronk08:27
twbOr obviously if you have a decent UPS already, you can ask it08:27
c0nv1ctcrap, traded the terminal font problem for a networking problem... the network service is stuck on stop/wait08:27
BuenGenioI have PowerBar installed on Windows - that tells me exactly the watts I'm using08:27
BuenGeniothought Linux would have figured that out long before that08:27
twbShrug.  Maybe you can ask something in /sys/, but I'm not aware of it08:28
c0nv1cti'm late to this convo, but powertop doesnt work for you?08:28
twbc0nv1ct: that shows IRQ wakeups and stuff, not an overall wattage number IIRC08:28
twbCurrent debian sid version doesn't tell me watts on my atom-based netbook, fwiw08:29
twbc0nv1ct: what did you do that borked networking?08:30
c0nv1ctnot sure really, the only change i made was to add a dns record to interfaces, but i removed that line and it still doesnt work08:31
twbc0nv1ct: you didn't turn plymouth off or blacklist fb or anything?08:31
twbThat symptom sounds like you didn't turn plymouth off hard enough or so08:31
c0nv1ctto fix the console font i set GRUB_TERMINAL=console in defaults/grub and did update-grub208:32
twbThat shouldn't cause that problem08:32
c0nv1cti am seeing plymouth errors though, maybe i need to turn that off harder08:32
c0nv1ctwhats the hard way to disable plymouth all together?08:32
twbMaybe post-lucid, plymouth relies on grub to set up the framebuffer?08:32
twbc0nv1ct: by "harder" I meant, like, with extreme prejudice08:33
twbIdeally you just uninstall it, but as at lucid a Depends screw up makes that impossible08:33
ersiBuenGenio: There's no totally reliable way to determin power usage from software. The closest you get, is by polling ACPI/A battery/UPS. If you want RELIABLE power metering, you should really follow twb's advice of getting a physical power meter.08:33
c0nv1ctugh, why is ubuntu-server messing with framebuffers and crap, i'll just uninstall it and see08:34
twbGood luck08:34
BuenGeniothx08:34
twbBuenGenio: that was actually at c0nv1ct :-)08:34
BuenGenioIt's just that my data center is 10,000km away08:34
twbBuenGenio: I feel you pain, man08:34
BuenGenioit's more curiosity really...08:34
twbBuenGenio: can you get a colo monkey to put one in for you?08:34
twbIf it's in a datacenter they might even have that already08:35
c0nv1ctyeah, cant remove plymouth... wow08:35
lynxmannormally datacenters measure consumption per power line08:35
twbc0nv1ct: ok, the two main things I've done is to dpkg-divert all the bits of plymouth from /usr/share/initramfs-tools and /etc/init, and to add blacklists for more framebuffers in /etc/modprobe.d/ -- both will require update-initramfs -u -k all, and note that if you cock it up you'll need a live CD or so to get back in to fix it.08:36
ersiBuenGenio: I'd hear with your hosting provider, if they possibly could hook you up with some monitoring. But I also, feel your pain about this subject08:36
twblynxman: power line as in per port in the rack's power rail (thus, per device in the rack), or power line as in port in the wall08:37
lynxmantwb: power line as power strip on the rack08:37
twbRight08:38
lynxmantwb: that's the normal behaviour, so if you have N servers on that power strip you can guesstimate consumption08:38
ersiGuesstimation <308:38
twbI ask because I don't wear enough ties to babysit the kind of customers that have colo hosting08:39
lynxmantwb: If you have some advanced hardware the PSU will also tell you the power consumption, but I've always found those to be innacurate08:39
lynxmantwb: the best solution that I've found for colo is to buy one of those APC power control strips, the modern ones have also consumption per plug08:41
=== c0nv1ct_ is now known as c0nv1ct
Rolpahello?08:44
ersiHi.08:45
RolpaI need a little help08:47
archayli have ldap and unix user in duplicate. how to delete user by userid, not by name using terminal, i intend to keep the ldap user.08:49
c0nv1ctarchayl: you are trying to remove users in bulk from a list of UIDs?08:52
archaylc0nv1ct: nope, just around 5.08:54
c0nv1ctarchayl: ah, then nothing fancy needed, just use /etc/passwd to find the username08:55
Omega42hi... are there known problems with ubuntu 11.10 and libvirt hook scripts?08:56
archaylc0nv1ct: it's a duplicate username. i have 'john' in both ldap and system with different uid. it represents the same user. i want to retain the one in ldap.08:58
xranbyOmega42: possibly, do any of these bugs match your issue? https://bugs.launchpad.net/ubuntu/+source/libvirt08:59
c0nv1ctarchayl: then remove the user with userdel?09:00
ersiRolpa: Ask whatever your wondering (that is related to ubuntu on serers) - and you might get an answer. No guarantees though ;) Don't ask to ask, ask instead09:01
Rolpaoh sorry lol09:01
Rolpawas afk09:01
Rolpayea09:01
RolpaIm having issues with vsftpd09:01
RolpaI have it installed on my server installation09:02
Rolpabut when I try to FTP in with my client. it establishes a connection to the server but says my login is incorrect09:03
archaylc0nv1ct: does userdel delete the ldap user too?09:04
pmorrisHi, for some reason my server is unable to resolve hostnames since last night and I cannot understand how or why. Besides doing regular apt-get updates nothing has changed. I can "fix" the problem by running dhclient but every time I restart networking I have to do this again09:04
c0nv1ctarchayl: no09:05
RolpaIve checked my config repeatedly and I dont see an issue09:05
Omega42archayl: i didn't find my problem ther09:07
Omega42the problems, i have problems using hook scripts:09:07
Omega42qemu hook script: i get the error: "internal error Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin /etc/libvirt/hooks/qemu VMxy prepare begin -) status unexpected: exit status 1" and my VMs won't satrt, The script is a correct bash script and exits 009:07
Omega42daemon hook script: that's is totally ignored09:07
Omega42versions: libvir 0.9.2 / API: QEMU 0.9.2 / Hypervisor: QEMU 0.14.1 (KVM) / ubuntu 11.1009:07
Omega42maybe it's a poblem caused by release-upgrades, i alwaysw keep old config files - i'll try with a clean install09:07
ersiRolpa: What kind of configuration do you have? Are you allowing local_enable = YES in your config? Or are you using another authentication method for your users?09:08
Rolpalocal_enable is enabled09:09
Rolpayea09:13
Rolpaits a default setup09:13
RolpaStatus:Connecting to 192.168.1.6:21... Status:Connection established, waiting for welcome message... Response:220 (vsFTPd 2.3.2) Command:USER stefano Response:331 Please specify the password. Command:PASS ********* Response:530 Login incorrect. Error:Critical error Error:Could not connect to server Status:Connecting to 192.168.1.6:21... Status:Connection established, waiting for welcome message... Response:220 (vsFT09:13
Rolpathats what I get when I attempt to connect09:13
archaylc0nv1ct: thank you very much ;)09:26
Rolpahello?09:38
=== KM0201_ is now known as KM0201
DavieyAnyone keen to land a patch for SRU?10:17
pmorrisCan someone who understands networking shed any light on why I have to run dhclient but every time I boot or restart networking? Since last night I've been unable to resolve hostnames and since it fails at boot time all my services including SSH fail also10:24
Davieyjamespage: Does it make sense to do an update fakesync of geronimo-jms-1.1-spec?10:26
tooblerCan someone give me a link to configure an SMTP in Ubuntu, it will be very helpful for me. Thanks10:29
w00toobler, https://help.ubuntu.com/community/Postfix ?!10:30
tooblerThanks10:30
uvirtbotNew bug: #881903 in lxc (main) "lxc-fedora template is broken" [Undecided,New] https://launchpad.net/bugs/88190310:31
jamespageDaviey: looking now10:34
uvirtbotNew bug: #881906 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: ErrorMessage: package samba is not ready for configuration  cannot configure (current status `half-installed')" [Undecided,New] https://launchpad.net/bugs/88190610:36
jamespageDaviey: yes10:37
Davieycool10:39
Davieyzul: I see you last merged ntp, do you want to do so again?10:39
zulsure10:40
Davieygreat10:40
Davieyhallyn: Do you think we should sync open-vm-tools?10:42
Davieyzul: Were you handling lynxman's puppet merge?10:42
zullynxman: yeah i was told to wait for a newer puppet release though10:43
lynxmanzul: There's a CVE for 2.7.6 coming through10:43
Davieyzul / lynxman: 2.7.6-1 has been in sid since the weekend10:43
lynxmanzul: thought we could make both? :)10:43
Davieylynxman: ah10:44
DavieyWasn't thatfixed yesterday?10:44
lynxmanDaviey: mdeslaur was on it for the releases, not for precise though10:44
zulmdeslaurzul: fyi don't merge puppet 2.7.5, we need 2.7.6 to fix this: http://puppetlabs.com/security/cve/cve-2011-3872/10:44
uvirtbotzul: ** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem.  When the candidate has been publicized, the details for this candidate will be provided. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-3872)10:44
Davieylynxman: it seems to be fixed in 2.7.6.. no?10:45
lynxmanDaviey: it is10:45
lynxmanDaviey: that's what 2.7.6 is for :)10:45
Davieylynxman: so what is blocking?10:45
zultesting doesnt have it yet10:45
lynxmanDaviey: so we can try and merge 2.7.6 straight10:45
lynxmanDaviey: just my mind I guess :D10:45
zulill do the puppet merge as well10:45
lynxmanzul: as said, if I can help I'll be glad to :)10:46
lynxmanzul: as soon as I finish this whitepaper (today)10:46
jamespageDaviey: want me to take care of that?10:46
Davieyzul: We can still merge/sync from sid10:46
Davieyjamespage: wassat?10:46
zulcan ill take a crack at it then10:47
jamespagegeronimo-jms-1.1-spec10:47
Davieyjamespage: gets it off the list :)10:47
jamespageDaviey: coolio10:47
Daviey"Add build-dependency on python-support" Thanks Debian... i won't be merging that.10:48
lynxmanDaviey: lol10:48
Davieyhallyn: qemu-kvm, 0.15.1+dfsg-1 - seems all good fixes.. should we grab that?10:49
Davieywhois looks like a nice easy merge, anyone want to grab it?10:52
Davieykoolhead17: ^^ ? :)10:53
koolhead17Daviey: hellos10:55
koolhead17Daviey: show me the way O Master!! :)10:57
koolhead17Daviey: last night result after removing the sqlite.so http://paste.ubuntu.com/719588/ seems issue still persists10:59
Davieykoolhead17: hmm, can i see a debdiff?11:00
koolhead17ok 2 mins11:01
Davieydebdiff *5.3.8-2ubuntu1.dsc *5.3.8-2ubuntu2.dsc | pastebinit11:01
koolhead17hmm11:01
* koolhead17 starts his virtualbox instance11:02
koolhead17Daviey: http://pastebin.com/8WP5guGB11:07
Davieykoolhead17: Hmm, perhaps that isn't what creates the conf then.11:11
koolhead17Daviey: there is one  more file name modulelist11:14
koolhead17it has entry of sqlite insted sqlite311:14
koolhead17Daviey: http://pastebin.com/9zHq9tbz11:15
Davieykoolhead17: hmm, might be worth trying that11:15
koolhead17Daviey: shall i replace it with sqllite3 or remove the whole entry of sqllit from the file11:16
koolhead17?11:16
koolhead17:)11:16
Davieykoolhead17: 'try it' :)11:16
koolhead17ok am removing sqlite entry from there11:17
koolhead17Daviey: one more question i will remove that part and run dch -i  i should remove "precise-i386_result" directory ?11:19
Davieykoolhead17: no need to, but can do11:20
koolhead17ok removing then running :)11:20
Davieyit'll overwrite if it is the same version11:20
koolhead17but i think it should create new version 3 as 2 is what will get upgraded :)11:20
Davieykoolhead17: you can overwitre the package :)11:21
Davieyubuntu2 is what will get uploaded.11:21
koolhead17ok. so am doing notthing. as you said it will be updated.11:22
koolhead17another 3 hrs wait11:22
lynxmankoolhead17: \o/ your first merge :)11:25
koolhead17lynxman: hola!! Yeah once the issue gets fixed :D11:25
andybalonganybody can help me please ?12:30
rbasak!ask12:31
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience12:31
andybalonghow to open port game online in squid ?12:31
andybalonghow to set it inside squid12:33
cwillu_at_workandybalong, I'm not sure that squid will do that, but I could be mistaken12:36
cwillu_at_workand my quick glance at the docs and faq seems to confirm that12:38
cwillu_at_workandybalong, squid is a proxy for specific protocols, (i.e., you can think of it as acting like both a web server and client); what you're asking for is more a dumb "shovel everything from this port to this address"12:39
cwillu_at_workand of course, having said that, I find a page that seems to describe what you want, but it also seems new and kinda experimental12:40
cwillu_at_workbut even then, I'm not sure :p12:40
cwillu_at_workhttp://wiki.squid-cache.org/ConfigExamples/MultiplePortsWithWccp212:40
cwillu_at_work(it describes the configuration to set up a normal port forward through the linux kernel's network layer, so I don't think this is a squid thing specifically)12:41
andybalongok, thank you i'll try12:42
smoserhallyn, around ?12:44
smoserlibvirt lxc issue of the day.12:44
zuloooh...this shouldnt be pretty :)12:46
smosercomon hallyn, stop hiding. i prefixed 'lxc' with libvirt so you wouldn't complain about that.12:52
hallynsmoser, oh, hey12:52
=== horjulf is now known as h0rjulf
zulmorning btw12:53
smoserlibvirt lxc dies for me when i try to run a cirrOS container.12:53
hallynwhat is cirrOS12:54
smoserhttps://launchpad.net/cirros/+download get the lxc.tar.gz and then try to run it (i try with using my lxc-libvirt-root)12:54
smoserhttp://smoser.brickies.net/git/?p=tildabin.git;a=blob_plain;f=lxc-libvirt-root;hb=HEAD12:54
smoserit dies with can't mount /dev/pts12:54
hallynoh right12:54
smoserhallyn, cirros is my little toy12:54
hallynright :)12:54
hallynzul, good morning :)12:54
smoserhallyn, is there some way i can test lxc proper ?12:55
smoserrun-a-container-in-this-root ./rootd12:55
smoserthats what i want12:55
hallyni don't know of a such a script.  You could lxc-create a basic container, then swap out the rootfs12:56
hallynor i can whip up such a script12:56
hallynit hasn't been useful in the past bc rootfs needed tweaking by templates anyway12:56
smoserwell, hte lxc-create path sure is attractive, doing hundreds of megabytes of disk io and network io in order to create a 15 line config file :)12:57
hallynglad you like it12:57
hallynhold on i'm working on a config12:58
hallynsigh, cloud-init hanging13:00
smoser;)13:01
hallyn(for some raason my containers aren't getting a proper resolv.conf from libvirt's dnsmasq)13:01
hallyn20/30, almost there13:01
hallynsmoser, well, http://people.canonical.com/~serge/cirroscfg has the config and fstab files you can use13:03
hallynit's hanging for me on the fancy ascii-art logo13:03
zulis this on oneiric or pangolin13:04
hallynsmoser, wget: can't connect to remote host (169.254.169.254): No route to host13:04
hallyn, that host isn't up anyway13:04
hallynzul, oneiric, though with pangolin's libvirt13:05
zulhallyn: ah13:05
hallynactually its resolv.conf is fine13:05
hallynsmoser's hardcoded host is just bogus :)13:05
smoserhallyn, typo? /var/lib/lxc/o1/fstab13:06
smoserhard coded path ?13:06
hallynoops, yeah13:07
hallynis that in notes?13:07
hallynobviously we can make this into a trivial script or template13:07
hallynwhich reminds me,13:07
hallynSpamapS, were you ready to get your euca tarball based lxc template into the lxc package?  :)13:07
smoserhallyn, do i need an fstab ?13:08
hallynsmoser, if you want proc mounted, i think you do13:09
hallynwell, no,13:09
hallynyou can put those entries straight into config is uppose13:09
smoserinto the config ?13:10
smoserinit mounts /proc13:10
smoserand /sys13:10
smoser(as it should)13:10
hallynsmoser, then you don't need it13:14
hallynso, does it work?13:14
smosernot tried yet.13:15
SpamapShallyn: it was pretty simplistic... I wonder if we could just make it the "OVF" template or something.13:17
hallynyuck13:17
hallynno reason we couldn't though13:17
hallynmaybe one night next week :)13:17
hallynwrite it over a pitcher?13:17
smoserSpamapS, well the ovf references the full disk image13:18
smoserand that is not really suitable for lxc consumption. just due to the partition table.13:18
SpamapSsmoser: we could loop mount and copy the stuff out of it13:20
smoserwell thats just silly.13:20
zuland a waste13:20
smosertheres a partition image that what you want13:20
smoserand libvirt newer versions support using the partition image13:20
SpamapSJust thinking in terms of integrating a standard13:21
zulright that needs to be tested as well again13:21
smoserSpamapS, doing it "right" that way would really require supporting a disk that was partitioned with multiple partitions, reading itfs fstab, mounting13:21
smoseror...13:21
smoseractually, my opininion the better way to do all this is to make a loader that you run, that essentially takes a device node, mounts a root partition in it read-only, and calls /sbin/init13:22
smoserand get lxc out of the garbage of thinking it knows anything.13:23
smoserthings like mounting proc and sys are just silly13:23
=== Ursinha-afk is now known as Ursinha
smoserhallyn, ok. so i booted with your config13:26
lynxmanzul: I'm all yours, want me to merge 2.7.6 from sid?13:27
zullynxman: sure...i just started to look at it, but it looks like it can be synched13:27
lynxmanzul: okay, having a lookie then :)13:28
smoserhallyn, so where should i put a getty under this lxc-start world?13:31
hallynon tty113:32
hallyn(or tty2..tty4)13:32
smoserthere is no entry in /dev for tty113:32
smoserjust try anyway?13:32
smoserin libvirt i get an entry there i think13:32
smoserif i just try i get 'can't open /dev/tty'13:35
smoserer.. /dev/tty113:35
hallynsmoser, create the device nodes inthe rootfs13:40
smoserhallyn, ok. so i mknod /dev/tty1 and then try to run a getty on it and i just dont see anything13:40
smoserwriting (echo "hello" > /dev/tty1) also does not get anything written to screen.13:40
hallynthen do lxc-console -n cirros13:41
smoserah. there we go!13:41
hallynthe lxc-start console is probably tty0?13:41
smoser:)13:41
hallynso actually if you jsut create tty0 you might get console on lxc-start13:41
smoserwhats the escape key ?13:41
jehWhen using a seed file does anyone know how to get past  "do you want to activate serial raid devices"13:44
smoseri see no affect of /dev/tty013:45
pmatulisjeh: you probably don't want to have that queston asked at all (whether you see it or not)13:45
pmatulisjeh: it sounds like you have fake raid on your m/b13:46
pmatulisjeh: do you actually use it?13:46
hallynsmoser, dev/console?13:47
smoser /dev/console seems ot have an affect13:50
smoserhallyn, how do i detach from an lxc-console13:51
hallynctrl-a q13:51
hallyndo you not launch a getty on /dev/console?13:52
smoseri do not.13:53
smosermost things do not13:53
smoserthey launch something on tty113:53
smoseror ttyS013:53
smoserhallyn, you have any idea what is going wrong in libvirt lxc ?13:54
hallynno13:55
hallynwhat do i do with that script you gave me13:55
smoserdid you try it? it dies with the pts issue.13:55
smoser./libvirt-lxc-root ./rootdir13:55
hallynodd, that goes through the cloud-init loop much slower than lxc does13:58
smoseryou get to that loop ?13:58
smoserit goes through slower because it has a network.13:58
hallynsmoser, yes, adding a consoel entry to inittab gives a console lxc-start window, fwiw.  but presumably you'll want to do 'lxc-start -d -n cirros' anyway, and not use that13:58
smoserunder lxc the dhcp is not getting a ip address13:58
hallynyes i get that loop in libvirt13:58
hallynand, got a prompt13:59
smoseri hate you13:59
hallynnow, i'm running 0.9.613:59
hallynnot sure if something else has changed13:59
hallynsmoser, i assume you extracted the rootfs as root?13:59
smoserhallyn, no. i used the -lxc.tar.gz14:00
smoserwhat did you use ?14:00
uvirtbotNew bug: #882031 in clamav (main) "SRU tracking bug for clamav 0.97.3" [Undecided,New] https://launchpad.net/bugs/88203114:01
uvirtbotNew bug: #882028 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: ErrorMessage: package samba is not ready for configuration  cannot configure (current status `half-installed')" [Undecided,New] https://launchpad.net/bugs/88202814:03
jehpmatuli: correct, it's on the MB, even though it's disabled in the bios it still prompts me for this14:08
hallynsmoser, i did sudo tar xvf and pointed your script to the dir14:10
smoserwhich file did you download ?14:10
hallynyour lxc.tar.gz14:10
jehpmatulis: I have it, don't use it, and don't want to be prompted for it14:10
smoserx86_64 ?14:10
smoserstrange.14:10
hallynsmoser, regarding a new lxc template, yes, what i'd like is to just point the template to an existing, untarrted rootfs14:11
hallynsmoser, yes, x86-6414:11
jehpmatulis: I tried "disk-detect     disk-detect/dmraid/enable       boolean false" but that didn't work14:11
hallyni asked about untarring as root bc of course i first tried as me, but couldn't create the devices in it14:11
pmorrisSince last night I've been unable to resolve hostnames and since it fails at boot time all my services including SSH fail also. Manually running `dhclient` makes hostnames resolve again, but restarting networking (or rebooting) recycles the problem. Any idea why this could have suddenly started happening?14:29
zoopsterpmorris: something installed/changed/updated prior?14:33
zoopsterpmorris: any errors in the logs?14:33
=== al-maisan is now known as almaisan-away
cerberoshow do I find out which debian version ubuntu 10.10 uses? google is not my friend14:41
_rubenwhatever was in debian testing at that time14:42
UrsinhaDaviey, hey14:52
smoserhallyn, so would you expect a getty on a 'lxc-start -n <name>' output ?14:54
hallyn?14:55
hallynif you add a console entry to /etc/inittab, then you get a getty there14:55
hallynworked for me anyway14:55
smoseryes14:56
smoserbut would you expect one there?14:56
smoseradding one gets local echo on it.14:56
hallynoh.  yes.14:56
hallynwhat do you mean?14:56
smoserhttp://paste.ubuntu.com/719725/14:56
hallyni always just do 'lxc-start -n x' and expect the console there.  but a lot of people prefer to do -d14:57
hallynjikes14:57
hallyni don't recall having that.  lemme retry14:57
zulDaviey: ntp uploaded btw14:57
hallyni'll go read up more on augeas while waiting for cloudinit14:57
smoserhallyn, you can drop the cloud-init stuff.14:58
smoserjust edit /var/lib/cloud/config.sh14:58
smoserNOCLOUD=114:58
smosererr.. IS_NOCLOUD=114:59
hallynyeah, i see the echo.14:59
hallynin ubuntu containers we do 'getty  -8 38400'15:01
hallynbut -8 is not supported in your getty15:01
hallynodd.15:02
smoseri've got lxc in a func now15:03
smoser$ sudo lxc-start -n cirros15:03
smoserlxc-start: Permission denied - failed to create pty #015:03
smoserlxc-start: failed to create the ttys15:03
smoserlxc-start: failed to initialize the container15:03
hallynyou've got me in a func15:03
hallyndoes 'lxc-start -l debug -o outout -n cirros' give any more info?15:04
hallyn(in outout)15:04
smosersame thing i pasted15:04
hallynno in file outout15:04
smosersame thing15:05
smoserstrace shows: chown("/dev/pts/2", 0, 5)               = -1 EROFS (Read-only file system)15:05
pmatulisjeh: so go into your BIOS, remove all traces of fakeraid configuration (remove meta-data from you disks), and then disable fake-raid altogether15:06
hallynsmoser, you might want to check dmesg on the host for an oops15:07
smoserno.15:07
smoserits very clean15:07
jehpmatulis: thanks. The solution was that, and zeroing the MBR15:07
pmatulisjeh: good stuff15:11
smoserhallyn, ok. so something ended up mounting /dev/pts ro15:35
smoserbut i have no idea what15:35
mari00hi all, i'm struggling with a manual install of tomcat6.15:37
hallynsmoser, has it stopped?15:37
mari00i want to install it under a user (tomcat6) that uses the nologin script.15:37
mari00but i can't quite get it to work.15:38
hallynsmoser, i don't know why busybox-getty is doing the echo;15:38
mari00anyone here think they could help me?15:38
hallynagetty does not15:38
UrsinhaDaviey, are you still there? alive?15:48
RoAkSoAxUrsinha: he's a vampire... he never dies :)15:48
UrsinhaRoAkSoAx, :)15:49
DavieyUrsinha: hey16:07
koolhead17hola RoAkSoAx16:08
zulDaviey: when you get a second can you have a look at http://people.canonical.com/~chucks/keystone16:12
Davieyzul: debdiff for the lazy? :)16:14
Davieydon't worry16:14
zulDaviey: aaaaaaaaa16:15
zulDaviey: http://people.canonical.com/~chucks/keystone/debdiff16:16
=== medberry is now known as Guest72101
Davieyzul: waaaat is this:16:18
Daviey-        help="specifies port for Admin API to listen on (default is 5001)")16:18
Daviey+        help="specifies port for Admin API to listen on (default is 35357)")16:18
DavieyThey changed the default port, seriously?16:18
zulDaviey: welcome to keystone country....stay for the flavor16:18
koolhead17zul: :P16:20
koolhead17Daviey: hahahaha16:20
zulDaviey: they still havent cut a release but that tarball matches the git tag but its renamed to something sensible16:20
Davieyzul: it's really much larger than i expected.16:21
DavieyIt's a universe package, and still makes sense IMO.16:21
zulDaviey: yeah16:21
DavieyIf keystone is currently as broken as people say16:22
Davieyzul:I would raise a discussion with ~ubuntu-mir, and concurrently we need to verify it works before uploading to -proposed i think.16:23
zulDaviey: i was going to upload to a ppa and ask people for testing16:23
Davieyzul: That is a great idea16:23
koolhead17zul: let me know once its done :)16:23
zulkoolhead17: k16:23
zulDaviey: why ubuntu-mir though?16:24
zuli would say ubuntu-sru myself16:24
Davieyzul: gah, yes.16:24
* zul gets SpamapS drunk16:24
zulanyways i need to find something to eat16:25
=== Guest72101 is now known as med_out
=== negronjl_mobile is now known as negronjl
koolhead17Daviey: no luck even after removing the option :(16:48
koolhead17the debdiff http://paste.ubuntu.com/719822/16:51
Davieykoolhead17: crikey16:57
Davieykoolhead17: wait, you didn't remove the --with-pdo-sqlite thing?16:57
koolhead17Daviey: i think i did :(16:58
koolhead17lemme check16:58
koolhead17Daviey: lemme paste you the source file17:00
koolhead17*rules17:00
koolhead17Daviey: http://paste.ubuntu.com/719834/17:03
koolhead17Daviey: i did mistake actully there is 2ubuntu3.dsc created and i did debdiff with 1 & 217:05
koolhead17http://paste.ubuntu.com/719838/ this has correct debdif :)17:06
xibalbahello everyone, i'm trying to use scponlyc and was wondering if i could get some assistance.17:09
xibalbahere is some output i have on the issue, http://paste.ubuntu.com/719841/17:10
Davieykoolhead17: and that didn't fix it?17:13
RoyK[offtopic] Anyone that knows C well around? I'm doing a little fork() test here, I see text output is repeated (the Forking n times line) on this fork test if I don't fflush(stdout) - any idea why? http://paste.ubuntu.com/719846/17:14
koolhead17Daviey: no. but i am assumung am doing something wrong http://pastebin.com/mzYdG0k8  <-- apt-cache policy17:15
Davieykoolhead17: nah, that indicates you have a local package installed17:16
Davieykoolhead17: we'll try and track this down tomorrow in a shared screen session?17:16
RoyKpastebin.com is rather ugly stuff17:16
RoyK!paste17:16
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.17:16
koolhead17i my php5_5.3.8-2ubuntu3.dsc  then the packages inside  precise-i386_result should have 3 as extension17:16
koolhead17 17:16
Davieyah yes17:16
Davieytrue17:16
koolhead17Daviey: okey. :)17:16
xibalbahey fellas, anyone using scponlyc? i think i'm missing something really dumb here17:16
koolhead17Daviey: so am doing sumthing wrong sumwer17:17
koolhead17:)17:17
Davieykoolhead17: probably :)17:17
koolhead17Daviey: and the mistake is pbuilder-dist precise i386 build *ubuntu2.dsc  :P17:18
koolhead17so another 4 hrs now it seems17:18
koolhead17it has to be pbuilder-dist precise i386 build *ubuntu3.dsc IMHO17:18
koolhead17:P17:19
zulholy crap 4 hours to build php?17:19
koolhead17;-)17:20
koolhead17Daviey: shall i redo it all again, i think this is the mistake :)17:21
lynxmanzul: takes less than openoffice still17:21
koolhead17lynxman: hahaha. :P17:21
* koolhead17 giving it a try17:22
xibalbahere guys, check this out if you dont mind http://paste.ubuntu.com/719857/17:22
* koolhead17 takes 15 mins break17:23
RoyKkoolhead17: hepp! break's over!17:38
* koolhead17 is back17:41
koolhead17RoyK: its always +- 10 mins17:41
koolhead17:)17:41
RoyK:)17:41
RoyK- A DBA walks into a NoSQL bar, but leaves because he can't find a table17:42
koolhead17RoyK: hahaha :)17:43
just-a-visitor=-O17:43
koolhead17Daviey: some success. got a nice error :D http://paste.ubuntu.com/719879/17:43
koolhead17just-a-visitor: howdy17:44
just-a-visitorkoolhead17: Hi! It was a good joke.17:44
koolhead17indeed17:45
koolhead17RoyK: :)17:45
Davieykoolhead17: nice17:47
koolhead17Daviey: now wondering what next :)17:47
koolhead17ahaha17:47
xibalbahmm, do i need to be a +v to talk or something?17:48
xibalbaor am i not following correct protocol for help17:48
=== med_out is now known as Guest56516
RoyKxibalba: on some channels, you need to be identified - /msg nickserv help17:49
xibalbaoh am i not? let me od that right now, whoops17:49
xibalbaok i'm identified now17:50
RoyKI've been able to read you fine all the time.....17:50
xibalbai'm just looking for a little guidance on scponlyc, the chroot'd scponly shell17:50
* RoyK has no idea how that works...17:50
xibalbadrats17:51
koolhead17nor even me :(17:51
xibalbadouble drats17:52
RoyK'even' :D17:52
Davieykoolhead17: My brain is baked at the moment.17:53
koolhead17Daviey: will look into it tomorrow. cheers!! :)17:54
Davieyrocking17:54
xibalbathanks guys, see ya later17:54
* RoyK likes backblaze.com - $5 per month for backup of up to ∞GB17:55
cemco/ I'm using LVM for my KVM guests. if I create a new LV manually (with lvcreate etc), it doesn't show up in virt-manager in the storage pool. is there a way to refresh that list?18:03
pmatuliscemc: you should be able to browse to the device18:05
koolhead17RoyK: am paying allready a lot to my VPS provider like 125$ monthly18:05
koolhead17:P18:05
RoyKkoolhead17: for what?18:06
cemcpmatulis: I don't see it in the list18:06
koolhead17hell no  133$ yearly for 512 RAM and 40 GB hdd18:07
RoyKkoolhead17: HAHA18:07
* RoyK has some private servers for such use18:07
koolhead17RoyK: am running few wordpress blog and galler2 thats it18:08
koolhead17:)18:08
RoyKerm - not $125 monthly?18:09
RoyK$133 a year isn't so bad18:09
=== Guest56516 is now known as medberry
RoyKkoolhead17: do they provide backup on that system as well?18:16
koolhead17RoyK: nopes. no guarntee of tht18:17
RoyKthat sucks rather badly.....18:18
koolhead17RoyK: i know18:18
kirklandSpamapS: ping18:22
arrrghhhhey all.  anyone use/know how to use powernap?18:22
lifelessquick, hurry up and sleep!18:23
arrrghhhlol basically yes18:23
arrrghhhthen quick, hurry wake up!18:23
lifelessyou install it18:23
arrrghhhit is installed18:23
lifelessthats all thats needed AIUI, it hooks into the existing policies18:23
lifelessto turn off cpus when they are idle and htings like that18:23
arrrghhhhrm18:23
kirklandarrrghhh: serveral of us, yes.  RoAkSoAx is the current maintainer, I'm the original author.  what are you trying to do?18:23
arrrghhhwell i guess i just wanted to know more about it18:24
arrrghhhideally i'd like it to shutdown/hibernate/suspend when not in use18:24
arrrghhhand the tricky part to me seems to be waking it back up...18:24
arrrghhhdo i have to do anything to configure that?  how does it work?18:24
kirklandarrrghhh: there's a good series of articles at http://blog.dustinkirkland.com/search/label/PowerNap18:24
arrrghhhexcellent18:25
arrrghhhthank you18:25
kirklandarrrghhh: including several slideshows and presentations18:25
kirklandarrrghhh: you can use powerwake (wake-on-lan) to wake it back up18:25
kirklandarrrghhh: if you need to wake it remotely18:25
kirklandarrrghhh: or just press the power button to wake it locally18:25
arrrghhhheh18:25
arrrghhhwell i was reading something about it detecting traffic?18:26
arrrghhhso when it detects a ssh attempt or a upnp attempt, etc it wakes?18:26
arrrghhhseems from a shutdown state WoL is the only option.18:26
kirklandarrrghhh: RoAkSoAx has been working on an arp monitor, where you'd have one server watching for arp traffic to a bunch of others that might be powernapping;  and when traffic to their addresses shows up, it would powerwake them18:28
kirklandarrrghhh: that bit is still proof of concept stage18:28
kirklandarrrghhh: currently, though, you can come out of powersave mode on ssh connection attempts, that's trivial18:28
arrrghhhhrm ok18:29
kirklandarrrghhh: but you can't yet come out of suspend/hibernate/poweroff without a WoL packet first18:29
arrrghhhi see18:29
arrrghhhi'll do some more reading on powernap.  perhaps there's some other aspects of it that i can use that will help reduce power consumption18:29
kirklandarrrghhh: i have used an ssh alias, sshwol, that powerwakes a server, and then sits there in a loop ssh'ing to it until it's back online18:29
kirklandarrrghhh: cool, good luck18:29
arrrghhhmy buddy was talking about some WHS plugin, and made me jealous.  i figured there was some way to do it in linux... :D18:30
arrrghhhlights out is the name of the plugin if you're interested18:30
arrrghhhseems like it depends on WoL as well tho....18:30
arrrghhhand the developer just built some client-based app that sends that magic packet...18:31
panfisti'm trying to run an ubuntu server vm on my desktop, but something changed in my environment causing it to be unable to mount a network share and the boot is stuck complaining that mountall terminated with status 3218:31
panfistshort of pointing the virtual machine to a live rescue disk, is there a hotkey to press to get to rescue mode while it's booting?18:32
arrrghhhwell if you hit esc to get the grub menu18:32
arrrghhhyou could try getting into rescue mode...18:32
panfisti'm not sure why my other machines show a menu to choose what to boot into but this one does not, it just goes straight through from the virtual bios screen to the boot output18:33
panfisteven if i hit esc repeatedly while it's booting i can't catch a grub menu18:33
arrrghhhhrm18:33
panfistthis is 10.04 by the way18:33
arrrghhhyou're sure the VM is configured correctly?18:33
arrrghhhok18:33
panfisti'm pretty sure the vm is configured correctly, it's trying to mount an NFS share that's unavailable18:34
panfistmy coworker is absent and the share is on a machine that's shut down in his locked office18:34
arrrghhhthe NFS share is dependent on the VM booting?18:34
arrrghhhuhhh18:34
arrrghhhunless the share is required for your VM to boot18:35
arrrghhhi don't see why it would _prevent_ it from booting....18:35
panfistit's saying mount error(113): no route to host; refer to mount man page...; mountall: mount /path/to/mountpoint [485] terminated with status 32;18:35
panfistand it's just sitting there18:35
arrrghhhis the share required for the VM to function?18:36
panfistno, the share just has some cgi scripts that the vm crunches, but i don't see how they are crucial to the boot process for the vm18:36
arrrghhhhrm18:37
panfistif it were ubuntu desktop, it would say something like, "press s to skip or m for manual recovery"18:37
arrrghhhthis NFS mount is in fstab i presume?18:37
panfistyes18:37
arrrghhhinteresting.18:37
arrrghhhwell18:38
arrrghhhyou could point a livecd ISO at it18:38
arrrghhhand go the long way, fix the fstab entry18:39
arrrghhhi don't know why it would halt on a failed NFS mount....18:39
arrrghhhunless it was for something silly like /boot :P18:39
panfistyeah, i've done that before, but this isn't the first time it's happened and it's annoying to have to boot a live iso to fix this problem when i should be able to get a proper rescue environment locally if i had grub menu18:39
arrrghhhi agree18:40
arrrghhhand *normally* you'd just hit esc.18:40
arrrghhhthat's odd that it isn't working.  i'd blame the VM software.... but i don't know for sure.18:40
arrrghhhi'm not an expert on the topic, i've only run ubuntu server in vbox a handful of times.18:40
arrrghhhthe rest are all physical machines...18:40
panfistoh well, thanks, back to the old solution of using a live cd i guess18:42
panfisti guess grub must be configured to have a 0 timeout or something and i should be able to change that to another value after i get back in18:42
arrrghhhyea but even still18:43
arrrghhhwith 0 timeout, i thought there was still a (albeit short) period where you can hit esc18:43
arrrghhhi might just be blowing smoke tho :P18:43
panfistlike you said, probably blame it on the vm software18:43
arrrghhhthe simplest thing i can do now heh18:44
BilgeWhy might hostname lookup fail every time I restart networking or reboot?19:10
BilgeEven though I can run dhclient manually and everything appears to be fine19:10
xranbyBilge: have you checked your routing tables?19:11
xranbyBilge: perhaps dhclient are somehow not run on bootup for you?19:11
BilgeI don't know much about network or the first thing about routing tables19:11
BilgeMy server is leased from a company19:11
BilgeWithout changing anything on the box suddenly this problem started ocurring since yesterday19:12
BilgeSo maybe it's something wrong with their network but I guess not if I can just run dhclient and everything is fine?19:12
BilgeIs it _meant_ to be run on startup?19:13
BilgeThe only strange error I get on boot is this one:19:13
Bilgeremoved hw address from /etc/udev/rules.d/70-persistent-net.rules (eth0)19:13
BilgeBut network dependent services like SSH have already failed to start before that point19:13
xranbyBilge: have you switched network cards?19:13
BilgeNot to my knowledge19:14
BilgeI would imagine that would result in downtime and I'm not aware of any, as I said, the server is leased from a company and they should inform me if they were to make any changes to the hardware19:14
BilgeThe only thing that has changed to my knowledge is occasionally running apt-get update19:15
xranbybecause if they had switched network cards then the mac address would change and the new card would get allocated to   eth1 instead of eth019:15
xranbyand thus the default network configuration would stop working19:15
BilgeIs there some way I could check that?19:15
xranbyyou can run ifconfig19:15
xranbyit will display the mac address of your network card19:15
xranbythen you can check the /etc/udev/rules.d/70-persistent-net.rules and check that the same mac adress are used for eth019:16
BilgeThere are no entries in that file19:16
xranbyif they do not match19:16
xranbyhmm19:16
BilgeJust a load of commented out stuff19:16
xranbylook at the bottom19:16
xranbyi would have expected you to find something like19:17
xranbySUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:19:99:6d:80:8f", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"19:17
BilgeThere's nothing in that file at all19:17
xranbybecause the purpose of that file are to make sure that the eth names stays the same for each reboot19:17
BilgeIf I run grep '^[^#]' on it19:18
Bilgei.e. filter all lines starting with #19:18
BilgeI get nothing19:18
xranby# Entries are automatically added by the 75-persistent-net-generator.rules19:18
BilgeThat file does not exist19:19
BilgeMine says it is generated by /lib/udev/write_net_rules19:20
xranbyBilge: which ubuntu-server release are you running?19:20
BilgeThe latest LTS19:20
Bilge10.04.3 LTS19:20
xranbyBilge: if ifconfig indicate that your network card gets names something else then eth0 then19:21
xranbytry add a similar line manually19:21
Bilgeifconfig doesn't seem to make any reference to ethN19:22
BilgeActually yeah it does19:22
BilgeI have eth0, eth0:0, eth0:1 and eth0:219:22
BilgeFor my additional IPs19:22
BilgeThey all have the same HWaddr19:23
BilgeThey're all set up manually in /etc/network/interfaces19:24
xranbyif they are setup manually then why use dhcp?19:24
BilgeBecause running that was the only way I could get it to work19:25
BilgeMaybe DHCP is picking up something other than what is configured in that file?19:25
BilgeIt specifies "network", "broadcast" and "gateway" in there19:25
BilgeMaybe they changed without notice?19:25
xranbydhcp sets default gateway in the routing tables as well19:25
xranbyoh right .. you had gateway in there..19:26
xranbyif you run route19:26
xranbyyou should be able to see a default gw19:26
xranbyif you can ping 8.8.8.8  (google dns)19:27
xranbythen you might be simply missing a valid dns config19:27
xranbyyour dns server perhaps have switched ip?19:27
xranbyBilge: look inside /etc/resolv.conf19:27
xranbyand check that the nameserver listed here still work19:27
xranbyto summarize 1. check that the network card got the right eth number 2. check that it have been assigned an ip using ifconfig 3. check the routing table using route 4. check the dns nameserver in /etc/resolv.conf19:29
xranbyif all those pass then you should have network acess19:29
BilgeGoing to be about 15 mins to reboot the kVKM since while trying to get it to print a # character it decided to reboot itself :/19:29
xranbyall these steps gets set automatically when you run dhclient19:30
Bilgeifconfig looks normal19:30
BilgeIs there a way to tell if a nameserver is behaving properly?19:31
BilgeLike an acid test?19:31
BilgeAlso how do I use `route`?19:31
xranbyif ping google.com   pings google then the nameserver test pass19:31
xranbyyou can also use the cooand dig19:32
xranbycommand dig19:32
xranbydig google.com19:32
xranbywill list where it obtained the knowlege about googles ip19:32
RoyKdig soa your.tld19:32
RoyKdig a19:32
RoyKetc19:32
xranbyyou can use dig to test a specific nameserver   dig @nameserver google.com19:33
xranbyRoyK: simply type route19:34
xranbywill list active routes19:34
RoyKdig soa @hole.somewhere.tld spade.somewhereelse.tld19:34
RoyKxranby: ?19:34
xranbyRoyK: example if your router acts as a nameserver19:35
xranbydig @192.168.1.1  google.com19:35
xranbythen dig will ask the nameserver at 192.168.1.1 where the ip are for google.com19:35
RoyKxranby: I know those tools quite well, thanks ;)19:35
xranby(21.31.07) Bilge: Is there a way to tell if a nameserver is behaving properly?19:36
xranbyok19:36
RoyKxranby: RoyK != Bilge19:36
Bilge:319:36
xranby.. ah19:36
xranbymy fault19:36
pmatulisBilge: and that smiley means what exactly?19:37
BilgeKitty19:37
kirklandlifeless: have a second to help smoser with a squid question?19:37
RoyKwhat about the squid?19:38
lifelesscourse19:38
smosernot a big deal...19:38
smosertwice in a row i do: http_proxy=http://nelson:3128/ wget http://smoser.brickies.net/scratch/cirros-0.3.0-i386-disk.vhd19:38
smoserboth times i see:19:38
smoser1319657440.372  14495 192.168.1.101 TCP_MISS/200 27272579 GET http://smoser.brickies.net/scratch/cirros-0.3.0-i386-disk.vhd - DIRECT/69.163.204.191 text/plain19:38
smosersquid.conf at http://paste.ubuntu.com/719984/19:39
smoserimage is 27272192 (~26M)19:39
RoyKsmoser: isn't there a max cachable object size default somewhere?19:40
lifelesssmoser: don't you mean 27272579 ? :)19:40
lifelessand yes, your object size cap needs raising19:40
smoseri suspected that bug didn't see it explicitly anywhere.19:41
RoyK#Default:19:41
RoyK# maximum_object_size 4096 KB19:41
smoseroh goodness. thats too small. :)19:41
lifelesssmoser: if you're doing live boots off that you may want to raise maximum_object_size_in_memory too19:42
maxtmahemQuestion: Best practice to put my changes to suoders in a new file in sudoers.d?19:42
smosermaxtmahem, yes.19:42
lifelessmaxtmahem: I wouldn't, because its not sanity checked and you can wedge your system19:42
lifelessmaxtmahem: I always use visudo19:42
=== medberry is now known as Guest60473
smoserlifeless, what is the default value for maximum_object_size ?19:42
RoyKsmoser: see my comment above19:42
lifeless4M still (though I haven't pulled trunk in a while :P)19:43
smoserRoyK, yeah, i saw that, but:19:43
smosermy /usr/share/doc/squid/examples/squid.conf says:19:43
smoser#Default:19:43
smoser# maximum_object_size 20480 KB19:43
maxtmahemlifeless: I use visudo -f newfile name, should do it's sanity checking for then right?19:43
lifelessmaxtmahem: hmm, I'm not sure tbh :)19:43
smosereither way, kirkland it would seem to me that if the primary purpose is a deb cache, then you want to bump that a bit in the orchestra config.19:43
RoyKsmoser: my /etc/squid/squid.conf says 4M19:43
lifelesssmoser: also - http://redbot.org/?uri=http%3A%2F%2Fsmoser.brickies.net%2Fscratch%2Fcirros-0.3.0-i386-disk.vhd19:44
RoyKsmoser: anyway - just change it...19:44
RoyKlifeless: now that'll be a tough job to cache....19:44
smoserlifeless, RoyK htank you.19:44
kirklandsmoser: yeah, no doubt!19:45
smoseri tihnk it must be 20M in the ubuntu build , unless the doc there is wrong.19:45
lifelesssmoser: 4M19:45
lifelesshttp://bazaar.launchpad.net/~squid/squid/3-trunk/view/head:/src/cf.data.pre#L289719:45
BilgeMy nameserver is set to 10.0.2.3 heh19:45
smoserbut still, 20m wont cache your kernel.19:45
Bilgedig fails19:45
smoserlifeless, would it not be possible that that is changed in ubuntu build ?19:45
lifelessits possible, but I'd hope that the ubuntu/debian maintainer would at least post such a patch upstream19:46
* RoyK spent a couple of hours yesterday trying to describe to this programmer that his HTTP headers said 'don't cache this', and no, I can't force squid to cache that when the server says no - fscking .net noobs...19:46
lifelessand I don't recall discussion about such a patch19:46
lifelessRoyK: well, you can force squid to do it, may not be a good idea.19:46
RoyKlifeless: heh - how can I do that?19:46
maxtmahemlifeless: Well at least I didn't break it doing like that.19:47
RoyKI know it's stupid, but it might shut them off if I tell them squid is working, but their site is bogus....19:47
hallynsmoser, why for you want to use vpc!19:47
lifelesssmoser: also you probably want to set a cache ttl on the resource, because its changed recently the default ttl will be fairly short19:47
smoserhallyn, vpc is what all the cool kids are using.19:47
smoserkvm is so old.19:47
lifelessRoyK: refresh_pattern is the primary method to override stuff19:47
lifelessRoyK: you may need a custom build because http-rule-breaking-options are off by default19:47
* hallyn scratches his head19:47
hallyntime to retire19:48
RoyKlifeless: thanks19:48
smoserhallyn i was playing with something from cloudstack and they want a vhd format in.19:48
kirklandsmoser: i'm making that change now to orchestra19:48
kirklandsmoser: i wonder what it should be ...19:48
lifelesskirkland: what what should be ?19:48
kirklandlifeless: the default maximum_object_size in Orchestra's squid19:49
smoserlifeless, for a squid proxy who's primay pourpose is to serve debs19:49
lifelessdo you do net booting ?19:49
kirklandlifeless: yes19:49
smoserthat pastebin i sent is what kirkland has now in orchestra19:49
lifelesswhats the largest asset you'll be getting - across all of deb/kernel/initramfs19:49
kirklandlifeless: hmm, ISOs maybe?19:50
kirklandlifeless: i was thinking 200MB or even 1GB19:50
lifelesskirkland: if folk are getting those as part of the bootstrap of a cluster, caching would be good ;)19:51
lifelesskirkland: so, I suggest you do this:19:51
kirklandlifeless: really, it's mostly just deb's19:51
kirklandlifeless: so i'd need to find the largest debs we install19:51
kirklandlifeless: at least the kernel, for sure19:51
smoseropenoffice has to win that.19:51
smoserhad i not rm -Rf'd my local archive recently i could tell you19:51
lifelesskirkland: not caching packages/releases/ etc will quite negatively impact your bootstrap performance19:52
kirklandi'm going to set it to 750MB, which should cover standard ISOs19:52
lifelesskirkland: you should instead purge them when you want to force a change19:52
kirklandlifeless: of course19:52
lifelessanyhow, to cache big objects do this:19:52
lifelesscache_dir aufs /var/spool/squid 40000 16 25619:52
lifelessbah19:53
Bilgexranby: dig doesn't seem to work no matter what is specified as the name server19:53
lifelesscache_dir aufs /var/spool/squid-small 40000 16 256 max-size=40M19:53
lifelesscache_dir aufs /var/spool/squid-big 40000 16 25619:53
lifelessthis will put anything smaller than 40M in the first cache dir until its full, and then overflow into the second19:54
xranbyBilge: was the routing table correct?19:54
lifelessbig things will only go into the second19:54
kirklandlifeless: interesting19:54
lifelessthis stops big things evicting a tonne of old-but-valid debs :)19:54
kirklandlifeless: i like it19:54
lifeless(they can evict them from the second dir of course)19:54
lifelessor you can switch to a different repl algorithm like dual-frequency-size, but two dirs is easier to understand :)19:56
Bilgexranby: I don't know19:56
BilgeI don't know how to read the output I'm getting19:56
kirklandlifeless: can you proof read http://paste.ubuntu.com/720010/19:57
kirklandlifeless: just the last 3 lines i changed per this discussion19:57
lifelessyeah, that should do19:57
lifelesstry it :)19:57
kirklandlifeless: k ...19:57
lifelessI suggest adding a couple of comments19:58
smoserkirkland, did you double the size of your cache though?19:58
smoserpotentially19:58
lifelesslike 'netbooting isos is better if they get cached' and 'reserve small object space so big objects can't use it all up'19:58
smoserlifeless, comments are for weenies19:59
smoser:)19:59
lifelesssmoser: I'm a weeny!19:59
smoseroh, and btw, thank you very much for your help.19:59
kirklandlifeless: yeah, thanks19:59
lifelessanytime19:59
allegrem_Hi ! I've a little problem with Samba between a Kubuntu (as a server) and a Windows XP (as a client). My workgroup 'Samba' is shown in the workgroups list on Windows, but when I click on it, an error occurs "Nom du réseau introuvable" ( ~~ network name not found). Any idea ?20:02
Bilgexranby: dhclient changes the routes20:03
kirklandlifeless: hmm, not quite there yet, looks like i need to manually create some directories, 2011/10/26 15:04:19| /var/spool/squid/small/00: (2) No such file or directory20:04
lifelesskirkland: squid -z of course ;)20:05
kirklandlifeless: tried that, not working20:06
lifelesskirkland: orly ? pastebin20:06
lifeless(you ran it as squid right ?)20:06
kirklandlifeless: ah, EACCES          13      /* Permission denied */20:06
lifeless:P20:06
kirklandlifeless: 'proxy'20:07
lifeless'meh' @ overloaded names20:07
kirklandlifeless: bingo20:08
kirklandlifeless: smoser: working like a champ20:08
lifelesssudo squid -z should have worked too, I think.20:08
kirklandlifeless: well, i created those directories, but they were owned by root:root;  changed that to proxy:proxy and squid -z worked fine20:09
lifelesskirkland: ok, so you foot-gunned :P20:09
lifelesskirkland: never make swap dirs by hand20:09
kirklandi'll get the install bits cleaned up in in orchestra and we're good to go20:09
kirklandlifeless: :-)20:09
kirklandlifeless: sure thing, mate20:10
smoseri did the same here.20:10
RoyKanyone that knows if it's possible to use squid for both a front and reverse proxy? I have a reverse proxy at work, but since it's mostly idle, it'll be nice to use it as a proxy for the internal clients as well20:10
smoserand now i'm getting 403 forbiddenon anythihg through it.20:10
lifelessRoyK: yes, setup two listening ports20:10
lifelesssmoser: thats going to be unrelated20:10
Bilgexranby: is it possible to specify the IP for eth0 but still pick up the other setting such as gateway, network and broadcast via dhcp instead?20:10
lifelesssmoser: if a cache dir can't take an object, the request doesn't barf, it just doesn't cache20:10
RoyKlifeless: you mean two squid instances, or just two ports?20:10
allegrem_Any idea about Samba ?20:10
lifelessRoyK: there are some global things we should make non-global, but its mostly ok20:11
lifelessRoyK: http_port 80 accel\nhttp_port 808020:11
RoyKlifeless: thanks20:11
lifelessRoyK: you can use myport in acls to differentiate the two20:11
RoyKlifeless: but then, using it on port 80 for both uses won't be very easy?20:12
lifelessRoyK: not one port, two ports - 80 for your reverse proxy, 8080 for your forward proxy20:12
RoyKok20:12
lifelessyes, it requires a little care20:12
lifelessI'm not endorsing it :) just answering your question :)20:13
RoyK:)20:13
lifelessyou also need to make sure your cache_peers are properly acled20:13
lifelessso that forward requests don't get sent to them20:13
* RoyK tried to setup the reverse proxy as a VM on hyper-v and hyper-v just cut off the network from it in minutes... hyper-v sucks rather badly at running linux guests :P20:14
lifelessoh, and make sure you explicitly prevent the accel port from making direct requests - it must always use a cache peer20:14
lifelessotherwise you turn your cache into an open relay20:15
RoyKI guess I'll use a separate box, then - makes life easier ....20:15
lifelessits harder to mess up:)20:15
RoyKyeah20:15
allegrem_Hi ! I've a little problem with Samba between a Kubuntu (as a server) and a Windows XP (as a client). My workgroup 'Samba' is shown in the workgroups list on Windows, but when I click on it, an error occurs "Nom du réseau introuvable" ( ~~ network name not found). Any idea ?20:36
RoyK!samba20:38
ubottuSamba is the way to cooperate with Windows environments. Links with more info: https://wiki.ubuntu.com/MountWindowsSharesPermanently and https://help.ubuntu.com/10.04/serverguide/C/windows-networking.html - Samba can be administered via the web with SWAT.20:38
allegrem_ubottu: are you a real bot ?20:41
ubottuallegrem_: I am only a bot, please don't think I'm intelligent :)20:41
allegrem_awesome !20:41
RoyKis there a way to natively share a filesystem with kvm vm?20:48
adam_gnfs?20:48
RoyKnot a unix vm, windows, and preferably without samba20:48
allegrem_has anyone ever met the "Can't become connected user!" error with samba ??20:49
RoyKtrying to work my way around the limitations of backblaze backup20:49
RoyKallegrem_: it's probably just a configuration issue.....20:49
RoyKallegrem_: so you need to be a bit more specific before someone can help you...20:50
allegrem_I think windows is trying to log as guest, but he can't. How could I force him to ask login and passwd ?20:50
RoyKin win7?20:51
allegrem_I forgot to say that there is an line in my samba logs saying "Can't become connected user!"20:51
allegrem_windows xp20:51
RoyKit should ask for a username and password20:51
RoyKdefault setup requires you to create an smb user IIRC20:52
RoyKman smbpasswd20:52
allegrem_I already created two test users (isabelle, carole) on the kubuntu PC, and I run smbpasswd for each of them20:53
SpamapSkirkland: pong, sup?20:53
SpamapSkirkland: (sorry, sprinting, haven't been watching IRC)20:54
allegrem_but the user on the windows xp is "simone". Is it important ?20:54
RoyKcheck the samba logs20:54
allegrem_it says "Can't become connected user!"20:55
RoyKallegrem_: if you're just on a home network, you might not need authentication20:55
RoyKif so, set security = share in smb.conf20:55
allegrem_i'm just testing a samba install on my home network, but the goal is to deploy it at my mother's office20:56
allegrem_so I do need security = users :p20:56
RoyKor user20:56
RoyKallegrem_: unless they have a windows server with AD or something, which makes the picture look rather different20:57
allegrem_no they haven't20:57
allegrem_there are just 3 users to set up, I can do it manually20:58
RoyKok20:59
RoyKthen security = user should do well20:59
RoyKmake sure all those users have unix accounts, though20:59
RoyKuseradd -m thisuser .....20:59
allegrem_I'm testing with only two users21:00
allegrem_(isabelle, carole)21:00
allegrem_I created unix account, set up smbpasswd21:01
RoyKtry creating user simone21:02
RoyKsee if that works any better21:02
RoyKsince that's apparently the user logged into the windoze machine21:02
maxtmahemif you have AD you can try out likewise open to add the machine to the domain real easy.21:09
allegrem_it still doesn't work :( I'm trying to reboot the windows pc21:11
tjaaltonkirkland: hey, ideas why 'adduser --encrypt-home foo' leaves the home dir with 500 perms on oneiric?21:15
kirklandtjaalton: those perms are correct, when $HOME is not mounted21:15
kirklandtjaalton: upon being mounted, they'll be 70021:15
tjaaltonkirkland: ok, well at least the preseeded installation leaves the ecryptfs setup somehow broken21:16
kirklandtjaalton: the 500 is to keep users from inadvertently writing data in clear text into their $HOME when it's unmounted21:16
kirklandtjaalton: ie, "leaking" clear text data to disk21:16
kirklandtjaalton: hmm, interesting21:17
kirklandtjaalton: oh, hmm, i have an idea21:17
kirklandtjaalton: so you used literally 'adduser --encrypt-home foo' in the late-command or something?21:18
kirklandtjaalton: or did you preseed the user to encrypt-their-home in d-i?21:18
tjaaltonkirkland: no I preseeded "d-i user-setup/encrypt-home boolean true" like on the doc, wondered why the mount fails and started digging further21:19
kirklandtjaalton: interesting21:19
kirklandtjaalton: okay, do you have a $HOME/.ecryptfs/wrapped-passphrase file?21:19
kirklandtjaalton: can you ls -alF $HOME/.ecryptfs/21:20
tjaaltonkirkland: nope, don't have that21:20
kirklandtjaalton: and pastebin that for me?21:20
kirklandtjaalton: ah, that's the problem21:20
kirklandtjaalton: hmm, i wonder what went wrong there21:20
tjaaltonI'll pastebin the snippet from the installation syslog21:21
tjaaltonhttp://pastebin.com/LBBLbfnb21:21
tjaaltonsee the error from stty21:21
kirklandtjaalton: how odd;  this is 11.10?21:29
tjaaltonkirkland: yep21:29
tjaaltonmaybe I'll do another run with full debconf debug21:29
kirklandtjaalton: and you did preseed your password in as well?21:30
tjaaltonkirkland: yes. I can login from the vt's just fine21:30
kirklandtjaalton: you've already rebooted after the installation, of course?21:31
tjaaltonkirkland: yep21:31
kirklandtjaalton: okay, well, if you don't have that wrapped-passphrase file, you'll never be able to get to your new home/skeleton data in this installation21:32
kirklandtjaalton: so you'll need to kill this user, add another one, etc. if you want to manually salvage this installation21:32
kirklandtjaalton: i'm trying to track down the bug right now though21:32
kirklandtjaalton: can you pastebin ls -alF $HOME/.ecryptfs/ ?21:33
tjaaltonkirkland: nah it's a throwaway installation, testing stuff to install OOTB all the way21:34
kirklandtjaalton: okay21:34
tjaaltonkirkland: http://paste.ubuntu.com/72011821:36
kirklandtjaalton: hmm, yeah, dang, everything else is there except for wrapped-passphrase21:37
tjaaltonkirkland: ok, so I'll reinstall it with DEBCONF_DEBUG=developer21:37
kirklandtjaalton: thank you!21:37
TheEvilPhoenixanyone got a spare maverick server they can confirm a bug with?21:39
kirklandtjaalton: one more question21:40
kirklandtjaalton: have you wiped this install yet?21:40
tjaaltonbtw, rsyslog.d/99-orchestra.conf pushes the installation logging to the server /var/log/syslog as well.. don't think that's intended21:40
tjaaltonkirkland: partitioning..21:40
kirklandtjaalton: :-)21:40
tjaaltonit takes 10min to install :)21:41
kirklandtjaalton: re: rsyslog ... can you find a way to separate out the installation syslogging?21:41
tjaaltonhmm, could have dropped the desktop task21:41
kirklandtjaalton: i couldn't in time to fix it for 11.1021:41
kirklandtjaalton: the installation rsyslogging must happen over udp21:41
TheEvilPhoenixcan anyone confirm this in maverick?  https://bugs.launchpad.net/ubuntu/+source/php5/+bug/88229121:42
tjaaltonkirkland: haven't looked at that too much, just noticed it by accident :)21:42
uvirtbotLaunchpad bug 882291 in php5 "Maverick: php5-gd does not place gd.ini in correct location" [Undecided,New]21:42
kirklandtjaalton: yeah21:42
TheEvilPhoenixi've confirmed it *fixed* in natty and later21:42
kirklandtjaalton: could you get a shell on that box during installation, at the very end, before reboot?21:43
tjaaltonkirkland: it doesn't stop :/21:44
kirklandtjaalton: heh :-)21:44
kirklandtjaalton: can you get on it now?21:44
tjaaltoni should comment out the line that does that21:44
tjaaltonyes it's configuring packages21:44
kirklandtjaalton: has the user been created yet?21:44
tjaaltonbut the crypt setup is in the final phase21:44
kirklandyeah21:44
tjaaltonnope21:44
kirklanddang21:44
tjaaltonI'll just reboot and do that21:45
tjaaltonthere, installing without ubuntu-desktop this time21:46
uvirtbotNew bug: #882291 in php5 (main) "Maverick: php5-gd does not place gd.ini in correct location" [Undecided,New] https://launchpad.net/bugs/88229121:46
SpamapSTheEvilPhoenix: marked as fix released, opened a maverick task21:47
kirklandtjaalton: okay, i think i have a fix21:47
tjaaltonkirkland: cool :)21:47
Davieyhallyn: the lxc bug, i targetted it because it seemed to be a case of checking and applying the patch.21:47
SpamapSTheEvilPhoenix: unlikely it will get fixed in Maverick ... but if it affects lucid.. maybe21:47
Davieyhallyn: seems it is now more complicated.21:47
kirklandtjaalton: http://paste.ubuntu.com/720131/21:47
Davieyhallyn: It would be quite good if we could SRU a fix for Oneiric.21:48
TheEvilPhoenixSpamapS:  :)21:48
kirklandtjaalton: i think what's happening is that we're landing in the then rather than the else part of that if block21:48
tjaaltonkirkland: ha, I'll hot patch it in21:48
kirklandtjaalton: that would be cool, if you can jam that into the ecryptfs-setup-private in an install and confirm it, i'll commit/upload/release21:48
TheEvilPhoenixSpamapS:  i dont have Lucid around atm21:49
TheEvilPhoenixgot any lucid servers you can test on?21:49
TheEvilPhoenix:/21:49
hallynDaviey, uh, i think you caught me weirdly between switching clients from laptop to phone.  I only got the bits that got fwded to my gchat (i.e. 'hallyn:')21:51
hallynDaviey, his template still doesn't give me a container that i can actually start up21:51
hallynso i'm not in a hurry21:51
kirklandhallyn: you can forward irc to gchat?21:52
* kirkland is intrigued21:52
hallynheh, i blogged the script awhile ago21:52
kirklandwowsers21:52
Davieyhallyn: I started all 3 lines with hallyn:21:52
tjaaltonkirkland: damn, too slow :)21:52
hallynkirkland, http://s3hh.wordpress.com/2011/04/29/irc-pms-to-google-chat/21:53
kirklandtjaalton: quick, ls -alF /dev/shm /target/dev/shm21:53
hallynDaviey, ok then i got them all :)21:53
allegrem_ok I finally managed to configure Samba !! Is anyone interested in the solution or can I go to bed ?21:53
kirklandneat21:53
tjaaltonkirkland: empty already21:53
hallynDaviey, you see creating fedora containers as a high importance thing in oneiric?21:53
kirklandtjaalton: rebooted?21:53
hallyni mean, i'm happy to spend some time on making it work, but it seems hard to justify21:54
hallynjustify the time vs. other obligations, that is21:54
Davieyhallyn: Something that should work, it would be good if Ubuntu was a good host for everything :)21:54
hallynyes it would21:54
tjaaltonkirkland: no, it did the ecryptfs-setup dance already, before I managed to save the file21:54
kirklandtjaalton: okay, and /target/$HOME/.ecryptfs/* ?21:55
kirklandtjaalton: did wrapped-passphrase make it in there this time21:55
hallynDaviey, there's also an untested prolly broken suse template :)21:55
tjaaltonkirkland: same as before21:55
kirklandtjaalton: okay, mind doing one more install and hotpatching that bit in?21:55
tjaaltonI'll hack in a hook to stop the installation before finish-install.d/06user-setup21:55
tjaaltonthat should do it21:55
kirklandtjaalton: cool21:55
Davieykirkland: fwiw, forwarding irc messages to your phone is a dangerous game.21:55
kirklandtjaalton: thanks for your help21:55
RoyKdamn - setup a winxp VM under KVM on this box just to have a windoze machine available if needed - so far, it's used >3 hours for updating....21:56
Davieykirkland: 3:00am messages without context saying "<smoser> Daviey: It's in a REALLY bad way" .. close to release.. makes you pay attention, even if in bed.21:56
kirklandDaviey: LoL21:56
kirklandDaviey: good point21:57
DavieyI need to backlist smoser for this reason21:57
RoyKsnf I'm on a 60Mbps link - windows sucks so hard I don't beleive it.....21:57
kirklandtjaalton: any luck?22:09
tjaaltonkirkland: no :/22:12
tjaaltonI'll check the log22:12
kirklandtjaalton: okay, hang on ... don't reboot that installation22:12
kirklandtjaalton: okay, i gotta run22:16
kirklandtjaalton: please file a bug on this22:16
Davieyjamespage: tomorrow, would you be able to sniff bug 881504 please?22:16
uvirtbotLaunchpad bug 881504 in tomcat6 "java.util.MissingResourceException thrown in default setup" [Medium,New] https://launchpad.net/bugs/88150422:16
tjaaltonkirkland: sure thing22:16
kirklandtjaalton: attach an install's /var/log/syslog, ideally with debconf debugging on22:16
kirklandtjaalton: also maybe set -x in the ecryptfs-setup-private22:16
kirklandtjaalton: and grab that in the log too22:16
kirklandtjaalton: something is going on around the creation of that wrapped-passphrase22:17
kirklandtjaalton: we have a bad conditional around that, somewhere22:17
kirklandtjaalton: i think the stty error is just noise22:17
kirklandtjaalton: as that script is not set -e22:17
tjaaltonkirkland: yeah, I'll do another installation and attach the logs, thanks22:18
kirklandtjaalton: cheers mate22:19
=== skrewler_ is now known as skrewler

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