/srv/irclogs.ubuntu.com/2011/12/12/#ubuntu-server.txt

qman__use the built in partitioner00:01
qman__just choose 'manual' instead of 'guided'00:01
wedgeVok, thanks00:03
Canadian1296Can someone help me disable the internet connection for good on Ubuntu 10.04?00:16
Canadian1296Anyone alive here?00:18
mtphoneI have a pfsense vm. One nic is on the first bridged if which os able to talk to the outside. The other if is on the other bridge which is the if that i want everything grabbing dhcp from. I'm a bit stumped and only have my phone right now...00:19
mtphoneGoogle stuff says it should be working the way i set it up......00:19
qman__Canadian1296, what exactly are you trying to do?00:20
qman__I mean, killing internet access is easy and doable in many ways00:21
qman__ifdown, route, ifconfig, you name it00:21
mtphoneMy route table even shows that internal ip addy should go to that bridged interface...00:21
Canadian1296qman_, im making a livecd and it's sole purpose is for gpg. The user will be root, and i already installed all the necessary packages for it. I need to diable the internet connection so the user cannot enable it00:22
qman__well, if you don't need any network access at all00:22
qman__just pull the NIC drivers out00:23
Canadian1296yeah, i want no internet at all. how do i do that? I asked at the ubuntu channel and they sent me here :P00:23
qman__compile your own kernel with networking disabled00:24
qman__that's the only way to do it such that it can't be reenabled without compiling more modules00:24
Canadian1296okay, is there a simpler way that simply disables it?00:24
qman__plenty, but they can all be defeated00:25
qman__no default route, no internet00:25
mtphoneRemove the card entirely00:25
qman__kill off the networking upstart script00:25
qman__blacklist all the networking modules00:25
Canadian1296thats fine, as long as by default its disabled.00:25
mtphonerm /etc/network/interfaces00:25
Canadian1296What files or packages should i remove?00:28
qman__uninstall dhclient00:29
qman__delete /etc/network/interfaces, /sbin/ip, /sbin/route, and /sbin/ifconfig00:30
Canadian1296qman_: i removed all of them but i still have internet  :|00:33
qman__well yeah, your interfaces are still up from before00:33
qman__but without those tools you can't bring internet back up after taking it down00:33
Canadian1296okay, how do i take it down now?00:33
qman__probably also want to remove network manager, ifup, ifdown00:33
twb11:23 <qman__> just pull the NIC drivers out00:34
twbPull the *NIC* out00:34
qman__without those tools, you can't bring it down either, short of rebooting00:34
qman__and yeah, if you have control of the hardware, the NIC itself is the easiest00:34
twbWhat I do is: 1) blacklist the modules in the kernel; 2) rm the .ko; 3) add an /etc/kernel-post.d that does (2) if the kernel is upgraded.00:35
Canadian1296qman_: okay, so when i boot from the livecd (the one i just did that too), i wont have internet. correct?00:35
twbAlthough lately I have just been shipping rerolled kernels00:35
twbCanadian1296: why do you want to revoke internet access?00:35
Canadian1296twb: livecd for gpg only. no need.00:36
twbThat is not an answer.00:37
twbThat's like saying "they only need black and white so how can I disable all the red pixels on their screen"\00:37
Canadian1296twb: haha yeah your right… But im doing it because I'm just messing around with making livecd iso's… More to learn how00:38
qman__if you have a task that needs to be secured from the internet, you need to secure the hardware00:39
Canadian1296I plan on eding up with a livecd that's loaded into ram. Truecrypt is installed on it, so a gpg keyring is loaded onto it from a removeable truecrypt drive. Then the user logs out and only logs in when he is at the computer. shutting it down will wipe the key out (everything is in ram). Theres a script that shuts down the computer as soon as someone types a bad username or password at the login prompt.00:42
qman__for this plan to retain any kind of security, the hardware absolutely must be secured00:44
qman__so just remove/disable it00:44
Canadian1296the idea is the system is running from ram, and the key's in ram. no harddrive or livecd in the machine. To do anything on it you have to log in, or reboot from a different livecd. Rebooting wipes out the key, and failing to log in wipes out the key. I dont see the security hole...00:46
qman__otherwise, what's to stop anyone from booting a different environment, or loading binaries off a flash drive, or copying sensitive data00:46
qman__by design it's not going to get the latest security updates either00:47
Canadian1296Can you load files onto it or boot without loggin in or shutting down the running ubuntu os?00:48
qman__yes00:49
Canadian1296how?00:49
qman__rogue flash drive is your main problem00:49
Canadian1296explain...00:49
qman__but unless you lock out your bootloader, add "single" to the kernel line, and done00:49
qman__without physical security your plan is moot, because people can bring in a flash drive with anything on it, and load files onto it00:50
Canadian1296But if the computer is running a live version from ram, and theres just a login prompt, how do you propose they mount the files?00:50
qman__google 'kon-boot'00:51
qman__that's just one of many ways to completely defeat your plan00:51
Canadian1296i know what konboot is, but it require you boot from it.00:51
qman__and without physical security, they can00:52
Canadian1296can you defeat the login prompt, with only one guess, and without shutting down the sstem?00:53
qman__the point is, they don't have to00:53
qman__without physical security they can boot or load whatever they want00:53
qman__and defeat the protections you have in place00:53
Canadian1296I understand anyone could shutdown the system and reboot from a livecd. Full access to the system. But theres nothing on the harddrive. The key was wiped out when the computer shut off.00:54
zaltekkfull harddrive encryption, /boot on a usb key that's removed after boot00:55
qman__that'd work better00:56
qman__then they'd need an exploit that works without booting00:56
zaltekkwell, they'd need a way to exploit the running system00:56
qman__but again, that's physical security00:56
zaltekkor a hardware keylogger(if the key is manually entered instead of being on the usb key)00:56
qman__the keys to boot it are locked up00:56
zaltekkright00:56
zaltekki use it only for my laptop00:56
zaltekkin which case the usb key is on my car/house keys00:57
zaltekkso if the laptop was stolen00:57
zaltekkthey'd not be able to get in00:57
qman__it doesn't matter how you protect your live environment if the attacker can boot it, because they can pregame with things like kon-boot00:57
zaltekknot that i have anything that secret :P00:57
Canadian1296zaltekk: when booting from the livecd, you can load the entire cd into the ram , then remove the cd. Then all the files are in ram. i was under the impression if the computer shuts down they are gone. (not necesserily unrecoverable, just gone)00:57
twbGo read Reflections on Trusting Trust00:57
zaltekkwhat's the point Canadian1296?00:58
qman__and even though there isn't one widely available as of right now, they'd only need a USB-based live exploit00:58
twbCanadian1296: police have gear that can remove computers without turning them off, so RAM is still accessible00:58
qman__and those have come up in the past, common on windows00:59
zaltekki'm not sure what there is to protect when you have no persistent storage00:59
zaltekktwb: right. it's game over if they shutdown a well-encrypted system00:59
Canadian1296okay heres my new question. If the cd was loaded into ram, and i created a file (lets just say i typed touch test), then turned off the system. when i rebooted test would be gone. Am i correct?00:59
qman__yes, but you're accessing a flash drive01:00
qman__which does have persistent storage01:00
zaltekkqman__: usb-based stuf is bad on windows because of autoexecution and such01:00
Canadian1296the flashdrive will be encrypted with truecrypt. used to load the key into ram, then unmounted and removed.01:00
zaltekkyou could have a worm automatically execute by being inserted that them copies itself ot all over removable media01:01
qman__you didn't say that from the beginning01:01
qman__if the flash drive and CD are not present when the users have access, then you have physical security01:01
qman__but you're still not protected against a rogue flash drive unless you physically lock up the USB ports01:01
twbCanadian1296: what attacks are you guarding against?01:02
twbCanadian1296: your sister, your boss, or the DSD?01:02
Canadian1296Im sorry, i didnt explain myself properly. One minute01:02
twbBecause the DSD can always rubber-hose you.01:02
twbI suppose your sister can, if it comes to that...01:02
zaltekkDSD?01:04
qman__guessing it's an equivalent to the NSA01:04
Canadian1296Livecd in the computer, boot to ram, remove livecd. Livecd is now out of the picture (assume its locked in a safe somwhere). Now the usb is mounted with truecrypt, and the key added into the keyring. usb removed and is also out of the picture. logout of system. now you walk up, log in, use gpg, log out. repeat. if someone types a bad password trying to log in, the computer shuts down.01:05
qman__you still need to physically secure the USB ports01:05
zaltekkwhy qman__ ?01:06
qman__otherwise you're vulnerable to someone exploiting the system with a rogue flash drive, so users after them are exposed01:06
zaltekkdo you mean to prevent the port from having a mitm?01:06
Canadian1296okay, assuming i am the only one who can log in, am i safe? and while we're on the topic of security, if i describe the setup on my mac can i get advice on how to improve it?01:06
qman__dropping a rootkit01:06
qman__no, you're not01:06
qman__while there aren't any publicly available for current versions, there are exploits that merely require plugging in the flash drive and having it be detected to install01:07
zaltekkqman__: assuming they have an exploit that attack the usb stack?01:07
zaltekk*attacks01:07
Canadian1296do they not have to manually mount the usb?01:07
qman__no, just needs to exploit the kernel and then they can do nasty things with the current session01:07
zaltekkCanadian1296: the system interacts with it01:07
zaltekkthink of a specially crafted partition table01:08
Canadian1296okay, so ill rethink that one :)01:08
qman__to prevent this in software, you'd have to disable USB altoegether01:08
zaltekkwhich you could easily do after boot01:08
zaltekksince you don't seem to plan on ever using it again01:08
twbYeah, DSD is .au Defense Signals Department, i.e. SIGINT, not NSA01:08
yann2usb fun http://astr0baby.wordpress.com/2011/01/30/teensy2-0-and-metasploit/  <3 :)01:08
qman__if you lock down USB, then you're reasonably secure01:09
twbqman__: with epoxy resin?01:10
qman__well, and remove the internal hard drive01:10
qman__if an exploit gets loaded on there, all subsequent live sessions could be compromised01:10
Canadian1296okay, so no internal hard drive. and how would i go about disabling usb after boot?01:10
qman__modified kernel, probably01:11
zaltekkrmmod and delete the modules01:11
qman__if you do that, then it would require significant espionage tactics to get anything01:11
qman__freezing and removing the RAM, or very expensive equipment to do stuff over the air01:12
twbBoot a kernel with USB disabled01:12
twbAlso with kernel modules disabled01:12
Canadian1296So basically the only simple solution is no harddrives, and once its booted physically disable the usb ports, thus making the computer useless for future sessions :P01:13
qman__it would bring you to the level where joe random hacker with a flash drive can't do anything01:13
qman__and unless you're CIA or something, that's all you really have to worry about01:14
zaltekkqman__: any idea how the access to live ram works?01:15
twbqman__: well, apart from rubber hoses &c01:15
qman__I've only read about it01:15
twbzaltekk: how do you mean "live ram"?01:15
qman__but basically, get canned air, use improperly to freeze the RAM, hot swap it into a running system01:15
qman__and recover data01:15
zaltekktwb: as in using physical access to be able to get the contents of a stick of ram while the system is running01:15
qman__they did it at some convention, probably defcon01:16
zaltekkyann2: that adurino board looks pretty cool01:17
Canadian1296haha okay thanks for your help guys :) and Im getting to the point where lighting the computer on fire and spreading the ashes in the ocean seems like the most logical solution :P01:17
twbCanadian1296: shooting it into the sun would be safer01:18
qman__the point is, physical security is key01:18
qman__if you can't trust your hardware, you can't trust your software01:18
Canadian1296twb: i assumed so, but theres so much that could go wrong on the way there. Fire always seems to work01:18
=== wedgeV__ is now known as wedgeV
IbysstilTillman32: I highly against the idea of installing an IRCD using apt-get or ubuntu's package manager. You're better off compiling an IRCD in a NON-root user account using default compile settings.02:10
twbIbyss: uh, why?02:11
Ibysstwb: Tends to be outdated.02:12
twbThat's just another way of saying "stable"02:12
twbIf you want to bleed on the edge, LFS and gentoo are <over there>02:13
qman__if you stick with the packaged version, the flaws are going to be either patched, or at least known so you can work around them02:15
qman__latest isn't always greatest02:15
qman__and it'll come from a fairly trustworthy, accountable source if something does go wrong02:16
uvirtbotNew bug: #903008 in samba (main) "System crashes when do mount.cifs" [Undecided,New] https://launchpad.net/bugs/90300802:16
IbyssAnyway. My point = Download from the distributor's website. Installing is easy.     Inspircd in ubuntu's respo is like 1 major version outdated. (many inspircd's stable releases gone by many times already).02:16
Ibyssqman__: This is why you test.02:16
qman__can't test everything02:16
IbyssTillman32: Popular IRCDs being Inspircd, unreal, charybdis, You can see more on here: http://en.wikipedia.org/wiki/Comparison_of_Internet_Relay_Chat_daemons02:18
twbIf this is for an internal office IRCd, I would just use ircd-irc202:19
Tillman32I don't understand why this is being directed t'wards me.02:19
Tillman32I'm using Empathy, and it's perfectly fine for "hovering" IRC channels.02:20
twbUnless you KNOW you need something fancier02:20
IbyssTillman32: I thhought you wanted an IRCD.02:20
twbTillman32: hovering?02:20
kirklandMTecknology: kirkland isn't working for canonical.com anymore ;-)02:20
Tillman32You got the wrong guy.02:20
kirklandMTecknology: I have a copy of that javascript though, I'll put up somewhere else02:20
Tillman32I didn't mention, this is my first 10 minutes ever spent in this IRC.02:20
twbWhat's the turnover rate at canonical anyway?02:20
MTecknologykirkland: oh- guess i been gone a long while02:31
MTecknologykirkland: what ya doing now?02:31
kirklandMTecknology: nah, next week is only my second week at the new gig02:31
kirklandMTecknology: I have blog post tomorrow, but the short/skinny is that I'm working for a new startup on data encryption for the cloud around eCryptfs (company is called Gazzang)02:32
MTecknologykirkland: neat02:32
MTecknologykirkland: I saw the cloud last month! It was about 10,000 ft below me02:32
twbkirkland: where are you now?02:32
kirklandMTecknology: the overly flattering press release is at http://www.marketwatch.com/story/dustin-kirkland-joins-gazzang-as-chief-architect-2011-12-0802:33
twbOh, you said02:33
twbIt sounds like linkedin for OGs :P02:33
kirklandtwb: hi02:33
twb"wazzup homie, hit up this url when you is looking for dogs to roll wit"02:33
kirklandtwb: I've been catching a pretty rough rap from you lately, as I read my backlogs;  I'm getting thrashed for update-motd and byobu on a nightly basis, it seems02:34
kirkland:-)02:34
kirklandtwb: yeah, it's all about search-engine-optimization for startups nowaday02:34
twbWell, at least byobu isn't given to people running "screen" now02:34
twbAt at point I don't care about what byobu does02:34
kirklandtwb: that was a mistake, in retrospect, admittedly02:34
MTecknologyI'm trying to set up a decent network from scratch....02:35
twbif it makes any better I hate on SJR way more02:35
kirklandI'm done with screen, anyway;  it's all about tmux02:35
MTecknologyI'd like to have it all running really cheap on a single server too :)02:35
twbI would like tmux if it did some more screen things02:35
MTecknologyApparently putting a routing device on a VM is a bit of a pain02:35
twbLike, tmux you can either say "guess the title" or "let the title be fred".  You can't have both02:35
MTecknologyhm.. does anyone actually use byobu? (bring your own beer, you)02:36
twbIt gets it out of /proc instead of letting me change it from "emacs" to the buffer name, or whatever02:36
twbMTecknology: kids02:36
twbMTecknology: people who don't already have a .screenrc02:36
MTecknologytwb: my .screenrc is pretty minimal..02:36
MTecknologymaybe i should try it more sometime02:37
kirklandMTecknology: hard for me to say objectively, but my inbox, irc logs, and google alerts are crammed with people raving abou it02:37
kirklandMTecknology: on the other hand...02:37
twbkirkland: good raving or bad raving? ;-)02:37
kirklandMTecknology: there's plenty of sophisticated screen users (erm, twb?) who effing hate it, and do so pretty vocally02:38
kirklandMTecknology: so the new approach has been to try and offend knowledgable users as little as possible02:38
kirklandMTecknology: while still helping those who appreciate a nudge in the right direction02:38
twbThe goal of byobu AIUI is to improve feature discoverability.  Which IMO is a good thing.02:39
MTecknologyi never tried it enough to give it an honest shot... I kinda been sticking with what works since screen was a bitch to get used to and I don't wanna do that again02:39
twbPlenty of people I met are like "OMG, you can have >1 window in screen?!?!"02:39
qman__if only other projects would take that stance02:39
MTecknologybut i guess... i did learn dvorak and it's helped me a huge deal02:39
twbLet alone people who are running minicom in it FFS02:39
MTecknologyterminator -m -b -T irssi -x ssh user@domain.tld -t screen -aAdr -RR irssi irssi02:40
MTecknology:)02:40
twbhttp://cyber.com.au/~twb/.tmux.conf is my tmux rant02:40
kirklandtwb: man, you give the lwn grumpy editor a run for his money02:42
kirkland:-)02:42
twbhttp://cyber.com.au/~twb/doc/grumbling.txt is the properly prepared one02:43
twbcorbet tends to assume people had a good reason; I assume they're just idiots02:43
MTecknologykirkland: so you're a super brilliant guy, right? I should hire you... payment will come in the form of love02:50
kirklandMTecknology: as interesting as the prospect is, my wife will object, I'm afraid02:51
MTecknologyI have a pfsense box that's running on a physical system. I want that system for something else. So.. I want to move the pfsense system into a VM on my VM host system. I guess that means i'll have two interfaces on the physical system that will need to be bridged.02:53
lifelesstwb: thats special - '# So if you want to use parens inside #(), you have to escape... only the closing paren.02:53
lifeless'02:53
twblifeless: yeah, tell me about it02:53
twbSilly openbsd people02:53
MTecknologyI'm a bit lost at how to make my server use the pfsense system that's sitting on top of it, of course if the vm doesn't come up, no networking at all will work02:54
zaltekktwb: lifeless: i think that came along before tmux was included in openbsg03:24
zaltekk*openbsd03:25
twbMTecknology: why on earth are you trying to use a pfsense VM for your firewall03:32
MTecknologytwb: I'm not so much worried about using it as a firewall, it's all the other services on it that i love03:32
MTecknologytwb: I'd like to be able to just give eth0 to the vm and have everything else use eth103:33
twbuhuh03:33
MTecknologytwb: I know it's a bad idea... but I still wanna do it... I'm a bit short on systems laying around03:34
twbAFAICT it's just a router distro, so the only real advantage of using it instead of Ubuntu as your bastion is pf (assuming you prefer pf to netfilter)03:34
MTecknologyit has a really pretty and retardedly simple web interface for people that don't want to think03:35
MTecknologytwb: despite it being a bad idea...... any chance you could help me figure out how to route traffic through the vm?03:36
qman__it's just a convenient ready-made solution, we use untangle at work, same idea03:36
qman__however, I don't think running it in a VM is a good idea03:37
qman__just way too complex03:37
twbI grant you that "router appliance!!1!" is a separate issue from "bastion in a VM"03:37
qman__KISS works best03:37
twbPersonally I think both are stupid but the latter is stupider03:37
MTecknologyI'm also curious how to ever do something like this..03:37
qman__in my opinion, the router has the hardest job and the most demanding requirements, because it is your first line of defense, and if it goes down, everything goes down03:38
qman__I don't trust a VM setup to deal with that03:38
twbqman__: and I don't trust an appliance to do it either :-)03:41
MTecknologyHAHAHA!!03:41
MTecknologySo... apparently I managed to set up the vm so that it took over for my other router03:41
qman__I don't use it for my network, but untangle does have some cool features for the windows based clients we service03:41
MTecknologythe only thing missing was that the thing couldn't get out to the internet03:41
qman__automatic inline antivirus and spyware and whatnot03:41
twbqman__: ah, well, you know what my fix for THAT will be03:42
twbAnyway it's probably just clamav and friends...03:42
qman__the antivirus is, don't know about the phishing and spyware, it's got spam and a list-based web filter too, just makes it really quick to set up03:44
qman__they've got pay-for modules like kaspersky too03:44
qman__but we just use the free stuff03:44
qman__I don't use it on my stuff because my stuff is set up right in the first place03:45
qman__but it's a good bandaid, catch-all tool for those situations03:45
qman__my job is, unfortunately, all about the bandaids and quick fixes03:47
twbMy job is usually to go back and fix it after the bandaid has worn away after being in place for ten years03:49
twbAnd I say "you should do <right thing>" and they say "too bad we can only afford <bandaid>"03:50
MTecknologyWORKING!!!04:05
MTecknologytwb: I still realize that it's a terrible idea to rely on a VM for a firewall, I really only care about the dhcp, dns, ntp, nat, vpn, and static routes, i have a different device that functions as a firewall04:11
qman__that's all fairly trivial to set up in pretty much any distro04:13
MTecknologyqman__: yup- the non-trivial part is making it work as a vm04:14
MTecknologyqman__: that's what i'v been fighting with04:14
qman__don't see the point04:14
qman__run it on the host04:14
MTecknologyI don't like making any server have more than one function, especially on a vm host04:15
qman__except for VPN, that all runs on my router04:16
qman__not sure what you're using for a firewall but if it's not capable of running that stuff, it's probably not a very good firewall either04:17
MTecknologyit's not04:18
MTecknologyit's also a home network04:18
qman__doesn't make it any better/worse an idea04:19
qman__a network's a network04:20
MTecknologyfeel free to donate some hardware...04:21
qman__I've thrown away machines that could do that job sufficiently04:23
qman__if you want to pay shipping I have some pentium IIs, a willy P4, and some other crap that would work too04:25
twbI thought willy made jeeps04:25
zaltekkmy router runs all of that minus vpn04:26
twbI know a guy that still does everything with PIIIs because he's convinced they have epic MIPS/Watt04:26
qman__they are good chips, that's why the core 2 was based on them04:26
qman__but obviously the newer versions are better04:27
twbI'd like some ARM kit aimed at server people rather than stupidly painful end-user appliances04:29
zaltekktwb: ever looked into OpenWRT?04:30
twblike, "oh sorry to replace the bootloader you need to jump through 100 hoops" type bollocks04:30
twbzaltekk: sure, I run it04:30
twbI guess come to think of it I run it on arm these days04:30
zaltekki have it on a MIPS04:32
ipl31Any one see kernel messages with randomly missing characters on 11.10 server kernel?07:10
ipl31and if so any idea what the cause might be07:10
=== gustav is now known as beerbro
uvirtbotNew bug: #901638 in unixodbc (main) "tdsodbc failed to upgrade from Oneiric to Precise" [High,In progress] https://launchpad.net/bugs/90163807:14
=== Guest82058 is now known as onre
=== smb` is now known as smb
koolhead11hi all09:30
zapotahis libvirt interface management somehow broken?11:26
zapotahtrying to conf a bridged interface for a xen hypervisor11:27
zapotahbut it just shows with virt-manager when trying to configure interfaces that libvirt connection does not support interface management11:28
=== Ibyss is now known as Ibyss|Ubuntu
=== BigRedS_1 is now known as BigRedS
mjau^morns!r13:22
mjau^-r13:22
mjau^redhat and suse have chkconfig, but ubuntu doesn't. would anyone happen to know how I can configure in which runlevels certain services should run?13:24
rbasakmjau^: update-rc.d for sysv compatibility, but with upstart look at individual service definitions in /etc/init/13:29
mjau^ah ok13:30
ogra_and read about upstart override files ;)13:31
pmatulisogra_: since 11.10 right?13:32
ogra_iirc, yes13:32
mjau^oh, 10.04 doesn't run upstart?13:32
ogra_might have been 11.04, i'm not sure13:32
ogra_it does but an older version13:32
mjau^ok13:32
pmatulisogra_,mjau^: i meant the override files began in 11.1014:06
pmatulisogra_,mjau^: upstart appeared in 10.0414:07
ogra_pmatulis, upstart appreaed shortly after dapper ...14:11
ogra_but it always ran in sysvinit mode14:12
pmatulisogra_: k, i mean upstart jobs14:24
ogra_right, for that lucid was the first14:24
ogra_though we used to use upstart jobs in ubuntu-mobile before14:24
ogra_in jaunty i think14:24
ogra_its not that the opportunity wasnt there ... just nobody else used it14:25
robbiewutlemming:  ping15:18
utlemmingrobbiew: pong15:18
robbiewutlemming: hey...quick question15:18
utlemmingsure15:18
robbiewany idea what's causing the failures here: https://jenkins.qa.ubuntu.com/view/Precise%20Daily%20ISOs/15:19
robbiewfor precise-server-ec215:19
robbiewis it a REAL failure....test case issue...or AWS?15:19
utlemmingAWS -- jamespage needs an exception for the number of running instances that he's allow to have15:20
robbiewutlemming: that's what I thought :)15:20
robbiewutlemming: so how do we fix this?15:21
robbiewget his account increased?15:21
robbiewor change the test15:22
utlemmingrobbiew: its pretty easy, I'll chat with James15:22
robbiewutlemming: excellent, thanks!15:22
smoserutlemming, https://jenkins.qa.ubuntu.com/view/Precise%20Daily%20ISOs/job/precise-server-ec2/ARCH=i386,REGION=us-west-1,STORAGE=instance-store,TEST=cloud-config,label=ubuntu-server-ec2-testing/lastBuild/artifact/ is a valid failure.15:25
smoseri'm interested in knowing how you would "fix" that15:25
utlemmingI was just looking at that15:25
jamespageutlemming, robbiew: that is now resolved BTW (was using my old account for that run)15:25
utlemmingjamespage: how many is your current limit?15:26
utlemmingand do you need more?15:26
smbsmoser, jamespage What is that actually testing? Just curious as precise is reported to not boot at all on ec2...15:27
uvirtbotNew bug: #902429 in glance (main) "glance 2012.1~e2~20111209.1132-0ubuntu1 fails to install" [Undecided,Fix released] https://launchpad.net/bugs/90242915:27
smosersmb, precise boots fine.15:27
smoserwith the 'idle=halt' work around. that makes everything other than hvm instances boot fine.15:27
smoserhvm is doa, though.15:27
smbsmoser, Oh doh!15:27
smbConfused HVM and PVM then15:28
smoser(bug 881076 and bug 901305)15:28
uvirtbotLaunchpad bug 881076 in linux "precise kernels do not boot on ec2 without idle=halt" [High,Triaged] https://launchpad.net/bugs/88107615:28
uvirtbotLaunchpad bug 901305 in linux "precise fails boot on ec2 hvm" [High,In progress] https://launchpad.net/bugs/90130515:28
smoserjamespage, that does bring up a question though...15:28
smbsmoser, So yes, I am currently on the HVM issue.15:28
smoserwe should probably at least in the "big run" test an hvm instance15:29
jamespagesmoser: yes agreed15:30
jamespagethat needs a change in the framework to support15:30
smoseroh?15:30
smbsmoser, Btw, (just checked) a fix for bug 881076 was upstreamed for 3.2-rc5 and should be included in 3.2.0-4.1015:34
uvirtbotLaunchpad bug 881076 in linux "precise kernels do not boot on ec2 without idle=halt" [High,Triaged] https://launchpad.net/bugs/88107615:34
smosersmb, woot. when is ETA for that to archive ?15:34
Daviey\o/15:35
smbsmoser, rmadison says now15:35
Davieysmb: make sure you leave some content for the meeting! :)15:35
smoser$ cat /proc/version_signature15:36
smoserUbuntu 3.2.0-4.10-virtual 3.2.0-rc515:36
smoserrmadison seems to know its stuff.15:36
caribouQuestion : I know that ubuntu-vm-builder is being phased out, but would it be possible to have a look at a 3 line patch I have ?15:40
smbsmoser, So, theoretically, that should boot without the idlealt15:40
smb*idle=halt15:41
caribouor is is just a waste time15:41
=== nijaba_afk is now known as nijaba
smoserutlemming, https://code.launchpad.net/~smoser/vmbuilder/automated-ec2-builds.revert-lp881076-workaround/+merge/8535215:46
smosersmoser, yes, verified.15:46
stgraberhallyn: looks like adding /dev and /run to our lxc fstab (outside the container) allows us to boot without any change to the container (as far as mounts are concerned)15:48
utlemmingsmoser: merged15:49
smbsmoser, Great. I think we can set the status to actually fix released (at least for the linux package)15:49
stgraberhallyn: only issue is the utmp monitoring code that stops working. My guess is that it's initialized before the container's fstab is used and so doesn't monitor the right file, I'll see if I can easily re-order that bit in the upstream code15:49
hallynstgraber: the reboot patch at this point is tiny.  Perhaps we should ask #ubuntu-kernel to carry it.15:50
smosersmb, yeah.15:50
smosersmb, i'm fine with that...15:51
* smb likes to remove one from the list...15:51
stgraberhallyn: what's the state of the upstream discussions? I seem to remember you mentioning multiple implementations of the patch, do we know what's the preferred one?15:52
hallynhttp://lkml.org/lkml/2011/12/11/11415:53
hallynstgraber: ^ that pretty much has Oleg's buy-in afaiui15:53
stgraberhallyn: looks quit simple indeed. Not sure if we should wait for more upstream feedback or just go with that one for now, then rebase on whatever ends up being in the kernel (if not exactly that one)15:55
hallynme neither - my only concern is that we patch lxc to use that, then have to re-patch to use something different.  But I'm really hopeful that the churn is done.15:57
hallynDaviey: i can haz ipxe+etherboot dput?  plz?15:58
Davieyhallyn: OTP, i will after this..16:00
hallynDaviey: thx16:01
uvirtbotNew bug: #903259 in mysql-5.1 (main) "package mysql-server-5.1 5.1.54-1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/90325916:16
stgraberhallyn: hey, just want to confirm, there isn't a magic mount flag to mount something at a specifc place in the mount stack? As in, I can't say I want my new devtmpfs to be mounted below the devpts mounts we already have?16:24
stgraberhallyn: checking if there isn't a way to just let mountall mount the devtmpfs itself without affecting us. The other option is to have the mountall job move our mountpoints aside and move them back to place once /dev is mounted16:25
stgraber(mounting a devtmpfs from LXC works but causes some error messages later in upstart that'll be tricky to workaround, so having the magic done in the container seems to be a better option)16:26
=== Ursinha is now known as Ursinha-lunch
hallynnod: eh what?16:45
hallynsorry16:45
Davieylynxman: Hey, are you still working on a new upstream snapshot of ipxe?16:50
lynxmanDaviey: yessir, it's actually a bug in upstream :)16:51
lynxmanDaviey: will ping you back with more details16:51
Davieylynxman: are you sure?16:52
lynxmanDaviey: 100% positive, reproduced on source as well, the debian package tries to do a baserom make which is not included by default in the source but it's accepted as an option, that one breaks :)16:52
Davieyahh16:53
lynxmanDaviey: that's the solely reason why the makefile on the original source did work, because they didn't do that make, but it's an extra feature16:53
Davieylynxman: have you done a bisect to find the bad commit?16:53
lynxmanDaviey: it's a bit tricker than that, also my context switching today is rusty, being at Millbank and all :/16:53
Davieyheh16:54
Davieylynxman: "make baserom" breaks it?16:54
lynxmanDaviey: yes16:55
Davieythanks16:57
jamespageRoAkSoAx, is there a nice was to pull the ubuntu release into a preseed/snippet template in cobbler?17:08
hggdhRoAkSoAx: good morning, Q on cobbler and Lucid and cloud-init17:11
smoserRoAkSoAx, 'os_version'17:12
smoserjamespage, and note, i found that by 'sudo cobbler system dumpvars --name <some-system-name>'17:12
smoserand looking at output17:12
smoserso you can use that in context of https://fedorahosted.org/cobbler/wiki/KickstartSnippets17:12
jamespagesmoser: thanks - I knew it got set in import17:14
RoAkSoAxyeah ^^17:21
RoAkSoAxjamespage: though, os-version also gets automatically obtained17:21
wmphello, i need help with mdadm. I have md8 in raid0, but i must change one disc from this volume. Is possible to move all data from sda(broken) to sdb? Sdb have enought space17:22
zulSpamapS: ping where are we in the openstack sru stuff?17:23
jamespagegah - stale iso/kernel17:25
SpamapSzul: TB meets tomorrow, pitti and I agreed that we might as well just wait for that.17:27
zulSpamapS: k17:27
=== dendro-afk is now known as dendrobates
zaltekkcan i not do do-release-upgrade from an LTS release to a non-LTS release?17:46
zaltekkdo i need to just modify sources.list and upgrade manually?17:47
genii-aroundzaltekk: If /etc/update-manager/release-upgrades  contains Prompt=normal  and not Prompt=lts or Prompt=never ... then you should be able to upgrade to the next-up distribution to what you currently have17:49
zaltekkgenii-around: okay, thanks.17:52
zaltekkit's on lts, so i'll move it to normal.17:53
genii-aroundzaltekk: If you upgrade this way, you move from LTS to non-LTS.  Also if you are for instance now on 10.04 , it will take you to 10.10. So then you have to upgrade sequentially through 10.10, 11.04, 11.10.17:56
genii-around( whereas LTS releases can go directly to next LTS )17:56
zaltekkhmm. i may be better off reinstalling 11.10, then.17:56
uvirtbotNew bug: #901180 in vsftpd (main) "cannot apt-get remove vsftp after installing it" [Undecided,New] https://launchpad.net/bugs/90118018:52
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
stgraberhallyn: around?19:31
stgraberhallyn: so after messing with the boot scripts and LXC's config for a while, I guess the easiest way of "fixing" our /dev issues is by adding a tiny bit of logic in mountall19:32
stgraberhallyn: basically telling it never to mount a filesystem that would hide other mountpoints19:32
stgraberhallyn: this should be safe for most use cases (as you generally don't want that to happen anyway) and will make it skip /dev in containers19:33
hallynjdstrand: does precise introduce a change in 'admin' user?19:33
hallynstgraber: sounds sensible i guess19:34
jdstrandhallyn: for 'sudo'? Debian updated sudo to have an equivalent user, called 'sudo'. atm we honor both that and 'admin'19:34
hallynstgraber: i think we just need to let that sink in a bit and think of potential problem cases19:34
stgraberhallyn: I'll spend a bit of time (until the TB meeting) trying to implement the change, if I don't succeed jodh said I can just file a bug and assign it to him :)19:35
hallynjdstrand: i only noticed that my user wasn't getting group libvirtd by default, then noticed there was no admin group.  On a VM created with vm-new19:35
jdstrandhallyn: I think there is a bug on that-- it is open for discussion on whether we are going to honor both or just 'admin'19:35
jdstrandhallyn: yep, that would do it19:35
hallynjdstrand: ok, so i don't need to worry about it right now then?19:35
hallynlong as i don't have to change the libvirt postinst yet, i'm fine :)  thanks19:36
jdstrandI don't think so, no19:36
stgraberhallyn: people with broken /etc/fstab will see a difference in behavior, I guess a warning should be shown (Skipping /dev as it contains mountpoints) in that case19:36
jdstrandhallyn: actually, I don't see a bug open atm-- it might just be mdeslaur, pitti, et al discussing it19:37
=== don is now known as Guest65301
Guest65301I am having trouble setting up wifi on my Dell Inspiron E1505. I installed bcmwl-kernel-source and it made ethernet stop working.19:40
Tophatcan anyone give me a hand setting up basic postfix for use with a relay?19:49
DuvrazhHey, can graphics card drivers be installed on server edition 10.04lts for gnu clients?19:51
erichammondTophat: Try setting "relayhost" in /etc/postfix/main.cf19:51
Tophatthanks erichammond19:52
Duvrazhgpu, not gnu19:52
Guest65301Duvrazh Yeah i think so.19:56
Tophatyup, no idea how to even configure postfix and what things mean in the installer lol.19:58
DuvrazhDoes anyone know if it's possible to install graphics card drivers via cli for ubuntu server 10.04 LTS for the purpose of GPU clients like Folding@Home?19:59
DuvrazhDoes anyone know if it's possible to install graphics card drivers via cli for ubuntu server 10.04 LTS for the purpose of GPU clients like Folding@Home?20:05
chz|baconhey guys anyone here willing to lend me a hand with some mdadm questions?20:15
=== tash-away is now known as tash
=== dendrobates is now known as dendro-afk
pmatulis!ask | chz|bacon20:38
ubottuchz|bacon: Please 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 !patience20:38
chz|baconsorry pmatulis in the midst of trying to figure it out still20:41
chz|baconapparently i can't mount my /dev/md0 device on reboot20:42
chz|baconi'm using the following command sudo mdadm --create --verbose /dev/md0 --level=1 -n2 /dev/sdb /dev/sdc20:43
chz|baconthen i add the output of mdadm --detail --scan to /etc/mdadm/mdadm.conf20:43
=== Ursinha-lunch is now known as Ursinha
pmatulischz|bacon: you should be assembling the array if it exists, not creating it20:44
chz|baconright that's just my original line i used to create it20:45
zastaphthere's gotta be something easier than ESXI and KVM20:47
pmatuliszastaph: what's wrong with KVM?20:48
zastapha very long (and commandline) process to set it up :| https://help.ubuntu.com/community/KVM20:49
zastaphI didn't try Xen yet20:49
zastaphneither OpenVZ20:49
zastaphbut are they any easier?20:49
pmatuliszastaph: i don't see any long command lines on that page20:49
zastaphhow about on https://help.ubuntu.com/community/KVM/CreateGuests under "More complex example"20:50
zastaphI did just sudo ubuntu-vm-builder kvm lucid but forgot the --libvirt, and have no clue how to access it now :)20:50
zastaphor how to delete it.. because it's all hidden deep down below under several man pages20:51
RoyKzastaph: virt-manager20:51
zastaphi want a GUI interface where I can see all my VM's visually :)20:51
RoyKzastaph: virt-manager20:51
pmatuliszastaph: just install the s/w (sudo apt-get install virt-host^), set up your public ssh key so you can log in with SSH, and launch virt-manager.  then create a virtual machine20:51
zastaphRoyK, I don't use Linux from my controlling PC20:51
RoyKzastaph: windows?20:51
zastaphmmm differs a bit.. but sometimes Linux.. Just I would like the controlling interface to be platform independent20:52
RoyKzastaph: if using unix/linux/mac, X should work fine, if on windows, use xming and configure putty accordingly20:52
RoyKzastaph: and the interface will be the same on all client platforms20:52
zastaphI don't know, I have a bad feeling about KVM so far :) I want something as usable as VBox, just for servers20:53
RoyKzastaph: you just got a perfectly good advice that will work with kvm and xen, and you don't even test it?20:53
zastaphputty, xming.. setting up X forwarding.. ouch20:54
zastaphvirt-manager, maybe20:54
RoyKzastaph: setting up x forwarding is not an ouch - it's a single tick box in putty. if that's too hard for you, hire a mickysoft consultant to setup hyper-v20:55
zastaphmmm if you say so20:56
RoyKif you find it hard and troublesome and annoying to setup x forwarding with putty and xming, then perhaps you should be working with other things than computing :þ20:57
zastaphno.. im just a lazy developer who would rather spend time finding the tool that requires the least maintenance/man pages20:58
zaltekkX forwarding won't work just by having putty20:59
zaltekkyou need something to provide a local X server20:59
RoyKI can see that - next time, perhaps you should try to do some tests before whining about things not working20:59
RoyKzastaph: yes, that's where xming comes in20:59
zaltekkso i just moved from 10.04.3 to 11.10(reinstall), and now slim works, but after i login it errors out21:00
zaltekktries to load fglrx(never installed catalyst)21:00
zaltekkI don't have an xorg.conf, so i'm not sure where it would even get the idea of loading fglrx21:00
* RoyK has no idea what fglrx is21:01
zaltekkRoyK: it's the driver from ATI21:02
zaltekkxserver-xorg-video-ati/radeon is what's loaded21:02
zaltekki don't understand why slim works but the wm doesn't.21:02
* RoyK is off (zzz)21:02
Tophatanyone mind giving me a hand on this error from postfix "Cannot open mailbox /var/mail/nagios: Permission denied"22:01
Tophathow do i add permissions to nagios to use mail?22:01
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
hallynTophat: what does 'ls -l /var/mail/nagios' and 'ls -ld /var/mail' show?22:57
=== bitmonk_ is now known as bitmonk
=== dendrobates is now known as dendro-afk
ahs3hallyn: i uploaded the netcf update; no confirmation back yet but i'll keep an eye on it.  thx for the fixes.23:33
hallynahs3: \o/  thanks23:37
Rar9hi can anyone help with installing solr 3.5 on tomcat723:37
ahs3hallyn: np23:37
Rar9tomcat7 is running23:37
=== maxb_ is now known as maxb
=== skrewler_ is now known as skrewler
SpamapSRar9: doesn't SOLR include its own jetty webserver?23:58
Rar9that´s a good question...23:58
Rar9thought that there is a jetty version and/or Tomcat one23:59
SpamapSRar9: that would make sense23:59

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